options menu cleanup

This commit is contained in:
Chris Danford
2005-07-15 02:12:20 +00:00
parent 5dd564cfcc
commit 9e9221609f
+8 -3
View File
@@ -4355,7 +4355,9 @@ Fallback=ScreenMiniMenu
Fallback=ScreenMiniMenu
[ScreenTextEntry]
Fallback=Screen
Class=ScreenTextEntry
Fallback=ScreenWithMenuElements
TimerSeconds=0
QuestionX=SCREEN_CENTER_X
QuestionY=SCREEN_CENTER_Y-150
QuestionOnCommand=wrapwidthpixels,600
@@ -4487,11 +4489,14 @@ CodeNames=
ShowIcon=0
ShowCursor=0
ShowScroller=1
ScrollerX=SCREEN_CENTER_X-250
CursorOnCommand=
ScrollerX=0
ScrollerY=0
ScrollerOnCommand=
ScrollerOffCommand=
ScrollerTransform=function(self,offset,itemIndex,numItems) if itemIndex==numItems-1 then self:y(SCREEN_BOTTOM-100) else if itemIndex>4 then itemIndex = itemIndex-4; self:x(280); end self:y(SCREEN_TOP+100+50*itemIndex) end end
ScrollerTransform=function(self,offset,itemIndex,numItems) self:x(SCREEN_CENTER_X-240); if itemIndex==numItems-1 then self:y(SCREEN_BOTTOM-100) else if itemIndex>4 then itemIndex = itemIndex-4; self:addx(260); end self:y(SCREEN_TOP+100+50*itemIndex) end end
OptionOrderLeft=1:1,2:6,6:2,3:7,7:3,4:8,8:4,5:9,9:5,10:10
OptionOrderRight=1:1,2:6,6:2,3:7,7:3,4:8,8:4,5:9,9:5,10:10