New layout

This commit is contained in:
kong 2022-10-11 13:28:43 +07:00
parent 8304e81f8d
commit f18511b8e4
117 changed files with 902 additions and 22202 deletions

View file

@ -513,8 +513,8 @@
Var block_index_override = 0
Var block_index_move = 0
</Script>
; menu_new_list 16
; ==================> Len = 8
; menu_new_list 15
; ==================> Len = 16
; - 12-04-02-0001 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -761,7 +761,8 @@ Matcha, & Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0016 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1008,7 +1009,8 @@ Matcha, & Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0002 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1255,7 +1257,8 @@ Cocoa, & Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0003 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1504,7 +1507,8 @@ Strawberry Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0013 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1753,7 +1757,8 @@ Strawberry Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0018 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2001,7 +2006,8 @@ Melon Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0004 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2248,7 +2254,8 @@ Melon Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0005 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2495,7 +2502,8 @@ Thai Tea, & Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0015 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2742,7 +2750,8 @@ Thai Tea, & Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0006 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -2991,255 +3000,8 @@ Kokuto syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - 12-04-02-0007 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-04-02-0007.Button,$Sum1204020007) </State>
<Button>
<State> $Sum1204020007 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_protein_Blueberry.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_Blueberry.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_Blueberry.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "BLUEBERRY SHAKE"
Var NameDrinkTH = "บลูเบอร์รี่โปรตีน"
Var DrinkDescriptionTH = "เวย์โปรตีน นม น้ำเชื่อมบลูเบอร์รี่"
Var DrinkDescription = "Whey protein, Blueberry Syrup & Milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_Blueberry.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-04-02-0007.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-04-02-0007"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-04-02-0007.Button
Var PD_STAGE_3 = "Disable2"
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-04-02-0007"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-04-02-0007.NameE
Var menu_desc_eng_cold = $12-04-02-0007.descriptionE
Var menu_name_thai_cold = $12-04-02-0007.Name
Var menu_desc_thai_cold = $12-04-02-0007.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Open "ROOT/taobin_project/xml/page_topping_select4.xml"
</EventOnClick>
</Button>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "บลูเบอร์รี่โปรตีน" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "เวย์โปรตีน นม
น้ำเชื่อมบลูเบอร์รี่" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 164 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "BLUEBERRY SHAKE" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Whey protein,
Blueberry Syrup & Milk" </Value>
</Text>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
</Image>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
<Text>
<X> 50 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> $12-04-02-0007.Button </State>
</Image>
<Text>
<X> 115 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-04-02-0007.Button </State>
<Value> Var( "฿" + $12-04-02-0007.Price ) </Value>
</Text>
<Image>
<X> 146 </X>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
</Image>
<Text>
<X> 183 </X>
<Y> 265 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> Var( "฿" + $-.Price ) </Value>
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
EndIf
Var return = ice_tab_process_show
)
</State>
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
</Image>
<Image>
<X> 49 </X>
<Y> 117 </Y>
<State>
eval(
If $Sum1204020007 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-04-02-0007.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag2_is_disable = "true" Then
Var return = "Enable"
EndIf
If tag3_is_disable = "true" Then
Var return = "Enable"
EndIf
Else
Var return = "Invisible"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
</Image>
<Text>
<X> 84 </X>
<Y> 266 </Y>
<Size> 10 </Size>
<Font> OpunMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> ice_tab_process_show </State>
<Value> ice_show_open </Value>
</Text>
<Text>
<X> 48 </X>
<Y> 116 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1204020007 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0008 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3488,7 +3250,8 @@ Taiwanese Tea, Sugar" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0017 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3737,7 +3500,8 @@ Taiwanese Tea, Sugar" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0009 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3985,7 +3749,8 @@ Caramel Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0010 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -4231,7 +3996,8 @@ Caramel Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 8
; - - -
; ==================> Len = 16
; - 12-04-02-0011 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -4477,6 +4243,7 @@ Caramel Syrup" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
</FrameScroll>
; Cart
<Button>