Topping8: Add shotCoffeePremium, Update langs

This commit is contained in:
Ittipat Lusuk 2025-06-19 16:43:01 +07:00
parent 50a7c52321
commit 50e4027059
2 changed files with 1880 additions and 1481 deletions

File diff suppressed because it is too large Load diff

View file

@ -10809,6 +10809,136 @@
</ListView1>
</Block>
<Block>
<State> ShotCoffeePremium </State>
<Width> 1080 </Width>
<Height> "auto" </Height>
<MarginTop> 20 </MarginTop>
<ListView1>
<Width> 986 </Width>
<Height> "auto" </Height>
<Align> "vertical"</Align>
<State> ShotCoffeePremium </State>
<Row1>
<Width> 986 </Width>
<Height> 72 </Height>
<State> ShotCoffeePremium </State>
<Image>
<Filename> Var( DirImageInter + "/bg_top_custom_special.png" ) </Filename>
</Image>
<Text>
<X> 40 </X>
<Y> 10 </Y>
<Width> 1000 </Width>
<Height> 70 </Height>
<Language>
<ID> 000064 </ID>
</Language>
</Text>
</Row1>
<Row1>
<Width> 986 </Width>
<Height> "auto" </Height>
<State> ShotCoffeePremium </State>
<Image>
<X> 0 </X>
<Y> 0 </Y>
<Filename> Var( DirImageInter + "/bg_special_topping.png") </Filename>
</Image>
<Text>
<X> 120 </X>
<Y> 0 </Y>
<Width> 700 </Width>
<Height> 72 </Height>
<Language>
<ID> 000102 </ID>
</Language>
</Text>
<Button>
<X> 40 </X>
<Y> 5 </Y>
<State> ShotCoffeePremium </State>
<Mode> "No" </Mode>
<Filename> "ROOT/taobin_project/image/topping2/bn_add_shot2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/topping2/bp_add_shot2.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
SAVELOG "premium shot press"
If ShotCoffeePremium = "Press" Then
Var ShotCoffeePremium = "Enable"
Else
Var ShotCoffeePremium = "Press"
EndIf
Function 2
Refresh
</EventClick>
</Button>
;
<Button>
<X> 896 </X>
<Y> 14 </Y>
<State> ShotCoffeePremium </State>
<Mode> "No" </Mode>
<Filename> Var( DirImage + "/cb_notcheck.png" ) </Filename>
<FilenamePress> Var( DirImage + "/cb_checked.png" ) </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
SAVELOG "premium shot press"
If ShotCoffeePremium = "Press" Then
Var ShotCoffeePremium = "Enable"
Else
Var ShotCoffeePremium = "Press"
EndIf
Function 2
Refresh
</EventClick>
</Button>
<Text>
<X> 833 </X>
<Y> 26 </Y>
<Font> KanitRegularTTF </Font>
<State> ShotCoffeePremium </State>
<Size> 16 </Size>
<Color> 0x84776F </Color>
<Value> text_price_topping </Value>
</Text>
</Row1>
<Row1>
<State> "Enable" </State>
<Width> 986 </Width>
<Height> 27 </Height>
<Y> -5 </Y>
<Image>
<State> ShotCoffeePremium </State>
<Filename> "ROOT/taobin_project/image/topping2/bg_bottom.png" </Filename>
</Image>
</Row1>
</ListView1>
</Block>