DO new menu
This commit is contained in:
parent
f413b5dea1
commit
71d0cc99ba
56 changed files with 3881 additions and 919 deletions
|
|
@ -7,6 +7,7 @@
|
|||
<EventOpen>
|
||||
Var y_topping_bg = 912
|
||||
|
||||
WEB "DISABLE"
|
||||
DEBUGVAR Seeker
|
||||
|
||||
DEBUGVAR video_menu_0
|
||||
|
|
@ -165,6 +166,22 @@
|
|||
|
||||
Var NEW_MULTI = "Invisible"
|
||||
|
||||
|
||||
|
||||
If new_layout = "true" Then
|
||||
|
||||
Var show_select_type = "Enable"
|
||||
Else
|
||||
Var show_select_type = "Invisible"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR show_select_type
|
||||
DEBUGVAR PriceD1
|
||||
DEBUGVAR PriceD2
|
||||
DEBUGVAR PriceD3
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -366,24 +383,28 @@
|
|||
|
||||
;STRCONTAIN "Smoothie" SubMenuName11 HaveSmoothie
|
||||
STRCONTAIN "Smoothie" MenuCodeName HaveSmoothie
|
||||
If HaveSmoothie = "true" Then
|
||||
Var blendedState = "Enable"
|
||||
Var blendedStateShow = "Enable"
|
||||
If show_select_type = "Invisible" Then
|
||||
If HaveSmoothie = "true" Then
|
||||
Var blendedState = "Enable"
|
||||
Var blendedStateShow = "Enable"
|
||||
|
||||
Var PriceDiff = SubMenuPrice1 - PriceDrinkNoTop
|
||||
|
||||
DEBUGVAR IsSmoRet
|
||||
Var PriceDiff = SubMenuPrice1 - PriceDrinkNoTop
|
||||
|
||||
DEBUGVAR IsSmoRet
|
||||
|
||||
If IsSmoRet = "true" Then
|
||||
Var blendedState = "ForceSet"
|
||||
Var blendedStateTxt = "Enable"
|
||||
Topping "LoadSubMenu" SubMenuProductCode1
|
||||
Function 1
|
||||
Else
|
||||
Var blendedStateTxt = "Invisible"
|
||||
|
||||
EndIf
|
||||
If IsSmoRet = "true" Then
|
||||
Var blendedState = "ForceSet"
|
||||
Var blendedStateTxt = "Enable"
|
||||
Topping "LoadSubMenu" SubMenuProductCode1
|
||||
Function 1
|
||||
Else
|
||||
Var blendedStateTxt = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
Else
|
||||
Var blendedStateShow = "Invisible"
|
||||
EndIf
|
||||
|
||||
If IgnoreLidStraw = "true" Then
|
||||
|
|
@ -832,6 +853,82 @@
|
|||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 1 </Column>
|
||||
|
||||
<Block>
|
||||
|
||||
; show_select_type
|
||||
<Width> 986 </Width>
|
||||
<Height> 160 </Height>
|
||||
<MarginTop> 20 </MarginTop>
|
||||
<State> show_select_type </State>
|
||||
|
||||
<Image>
|
||||
<Filename> Var( DirImage + "/drink_select_type.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 456 </X>
|
||||
<Y> 72 </Y>
|
||||
<State> "Enable" </Stage>
|
||||
<Filename> Var( DirImage + "/bt_hot.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bt_hot_selected.png" ) </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bt_hot_disable.png" ) </FilenameDisable>
|
||||
<FilenameForce> Var( DirImage + "/bt_hot_selected.png" ) </FilenameForce>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
SAVELOG "Press hot"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 614 </X>
|
||||
<Y> 72 </Y>
|
||||
<State> "Enable" </Stage>
|
||||
<Filename> Var( DirImage + "/bt_cold.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bt_cold_selected.png" ) </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bt_cold_disable.png" ) </FilenameDisable>
|
||||
<FilenameForce> Var( DirImage + "/bt_cold_selected.png" ) </FilenameForce>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
SAVELOG "Press cold"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 772 </X>
|
||||
<Y> 72 </Y>
|
||||
<State> "Enable" </Stage>
|
||||
<Mode> "No" </Mode>
|
||||
<Animation>
|
||||
<Style> "shake-text" </Style>
|
||||
<OnEvent> "OnValueChange" </OnEvent>
|
||||
</Animation>
|
||||
<Filename> Var( DirImage + "/bt_smoothie.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bt_smoothie_selected.png" ) </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bt_smoothie_disable.png" ) </FilenameDisable>
|
||||
<FilenameForce> Var( DirImage + "/bt_smoothie_selected.png" ) </FilenameForce>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
SAVELOG "Press cold"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
</Block>
|
||||
|
||||
|
||||
|
||||
<Block>
|
||||
|
||||
|
|
@ -1673,6 +1770,16 @@
|
|||
Topping "Pack" ExtendData
|
||||
Else
|
||||
Topping "SetNextOrder" UserSelectProductCode
|
||||
|
||||
|
||||
Topping "__select" UserSelectProductCode
|
||||
; Set option toppinng and pack
|
||||
Topping "__select1-id" topping1
|
||||
Topping "__select2-id" topping2
|
||||
Topping "__select3-id" topping3
|
||||
; Pack
|
||||
Topping "__pack" ExtendData
|
||||
|
||||
EndIf
|
||||
|
||||
Var Seeker.PictureDrink = PictureDrink
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue