Adjust menu tab can show all menu

This commit is contained in:
wanlop run 2025-04-18 23:20:13 +07:00
parent 4671368f18
commit dfa3717c22
75 changed files with 3067 additions and 11 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -18,6 +18,7 @@
000011 Kid Menu เมนูเด็ก 儿童菜单 - Kid Menu ကလေးမီနူး
000012 App Fast แอพ ฟาสท์ - - App Fast အက်ပ် အမြန်
000025 Pepsi & 7up เป๊ปซี่ และ\nเซเว่นอัพ Pepsi & 7up - - Pepsi & 7up
000026 Tao Pun เต่าปั่น Tao Pun Tao Pun Tao Pun Tao Pun
Menu
Font=Kanit,Type=Regular,Size=16,Color=0x5A5A5A,Align=center-vertical-horizontal Font=Kanit,Type=Regular,Size=32,Color=0x5A5A5A,Align=center-vertical-horizontal Font=Kanit,Type=Regular,Size=16,Color=0x5A5A5A,Align=center-vertical-horizontal Font=Kanit,Type=Regular,Size=16,Color=0x5A5A5A,Align=center-vertical-horizontal Font=Kanit,Type=Regular,Size=16,Color=0x5A5A5A,Align=center-vertical-horizontal
000013 UNAVAILABLE หมด 暂无供应 UNAVAILABLE မရရှိနိုင်ပါ။

Can't render this file because it has a wrong number of fields in line 21.

View file

@ -61,7 +61,14 @@ OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_pepsi_7up.lxml" "
Var InstanceTabOpenFile8 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
Var InstanceTabOpenFile8 = InstanceTabOpenFile8 + "/page_catalog_group_pepsi_7up.lxml"
Var InstanceTabOpenFile9 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_frozen_fruit.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/frozenfruilt.ev"
Var InstanceTabOpenFile9 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
Var InstanceTabOpenFile9 = InstanceTabOpenFile9 + "/page_catalog_group_frozen_fruit.lxml"
Var InstanceTabOpenFile10 = "ROOT/taobin_project/inter/tha/xml/multi/tab_menu.lxml"

View file

@ -0,0 +1,3 @@
SAVELOG "Call Frozen fruilt"
TabMenuVisibleInst 9
Var RedirectTo = "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/page_instance2.xml"

View file

@ -66,7 +66,9 @@
; SpiralOnline
Var Menu0Selected = "Invisible"
Var MenuVSelected2 = "Invisible"
Var Menu1Selected2 = "Invisible"
@ -100,6 +102,15 @@
Var MenuVSelected2 = "Enable"
EndIf
EndIf
DEBUGVAR SpiralModeFrozenFruit
DEBUGVAR MenuVSelected2
DEBUGVAR Menu0Selected
If SpiralModeFrozenFruit = 1 Then
Var MenuVSelected2 = "Invisible"
Var Menu0Selected = "Enable"
EndIf
EndIf
; init default

View file

@ -57,7 +57,7 @@
Var LanguageButtonEnable = "Enable"
Var ButtonLanguageCurrentXPosition = 1005
Var ButtonLanguageCurrentXPosition = 1009
Var ButtonLanguageCurrentYPosition = 458 - 38
Var ButtonLanguageListXPosition = 970
@ -69,6 +69,8 @@
RefreshAll
Script "-" "-"
Var Timeout = 0
</EventLanguageOnChange>
@ -91,7 +93,7 @@
; back
<Button>
<X> 19 </X>
<X> 0 </X>
<Y> 381 </Y>
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>

View file

@ -66,6 +66,10 @@
CoinVending OFF
Var ButtonFrozenSmoothie = "Invisible"
If SpiralModeFrozenFruit = 1 Then
Var ButtonFrozenSmoothie = "Enable"
EndIf
; Clear value
Topping "clear" "-"
@ -554,6 +558,13 @@
Var ColumnOverride[0] = 3
EndIf
If ButtonFrozenSmoothie = "Invisible" Then
Var ColumnOverride[0] = 2
Else
Var ColumnOverride[0] = 3
Var ButtonSpiralStage = "Invisible"
EndIf
Var ColumnOverride[1] = 3
Var ColumnOverride[2] = 3
Var ColumnOverride[3] = 3
@ -564,6 +575,38 @@
Var ColumnGravity[3] = 2
</Script>
<Block>
<Width> 296 </Width>
<Height> 344 </Height>
<MarginLeft> 42 </MarginLeft>
<State> ButtonFrozenSmoothie </State>
; menu row 1
<Button>
<Filename> Var(DirImage + "/bn_frozen_smoothie.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_frozen_smoothie.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var MultiProcess = "Invisible"
TabMenuVisibleInst 9
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/page_instance2.xml"
</EventClick>
<Language>
<ID> 000026 </ID>
<X> 28 </X>
<Y> 202 </Y>
<Width> 241 </Width>
<Height> 72 </Height>
</Language>
</Button>
</Block>
<Block>
<Width> 296 </Width>
<Height> 344 </Height>

View file

@ -7,13 +7,13 @@
If LanguageShow = "ENG" Then
Var show_eng = "true"
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_v2_en/"
EndIf
If LanguageShow = "THAI" Then
Var show_eng = "false"
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_v2/"
EndIf
If LanguageShow = "MYANMAR" Then
Var show_eng = "true"
@ -38,7 +38,11 @@
If SpiralOnline = "true" Then
If Seeker = "curr" Then
Var MenuVSelected2 = "Enable"
EndIf
If SpiralModeFrozenFruit = 1 Then
Var MenuVSelected2 = "Invisible"
EndIf
EndIf
</EventOpen>
@ -58,8 +62,24 @@
<Y> 395 </Y>
<Row2>
<State>"Enable"</State>
<Width> 896 </Width>
<Width> 1080 </Width>
<Height> 102 </Height>
<Button>
<Layout> "linear" </Layout>
<State> Menu0Selected </State>
<Filename> Var( DirImageAlter + "/bn_tao_pun.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_tao_pun.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
TabMenuVisibleInst 9
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/page_instance2.xml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu1Selected </State>

View file

@ -7,17 +7,46 @@
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
Var Menu0Selected = "PressForever"
Var Timeout = 0
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_show_and_refresh.lxml"
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
SetInstanceIgnoreTouch
RefreshAll
DEBUGVAR SlientRefreshIndex
</EventOpen>
<EventOnShow>
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
Var Menu0Selected = "PressForever"
RootLayoutVisible 12 "show"
Var Timeout = 0
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_show_and_refresh.lxml"
SetInstanceIgnoreTouch
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
RefreshAll
DEBUGVAR SlientRefreshIndex
</EventOnShow>
<Timeout> 1000 </Timeout>
<EventTimeout>

View file

@ -9,17 +9,46 @@
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
Var Menu0Selected = "PressForever"
Var Timeout = 0
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_show_and_refresh.lxml"
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
SetInstanceIgnoreTouch
RefreshAll
DEBUGVAR SlientRefreshIndex
</EventOpen>
<EventOnShow>
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
Var Menu0Selected = "PressForever"
RootLayoutVisible 12 "show"
Var Timeout = 0
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_show_and_refresh.lxml"
SetInstanceIgnoreTouch
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
RefreshAll
DEBUGVAR SlientRefreshIndex
</EventOnShow>
<Timeout> 1000 </Timeout>
<EventTimeout>

View file

@ -0,0 +1,42 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
Var Timeout = 0
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
SetInstanceIgnoreTouch
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/ForProGroup.inc"
TimerReset
</EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new.lxml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -1276,6 +1276,19 @@ Name=PepsiXTaobin,file=page_catalog_group_pro_pepsi_x_taobin.skt
เป๊ปซี่บ๊วย Pepsi Plum เป๊ปซี่ บ๊วย โซดา Pepsi, Ume & Ice - 12-05-02-0104 12-05-03-0104 bn_PEPSI_PLUM.png - - - posi1 - - - -
เป๊ปซี่น้ำแข็ง Pepsi เป๊ปซี่ Pepsi & Ice - 12-05-02-0007 12-05-03-0007 bn_iced_pepsi.png - - - posi1 - - - - - #REF! #REF! #REF! #REF!
เป๊ปซี่โซดา Pepsi เป๊ปซี่ โซดา และน้ำแข็ง Pepsi, Soda And Ice - 12-05-02-0094 12-05-03-0094 bn_iced_pepsi.png - - - posi1 - - - - - #REF! #REF! #REF! #REF!
Name=BoostEnergy,file=page_catalog_group_pro_boost_energy.skt
เต่าทรงพลัง Tao Power Drink เครื่องดื่มเต่าทรงพลัง น้ำและน้ำแข็ง /n(มีคาเฟอีน) MEDICINE DRINK, WATER, ICE - 12-05-02-0034 12-05-03-0034 bn_iced_energy_drink.png - - - posi1 - - - -
เต่าทรงพลังโซดา Tao Power Drink Soda เครื่องดื่มเต่าทรงพลัง โซดาและน้ำแข็ง /n(มีคาเฟอีน) MEDICINE DRINK, SODA, ICE - 12-05-02-0035 12-05-03-0035 bn_iced_energy_drink_soda.png - - - posi1 - - - -
เต่าทรงพลังสตรอเบอรีโซดา Tao Power Drink Strawberry Soda เครื่องดื่มเต่าทรงพลัง สตรอเบอรี่ และโซดา /n(มีคาเฟอีน) MEDICINE DRINK, STRAWBERRY, SODA - 12-05-02-0136 12-05-03-0136 bn_iced_energy_drink_Strawberry_soda.png - - - posi1 - - - -
เต่าทรงพลังบ๊วยโซดา Tao Power Drink Ume Soda เครื่องดื่มเต่าทรงพลัง บ๊วย และโซดา /n(มีคาเฟอีน) MEDICINE DRINK, UME, SODA - 12-05-02-0137 12-05-03-0137 bn_iced_energy_drink_plum_soda.png - - - posi1 - - - -
เต่าทรงพลังลิ้นจี่โซดา Tao Power Drink Lychee Soda เครื่องดื่มเต่าทรงพลัง ลิ้นจี่ และโซดา /n(มีคาเฟอีน) MEDICINE DRINK, LYCHEE, SODA - 12-05-02-0138 12-05-03-0138 bn_iced_energy_drink_Lychee_soda.png - - - posi1 - - - -
เต่าทรงพลังมะนาวโซดา Tao Power Drink Lime Soda เครื่องดื่มเต่าทรงพลัง มะนาว และโซดา /n(มีคาเฟอีน) MEDICINE DRINK, LIME POWDER, SODA - 12-05-02-0139 12-05-03-0139 bn_iced_energy_drink_lime_soda.png - - - posi1 - - - -
เต่าทรงพลังคาราเมลโซดา Tao Power Drink Caramel Soda เครื่องดื่มเต่าทรงพลัง คาราเมล และโซดา /n(มีคาเฟอีน) MEDICINE DRINK, CARAMEL, SODA - 12-05-02-0140 12-05-03-0140 bn_iced_energy_drink_caramel_soda.png - - - posi1 - - - -
เต่าทรงพลังสละโซดา Tao Power Drink Salak Soda เครื่องดื่มเต่าทรงพลัง น้ำแดงกลิ่นสละ และโซดา /n(มีคาเฟอีน) MEDICINE DRINK, SALAK, SODA - 12-05-02-0141 12-05-03-0141 bn_iced_energy_drink_salak_soda.png - - - posi1 - - - -
เต่าทรงพลัง (เพิ่มปริมาณ) Tao Power Drink Extra เครื่องดื่มเต่าทรงพลัง น้ำและน้ำแข็ง /n(มีคาเฟอีน) MEDICINE DRINK, WATER, ICE - 12-05-02-0142 12-05-03-0142 bn_iced_energy_drink_Extra.png - - - posi1 - - - -
เต่าพลังโซดา (เพิ่มปริมาณ) Tao Power Drink Soda Extra เครื่องดื่มเต่าทรงพลัง โซดาและน้ำแข็ง /n(มีคาเฟอีน) MEDICINE DRINK, SODA, ICE - 12-05-02-0143 12-05-03-0143 bn_iced_energy_drink_soda_Extra.png - - - posi1 - - - -
เป๊ปซี่ทรอปิคอล Pepsi Tropical เป๊ปซี่ เครื่องดื่มเต่าทรงพลัง มะพร้าว/n(มีคาเฟอีน) Pepsi Medicine Drink Coconut Soda - 12-05-02-0148 - bn_Pepsi_Tropical.png - - - posi1 - - - -

Can't render this file because it has a wrong number of fields in line 3.

View file

@ -18,6 +18,7 @@
000011 Kid Menu เมนูเด็ก 儿童菜单 - Kid Menu ကလေးမီနူး
000012 App Fast แอพ ฟาสท์ - - App Fast အက်ပ် အမြန်
000025 Pepsi & 7up เป๊ปซี่ และ\nเซเว่นอัพ Pepsi & 7up - - Pepsi & 7up
000026 Tao Pun เต่าปั่น Tao Pun Tao Pun Tao Pun Tao Pun
Menu
Font=Kanit,Type=Regular,Size=16,Color=0x5A5A5A,Align=center-vertical-horizontal Font=Kanit,Type=Regular,Size=32,Color=0x5A5A5A,Align=center-vertical-horizontal Font=Kanit,Type=Regular,Size=16,Color=0x5A5A5A,Align=center-vertical-horizontal Font=Kanit,Type=Regular,Size=16,Color=0x5A5A5A,Align=center-vertical-horizontal Font=Kanit,Type=Regular,Size=16,Color=0x5A5A5A,Align=center-vertical-horizontal
000013 UNAVAILABLE หมด 暂无供应 UNAVAILABLE မရရှိနိုင်ပါ။

Can't render this file because it has a wrong number of fields in line 21.

View file

@ -1315,6 +1315,7 @@
If BoxID = 123456 Then
Var SpiralOnline = "true"
Var SpiralModeFrozenFruit = 1
Var InternationalShow = 1
EndIf
; test payment

View file

@ -0,0 +1,36 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff