Doing smoothies page

This commit is contained in:
wanlop run 2025-04-06 22:58:09 +07:00
parent c624f208f9
commit f02028d22a
10 changed files with 348 additions and 9 deletions

View file

@ -202,6 +202,12 @@ If ConfigNumer >= 1763 Then
Var ToppingNewUINewSystemStep2 = 1
EndIf
If BoxID = 123456 Then
Var SmoothieMode= "Enable"
Else
Var SmoothieMode = "Invisible"
EndIf
DEBUGVAR SmoothieMode
; override again

View file

@ -0,0 +1,8 @@
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
TopView "show"
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"

View file

@ -122,7 +122,7 @@
EndIf
If FirstTimeOpenFile = "" Then
;Var Not#CountDownForMulti = 5
;Var Not#CountDownForMulti = 2
Var FirstTimeOpenFile = "done"
EndIf

View file

@ -25,8 +25,9 @@
Var info_13Y = 1090
Var info_14Y = 1160
Var info_15Y = 1230
Var info_cancel_y = info_14Y + 50
Var info_cancel_y = info_15Y + 50
Var info_text_startX = info_startX + 22
@ -46,6 +47,7 @@
Var info_text_13Y = info_13Y + 18
Var info_text_14Y = info_14Y + 18
Var info_text_15Y = info_15Y + 18
Var info2_startX = 550
@ -173,7 +175,7 @@
DEBUGVAR TestArrary[2]
DEBUGVAR TestArrary[3]
DEBUGVAR SmoothieMode
</EventOpen>
@ -996,6 +998,32 @@
<Image>
<X> info1_startX </X>
<Y> info_14Y </Y>
<State> SmoothieMode</State>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
<EventClick>
;include="ROOT/taobin_project/xml/open_file_instance0_to_instance2.inc"
OpenInst 2 "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
</EventClick>
</Image>
<Text>
<X> info1_text_startX </X>
<Y> info_text_14Y </Y>
<Size> 30 </Size>
<State> SmoothieMode</State>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> " Smoothie menu." </Value>
</Text>
<Button>
<X> 431 </X>
<Y> info_cancel_y </Y>