Topping8: Condition for Straw-Lid state
This commit is contained in:
parent
1b63c31e7a
commit
935f226e5a
1 changed files with 50 additions and 13 deletions
|
|
@ -3060,7 +3060,14 @@
|
||||||
Var LidDeactiveButton = "Enable"
|
Var LidDeactiveButton = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
;straw-lid-state-show
|
||||||
|
If ShowLidStraw = "Invisible" Then
|
||||||
|
Var StrawState = "Invisible"
|
||||||
|
Var LidState = "Invisible"
|
||||||
|
Var LidDeactiveButton = "Invisible"
|
||||||
|
Var StrawDeactiveButton = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
If UserSeletedSugar = 0 Then
|
If UserSeletedSugar = 0 Then
|
||||||
|
|
||||||
|
|
@ -4193,6 +4200,7 @@
|
||||||
<Y> 460 </Y>
|
<Y> 460 </Y>
|
||||||
<Width> 350 </Width>
|
<Width> 350 </Width>
|
||||||
<Height> 195 </Height>
|
<Height> 195 </Height>
|
||||||
|
<State> ShowLidStraw </State>
|
||||||
<Filename> Var( DirImageInter + "/bg_strawlid.png" ) </Filename>
|
<Filename> Var( DirImageInter + "/bg_strawlid.png" ) </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
@ -4201,6 +4209,17 @@
|
||||||
<Y> 575 </Y>
|
<Y> 575 </Y>
|
||||||
<Width> 500 </Width>
|
<Width> 500 </Width>
|
||||||
<Height> 72 </Height>
|
<Height> 72 </Height>
|
||||||
|
<State> eval(
|
||||||
|
If ShowLidStraw = "Enable" Then
|
||||||
|
If StrawDeactiveButton = "Enable" Then
|
||||||
|
Var return = "Invisible"
|
||||||
|
Else
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
) </State>
|
||||||
<Language>
|
<Language>
|
||||||
<ID> 002090 </ID>
|
<ID> 002090 </ID>
|
||||||
</Language>
|
</Language>
|
||||||
|
|
@ -4211,6 +4230,17 @@
|
||||||
<Y> 495 </Y>
|
<Y> 495 </Y>
|
||||||
<Width> 500 </Width>
|
<Width> 500 </Width>
|
||||||
<Height> 72 </Height>
|
<Height> 72 </Height>
|
||||||
|
<State> eval(
|
||||||
|
If ShowLidStraw = "Enable" Then
|
||||||
|
If LidDeactiveButton = "Enable" Then
|
||||||
|
Var return = "Invisible"
|
||||||
|
Else
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
) </State>
|
||||||
<Language>
|
<Language>
|
||||||
<ID> 002091 </ID>
|
<ID> 002091 </ID>
|
||||||
</Language>
|
</Language>
|
||||||
|
|
@ -4325,20 +4355,27 @@
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Image>
|
<Text>
|
||||||
<State> LidDeactiveButton </State>
|
<X> 740 </X>
|
||||||
<X> 665 </X>
|
|
||||||
<Y> 480 </Y>
|
|
||||||
<Filename> Var( DirImage + "/text21.png" ) </Filename>
|
|
||||||
</Image>
|
|
||||||
|
|
||||||
<Image>
|
|
||||||
<State> StrawDeactiveButton </State>
|
|
||||||
<X> 665 </X>
|
|
||||||
<Y> 563 </Y>
|
<Y> 563 </Y>
|
||||||
<Filename> Var( DirImage + "/text20.png" ) </Filename>
|
<Width> 200 </Width>
|
||||||
</Image>
|
<Height> 72 </Height>
|
||||||
|
<State> StrawDeactiveButton </State>
|
||||||
|
<Language>
|
||||||
|
<ID> 000090 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 740 </X>
|
||||||
|
<Y> 480 </Y>
|
||||||
|
<Width> 200 </Width>
|
||||||
|
<Height> 72 </Height>
|
||||||
|
<State> LidDeactiveButton </State>
|
||||||
|
<Language>
|
||||||
|
<ID> 000091 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue