SGP: change theme in page payment

This commit is contained in:
Pakin 2024-08-13 11:19:43 +07:00
parent e12d844dd5
commit 9986e9a167
25 changed files with 12489 additions and 5750 deletions

View file

@ -828,7 +828,7 @@
Var show_eng = "true"
Var img_press_main_page = "ROOT/taobin_project/image/main_page_en/bp_main_page_start.png"
Var VideoMainPage = "ROOT/taobin_project/inter/sgp/video/video_main_wtc.mp4"
Var ShowNetworkProblemText = "Network error. Payment Cash only."
@ -886,6 +886,7 @@
DEBUGVAR ShowButtonClick2
Var UsePepsiTheme = 1
Var TargetThemeNum = 2
EndIf
@ -1141,7 +1142,12 @@
;Var img_rest_main_page = MainStartPepsiThemeDir + "bn_main_page_start.png"
Var img_press_main_page = MainStartPepsiThemeDir + "bp_main_page_start.png"
Var VideoMainPage = "ROOT/taobin_project/inter/sgp/video/video_main_wtc.mp4"
EndIf
Else
; default-theme
TRY "ROOT/taobin_project/inter/whatthecup/default_color_settings.ev"
EndIf
XMLSaveFileNameForResume 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"

View file

@ -2,7 +2,7 @@
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Background> BackgroundColor </Background>
<EventOpen>
; On open
;world-class
@ -511,7 +511,7 @@
<Align> Center </Align>
<Size> 66 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<Color> HeadlineColor </Color>
<Value> showname </Value>
</Text>
@ -523,7 +523,7 @@
<Align> Center </Align>
<Size> 24 </Size>
<Font> KanitLightTTF </Font>
<Color> 0x6F5F51 </Color>
<Color> SubHeadlineColor </Color>
<Value> showdesc </Value>
</Text>

View file

@ -7,6 +7,12 @@
<Sound> PlaySoundLag </Sound>
<EventOpen>
If UsePepsiTheme = 1 Then
Open "ROOT/taobin_project/inter/whatthecup/sgp/xml/page_payment_cash-SGP_blue.xml"
EndIf
READ_FILE "/mnt/sdcard/coffeevending/sim_on" str_sim_on
DEBUGVAR str_sim_on
@ -1790,7 +1796,7 @@ EndIf
<Align> Center </Align>
<Size> 72 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0xB78F24 </Color>
<Color> PopupBodyTextColor </Color>
<Value> showRemaining </Value>
</Text>
@ -1803,7 +1809,7 @@ EndIf
<Align> Center </Align>
<Size> 66 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<Color> HeadlineColor </Color>
<Value> showname </Value>
</Text>
@ -1814,7 +1820,7 @@ EndIf
<Align> Center </Align>
<Size> 24 </Size>
<Font> KanitLightTTF </Font>
<Color> 0x6F5F51 </Color>
<Color> SubHeadlineColor </Color>
<Value> showdesc </Value>
</Text>

View file

@ -2,7 +2,7 @@
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Background> BackgroundColor </Background>
<Volume> SoundVolume </Volume>
<Sound> PlaySoundLag </Sound>
<EventOpen>
@ -2771,7 +2771,7 @@
<Align> Center </Align>
<Size> 72 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0xB78F24 </Color>
<Color> PopupBodyTextColor </Color>
<Value> showRemaining </Value>
</Text>
@ -2784,7 +2784,7 @@
<Align> Center </Align>
<Size> 72 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<Color> HeadlineColor </Color>
<Value> showname </Value>
</Text>
@ -2795,7 +2795,7 @@
<Align> Center </Align>
<Size> 24 </Size>
<Font> KanitLightTTF </Font>
<Color> 0x6F5F51 </Color>
<Color> SubHeadlineColor </Color>
<Value> showdesc </Value>
</Text>

View file

@ -25,7 +25,7 @@
EndIf
If StrCountryShort = "SGP" Then
;Open "ROOT/taobin_project/inter/sgp/xml/page_remove_cup.lxml"
Open "ROOT/taobin_project/inter/sgp/xml/page_remove_cup.lxml"
EndIf