AUS: Update payment button
This commit is contained in:
parent
0c547ff5c6
commit
0881ad65fc
9 changed files with 95 additions and 99 deletions
|
|
@ -980,39 +980,39 @@
|
|||
</EventClick>
|
||||
</Button>
|
||||
|
||||
;<Button>
|
||||
;<X> 548 </X>
|
||||
;<Y> 1752 </Y>
|
||||
;<State> redeemButtonState </State>
|
||||
;<Filename> Var( DirImage + "/redeem_btn.png" )</Filename>
|
||||
;<FilenamePress> Var( DirImage + "/redeem_btn_pressed.png" )</FilenamePress>
|
||||
;<FilenameDisable> Var( DirImage + "/redeem_btn_disable.png" ) </FilenameDisable>
|
||||
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
;<Volume> SoundVolume </Volume>
|
||||
;<EventClick>
|
||||
; ; goto lid straw
|
||||
;
|
||||
; If CoffeePoint >= 10 Then
|
||||
; Var RedeemType = "1_dollar"
|
||||
; EndIf
|
||||
;
|
||||
; If CoffeePoint >= 20 Then
|
||||
; Var RedeemType = "2_dollar"
|
||||
; EndIf
|
||||
;
|
||||
; If CoffeePoint >= 30 Then
|
||||
; Var RedeemType = "get_free"
|
||||
; EndIf
|
||||
;
|
||||
; DEBUGVAR RedeemType
|
||||
;
|
||||
; If RedeemType = "" Then
|
||||
; Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
; Else
|
||||
; Open "ROOT/taobin_project/inter/aus/xml/page_collect_point_redeem.lxml"
|
||||
; EndIf
|
||||
;</EventClick>
|
||||
;</Button>
|
||||
<Button>
|
||||
<X> 548 </X>
|
||||
<Y> 1752 </Y>
|
||||
<State> redeemButtonState </State>
|
||||
<Filename> Var( DirImage + "/redeem_btn.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/redeem_btn_pressed.png" )</FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/redeem_btn_disable.png" ) </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
If CoffeePoint >= 10 Then
|
||||
Var RedeemType = "1_dollar"
|
||||
EndIf
|
||||
|
||||
If CoffeePoint >= 20 Then
|
||||
Var RedeemType = "2_dollar"
|
||||
EndIf
|
||||
|
||||
If CoffeePoint >= 30 Then
|
||||
Var RedeemType = "get_free"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR RedeemType
|
||||
|
||||
If RedeemType = "" Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/inter/aus/xml/page_collect_point_redeem.lxml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -261,7 +261,6 @@
|
|||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 778 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "/bn_fatzebra.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage2 + "/bp_fatzebra.png" ) </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage2 + "/bd_fatzebra.png" ) </FilenameDisable>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue