rename file
This commit is contained in:
parent
01e30d5e45
commit
7278543b84
63 changed files with 0 additions and 0 deletions
181
xml/page_board.xml
Normal file
181
xml/page_board.xml
Normal file
|
|
@ -0,0 +1,181 @@
|
|||
<Page>
|
||||
<X> 0 </X>
|
||||
<Y> 608 </Y>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1312 </Height>
|
||||
<Background> "0xEFEDEA" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
TopView "hide"
|
||||
; On open
|
||||
Var menu_back_to_main = "ROOT/taobin_project/xml/menu_back_to_main.xml"
|
||||
|
||||
Var charOfBaht = "฿"
|
||||
Var KanitTTF = "ROOT/taobin_project/font/Kanit/Kanit-Light.ttf"
|
||||
Var KanitMediaTTF = "ROOT/taobin_project/font/Kanit/Kanit-Medium.ttf"
|
||||
|
||||
Var RobotoBold = "ROOT/taobin_project/font/Roboto/Roboto-Bold.ttf"
|
||||
Var RobotoBlack = "ROOT/taobin_project/font/Roboto/Roboto-Black.ttf"
|
||||
|
||||
Var KanitMediumTTF = "ROOT/taobin_project/font/Kanit/Kanit-Regular.ttf"
|
||||
Var KanitRegularTTF = "ROOT/taobin_project/font/Kanit/Kanit-Regular.ttf"
|
||||
Var KanitThinTTF = "ROOT/taobin_project/font/Kanit/Kanit-Thin.ttf"
|
||||
Var KanitLightTTF = "ROOT/taobin_project/font/Kanit/Kanit-Light.ttf"
|
||||
|
||||
Var KanitSemiBoldTTF = "ROOT/taobin_project/font/Kanit/Kanit-Medium.ttf"
|
||||
|
||||
Var countClick = 0
|
||||
|
||||
Var RoadShow = "true"
|
||||
Var IgnorePoint = "true"
|
||||
|
||||
Var CountDownShowButton = 30
|
||||
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 800 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var CountDownShowButton = CountDownShowButton - 1
|
||||
|
||||
|
||||
SAVELOG CountDownShowButton
|
||||
SAVELOG ShowButtonClickFull
|
||||
|
||||
If CountDownShowButton = 28 Then
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
Var ShowButtonClick = "Invisible"
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
If CountDownShowButton = 10 Then
|
||||
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventEnd>
|
||||
SAVELOG ShowButtonClick
|
||||
Var CountDownShowButton = 30
|
||||
Refresh
|
||||
</EventEnd>
|
||||
|
||||
|
||||
<EventNetDown>
|
||||
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
</EventNetDown>
|
||||
<EventNetDeactive>
|
||||
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
</EventNetDeactive>
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/video/main_page.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 1860 </Y>
|
||||
<Width> 200 </Width>
|
||||
<Height> 50 </Height>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var countClick = countClick + 1
|
||||
If countClick = 3 Then
|
||||
|
||||
EndIf
|
||||
|
||||
If countClick = 5 Then
|
||||
Var countClick = 0
|
||||
MainMenu
|
||||
EndIf
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1481 </Y>
|
||||
<State> ShowButtonClick </State>
|
||||
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_start.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/menu_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menu_catalog.xml"
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/menu_main_blank.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1695 </Y>
|
||||
<State> ShowButtonClick </State>
|
||||
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_member.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/menu_board.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 556 </X>
|
||||
<Y> 1695 </Y>
|
||||
<State> ShowButtonClick </State>
|
||||
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_topup.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/xml/service_menu.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 2 </X>
|
||||
<Y> 2 </Y>
|
||||
<State> ShowButtonClickFull </State>
|
||||
<Width> 1070 </Width>
|
||||
<Height> 1200 </Height>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/menu_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menu_catalog.xml"
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/menu_main_blank.xml"
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1886 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1080</Width>
|
||||
<Align> Center </Align>
|
||||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> countClick </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
</Page>
|
||||
Loading…
Add table
Add a link
Reference in a new issue