update water menu

This commit is contained in:
Kenta420 2023-11-22 17:49:18 +07:00
parent 0007a5a626
commit 1b35efe1bb
9 changed files with 153 additions and 94 deletions

View file

@ -624,6 +624,10 @@
DEBUGVAR SubMenuGroupIDSlot6_1
If PD_CODE2 = "12-05-02-0016" Then
Var cold_button_state = "Invisible"
Var normal_button_state = "PressForever"
EndIf
; i f Hot menu disable away
If hot_button_state = "PressForever" Then
@ -1557,6 +1561,61 @@
</Language>
</Button>
<Button>
<X> 594 </X>
<Y> 72 </Y>
<State> normal_button_state </State>
<Mode> "No" </Mode>
<Filename> "ROOT/taobin_project/image/topping_inter/bt_cold_no.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/topping_inter/bt_cold_selected_no.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/topping_inter/bt_cold_disable_no.png" </FilenameDisable>
<FilenameDisable2> "ROOT/taobin_project/image/topping_inter/bt_cold_disable2_no.png" </FilenameDisable2>
<FilenameForce> "ROOT/taobin_project/image/topping_inter/bt_cold_selected_no.png" </FilenameForce>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var SelectDrinkType = 1
SAVELOG "Press cold"
Var normal_button_state = "PressForever"
If hot_button_state = "Disable" Then
Else
If hot_button_state = "Disable2" Then
Else
Var hot_button_state = "Enable"
EndIf
EndIf
If blend_button_state = "Disable" Then
Else
If blend_button_state = "Disable2" Then
Else
Var blend_button_state = "Enable"
EndIf
EndIf
Var BugFlag = 0
Var topping_price_refresh = 0
Topping "Load" PD_CODE2
Var IndexDrinktType = 1
</EventClick>
<Language>
<X> 40 </X>
<Y> 8 </Y>
<Width> 60 </Width>
<Height> 42 </Height>
<ID> 000084 </ID>
</Language>
</Button>
<Button>