142 lines
3.8 KiB
PHP
142 lines
3.8 KiB
PHP
;
|
|
;
|
|
;
|
|
|
|
; Sub-button for 4 random menu
|
|
|
|
;
|
|
;
|
|
;
|
|
|
|
<Button>
|
|
<X> 43 </X>
|
|
<Y> 519 </Y>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> SubRandMilkButtonEnable </State>
|
|
<Filename> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/myst_milk.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/myst_milk.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/myst_milk.png" </FilenameDisable>
|
|
<EventClick>
|
|
Topping "Load" ProductCodeRandomMilk
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
|
</EventClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 91</X>
|
|
<Y> 635 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> SubRandMilkButtonEnable </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
|
|
<Button>
|
|
<X> 301 </X>
|
|
<Y> 519 </Y>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> SubRandTeaButtonEnable </State>
|
|
<Filename> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/myst_tea.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/myst_tea.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/myst_tea.png" </FilenameDisable>
|
|
<EventClick>
|
|
Topping "Load" ProductCodeRandomTea
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
|
</EventClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 349 </X>
|
|
<Y> 635 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> SubRandTeaButtonEnable </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
|
|
|
|
<Button>
|
|
<X> 43 </X>
|
|
<Y> 837 </Y>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> SubRandCoffButtonEnable </State>
|
|
<Filename> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/myst_coffee.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/myst_coffee.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/myst_coffee.png" </FilenameDisable>
|
|
<EventClick>
|
|
Topping "Load" ProductCodeRandomCoffee
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
|
</EventClick>
|
|
</Button>
|
|
<Text>
|
|
<X> 91</X>
|
|
<Y> 953 </Y>
|
|
<Size> 32 </Size>
|
|
<Width>128</Width>
|
|
<Height>64</Height>
|
|
<Font> MITRegularTTF </Font>
|
|
<Color> 0x5A5A5A </Color>
|
|
<Mode> "disable-show" </Mode>
|
|
<State> SubRandCoffButtonEnable </State>
|
|
<Value> text_unavailable </Value>
|
|
<Align> center-vertical-horizontal </Align>
|
|
</Text>
|
|
|
|
|
|
|
|
; TODO: Change this to random show menus
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
;
|
|
;
|
|
;
|
|
;
|
|
; Big button for mys event
|
|
;
|
|
;
|
|
;
|
|
|
|
<Button>
|
|
<X> 42 </X>
|
|
<Y> 518 </Y>
|
|
<Width> 484 </Width>
|
|
<Height> 618 </Height>
|
|
<State> BigButtonEnable </State>
|
|
<Filename> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/pro_myst_cup.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/pro_myst_cup.png" </FilenamePress>
|
|
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/event/pro_myst_cup/pro_myst_cup.png" </FilenameDisable>
|
|
<EventOnClick>
|
|
###EventOnClick
|
|
</EventOnClick>
|
|
</Button>
|
|
|
|
<EventUnitTest1>
|
|
Var BigButtonEnable = "Enable"
|
|
Refresh
|
|
</EventUnitTest1>
|
|
<EventUnitTest2>
|
|
Var BigButtonEnable = "Invisible"
|
|
Refresh
|
|
</EventUnitTest2>
|