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"
|
||||
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
|
||||
|
||||
|
|
@ -4193,6 +4200,7 @@
|
|||
<Y> 460 </Y>
|
||||
<Width> 350 </Width>
|
||||
<Height> 195 </Height>
|
||||
<State> ShowLidStraw </State>
|
||||
<Filename> Var( DirImageInter + "/bg_strawlid.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
|
|
@ -4201,6 +4209,17 @@
|
|||
<Y> 575 </Y>
|
||||
<Width> 500 </Width>
|
||||
<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>
|
||||
<ID> 002090 </ID>
|
||||
</Language>
|
||||
|
|
@ -4211,6 +4230,17 @@
|
|||
<Y> 495 </Y>
|
||||
<Width> 500 </Width>
|
||||
<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>
|
||||
<ID> 002091 </ID>
|
||||
</Language>
|
||||
|
|
@ -4325,20 +4355,27 @@
|
|||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<State> LidDeactiveButton </State>
|
||||
<X> 665 </X>
|
||||
<Y> 480 </Y>
|
||||
<Filename> Var( DirImage + "/text21.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<State> StrawDeactiveButton </State>
|
||||
<X> 665 </X>
|
||||
<Text>
|
||||
<X> 740 </X>
|
||||
<Y> 563 </Y>
|
||||
<Filename> Var( DirImage + "/text20.png" ) </Filename>
|
||||
</Image>
|
||||
<Width> 200 </Width>
|
||||
<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