THAI INTER: Smoothie, Help center
This commit is contained in:
parent
aaeb2fa8bc
commit
f9fea323bc
76 changed files with 3713 additions and 117 deletions
|
|
@ -177,6 +177,69 @@
|
|||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventLanguageOnChange>
|
||||
DEBUGVAR LanguageShow
|
||||
DEBUGVAR InternationalEnable
|
||||
|
||||
SAVELOG "EventLanguageOnChange menu -list"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
EndIf
|
||||
If CountryName = "HongKong" Then
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
Var LanguageButtonEnable = "Invisible"
|
||||
Var BtnLangToggleIndex = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var LanguageButtonEnable = "Invisible"
|
||||
Var show_eng_button_stage = "Enable"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "ENG" Then
|
||||
Var showname_max_size = 58
|
||||
Var warning_image_x = 220
|
||||
Var warning_image_y = 1333
|
||||
Var warning_text_x = 20
|
||||
Var warning_text_y = 1312
|
||||
Var text_payment_next_x = 132
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "THAI" Then
|
||||
Var showname_max_size = 68
|
||||
Var warning_image_x = 335
|
||||
Var warning_image_y = 1333
|
||||
Var warning_text_x = 20
|
||||
Var warning_text_y = 1312
|
||||
Var text_payment_next_x = 142
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
Var showname_max_size = 68
|
||||
Var warning_image_x = 350
|
||||
Var warning_image_y = 1333
|
||||
Var warning_text_x = 20
|
||||
Var warning_text_y = 1312
|
||||
Var text_payment_next_x = 142
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var showname_max_size = 68
|
||||
Var warning_image_x = 300
|
||||
Var warning_image_y = 1333
|
||||
Var warning_text_x = 10
|
||||
Var warning_text_y = 1312
|
||||
Var text_payment_next_x = 142
|
||||
EndIf
|
||||
|
||||
;OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_frozen_fruit_select.lxml"
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RefreshAll
|
||||
</EventLanguageOnChange>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
|
|
@ -266,7 +329,7 @@
|
|||
; same
|
||||
<Image>
|
||||
<X> 374 </X>
|
||||
<Y> 382 </Y>
|
||||
<Y> 752 </Y>
|
||||
<Width> 331 </Width>
|
||||
<Height> 436 </Height>
|
||||
<Filename> PictureDrink </Filename>
|
||||
|
|
@ -291,27 +354,58 @@
|
|||
; Text head
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 752 </Y>
|
||||
<Y> 602 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 68 </Size>
|
||||
<MaxSize> showname_max_size </MaxSize>
|
||||
<Size> Auto </Size>
|
||||
<MaxLine> 2 </MaxLine>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> showname </Value>
|
||||
</Text>
|
||||
; same
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 836 </Y>
|
||||
<Y> 1082 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 24 </Size>
|
||||
<Font> KanitLightTTF </Font>
|
||||
<Size> 68 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0xEE8C62 </Color>
|
||||
<Value> text_price_d3 </Value>
|
||||
</Text>
|
||||
|
||||
; same
|
||||
<Text>
|
||||
<X> 25 </X>
|
||||
<Y> 1232 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 32 </Size>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<Value> showdesc </Value>
|
||||
</Text>
|
||||
|
||||
; warning time
|
||||
<Image>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<X> warning_image_x </X>
|
||||
<Y> warning_image_y </Y>
|
||||
<Filename> "ROOT/taobin_project/image/topping_inter/time.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<X> warning_text_x </X>
|
||||
<Y> warning_text_y </Y>
|
||||
<Language>
|
||||
<X> 0 </X>
|
||||
<Y> 19 </Y>
|
||||
<ID> 002290 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
|
@ -324,33 +418,6 @@
|
|||
|
||||
|
||||
|
||||
; back
|
||||
<Button>
|
||||
<X> 44 </X>
|
||||
<Y> 1785 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/topping_inter/bn_cancel.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping_inter/bp_cancel.png"</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If Seeker = "next" Then
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
<Language>
|
||||
<X> 53 </X>
|
||||
<Y> 16 </Y>
|
||||
<Width> 120 </Width>
|
||||
<Height> 42 </Height>
|
||||
<ID> 000074 </ID>
|
||||
</Language>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
|
@ -437,10 +504,10 @@
|
|||
|
||||
; next
|
||||
<Button>
|
||||
<X> 673 </X>
|
||||
<Y> 1785 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/topping_inter/bn_next.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping_inter/bp_next.png" </FilenamePress>
|
||||
<X> 350 </X>
|
||||
<Y> 1422 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/topping_inter/bn_next2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping_inter/bp_next2.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
|
|
@ -637,8 +704,11 @@
|
|||
|
||||
Else
|
||||
If SelectDrinkType = 1 Then
|
||||
Var SmoothieToPayment = 1
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||
Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||
;Open "ROOT/taobin_project/spiral/xml/page_spiral_payment.xml"
|
||||
Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||
;Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -669,12 +739,17 @@
|
|||
|
||||
|
||||
</EventClick>
|
||||
<Language>
|
||||
<X> 64 </X>
|
||||
<Y> 19 </Y>
|
||||
<ID> 000073 </ID>
|
||||
</Language>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 420 </X>
|
||||
<Y> 1442 </Y>
|
||||
<Width> 250 </Width>
|
||||
<Height> 75 </Height>
|
||||
<Language>
|
||||
<ID> 002291 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -990,5 +1065,8 @@
|
|||
|
||||
|
||||
;
|
||||
<EventUnitTest1>
|
||||
OpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||
</EventUnitTest1>
|
||||
|
||||
</Page>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue