THAI: add close button to lipit collect point

This commit is contained in:
Kenta420 2024-03-12 14:19:33 +07:00
parent 5b734a03f6
commit 95eb87e5f0
5 changed files with 21 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -17,6 +17,7 @@
Var PointMaskState = "Invisible"
Var showRandomBtnState = "Invisible"
Var showCloseBtnState = "Enable"
Var CoffeePointStr = CoffeePoint
@ -191,6 +192,7 @@
If PointCount = 10 Then
Var showRandomBtnState = "Enable"
Var showCloseBtnState = "Invisible"
EndIf
Var CurrentPointSlot = newPointIndex + 1
@ -578,6 +580,25 @@
</Button>
<Button>
<X> 610 </X>
<Y> 1660 </Y>
<State> showCloseBtnState </State>
<Filename> Var( DirImage + "/bn_close.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_close.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; goto lid straw
Var CurrentPointCheck = "check"
Var val3 = "X"
AddData 37 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
Var UpdatePoint = 1
</EventClick>
</Button>
;
<Image>