THAI: add close button to lipit collect point
This commit is contained in:
parent
5b734a03f6
commit
95eb87e5f0
5 changed files with 21 additions and 0 deletions
BIN
image/event/lipit/display_point/bn_close.png
Normal file
BIN
image/event/lipit/display_point/bn_close.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/event/lipit/display_point/bp_close.png
Normal file
BIN
image/event/lipit/display_point/bp_close.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/event/lipit/display_point_en/bn_close.png
Normal file
BIN
image/event/lipit/display_point_en/bn_close.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
BIN
image/event/lipit/display_point_en/bp_close.png
Normal file
BIN
image/event/lipit/display_point_en/bp_close.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
Var PointMaskState = "Invisible"
|
Var PointMaskState = "Invisible"
|
||||||
Var showRandomBtnState = "Invisible"
|
Var showRandomBtnState = "Invisible"
|
||||||
|
Var showCloseBtnState = "Enable"
|
||||||
|
|
||||||
Var CoffeePointStr = CoffeePoint
|
Var CoffeePointStr = CoffeePoint
|
||||||
|
|
||||||
|
|
@ -191,6 +192,7 @@
|
||||||
|
|
||||||
If PointCount = 10 Then
|
If PointCount = 10 Then
|
||||||
Var showRandomBtnState = "Enable"
|
Var showRandomBtnState = "Enable"
|
||||||
|
Var showCloseBtnState = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var CurrentPointSlot = newPointIndex + 1
|
Var CurrentPointSlot = newPointIndex + 1
|
||||||
|
|
@ -578,6 +580,25 @@
|
||||||
</Button>
|
</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>
|
<Image>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue