Helper: Switch to using images instead

This commit is contained in:
Ittipat Lusuk 2025-05-21 15:52:52 +07:00
parent d0faa5361c
commit 1829feede7
5 changed files with 29 additions and 73 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -111,8 +111,15 @@
RefreshAll
</EventLanguageOnChange>
;include="ROOT/taobin_project/inc/video.inc"
<Image>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Filename> "ROOT/taobin_project/image/page_help_center/bg_empty.png" </Filename>
</Image>
;include="ROOT/taobin_project/inc/video.inc"
; back
<Button>

View file

@ -94,6 +94,14 @@
RefreshAll
</EventLanguageOnChange>
<Image>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Filename> "ROOT/taobin_project/image/page_help_center/bg_empty.png" </Filename>
</Image>
;include="ROOT/taobin_project/inc/video.inc"
; back

View file

@ -45,6 +45,14 @@
<EventActionOk>
</EventActionOk>
<Image>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Filename> "ROOT/taobin_project/image/page_help_center/bg_empty.png" </Filename>
</Image>
;include="ROOT/taobin_project/inc/video.inc"
;<Video>

View file

@ -24,9 +24,6 @@
Var img_press_main_page = "ROOT/taobin_project/image/main_page/bp_main_page_start.png"
; next button always Enble
Var ShowButtonMainClick = "Enable"
Var img_rest_main_page = ""
Var MemberButtonFileNameRest = ""
Var img_reset_topup = ""
@ -2065,25 +2062,7 @@ PRICE "Reset" "-"
If TaobinOnlineX = "true" Then
If CountDownShowButton = 31 Then
If EnableHelperShow = 1 Then
If CurrHelpCenter = 1 Then
Var ShowButtonMainClick = "Invisible"
Var ShowButtonClickFull = "Invisible"
Var ShowButtonClick = "Invisible"
Var ShowButtonClick2 = "Invisible"
Var ButtontoTopupMenu = "Invisible"
Else
Var ShowButtonMainClick = "Enable"
Var ShowButtonClickFull = "Enable"
EndIf
Else
Var ShowButtonMainClick = "Enable"
Var ShowButtonClickFull = "Enable"
EndIf
Var ShowButtonClickFull = "Enable"
Var ShowButtonClick = "Invisible"
If UsePepsiTheme = 1 Then
@ -2097,18 +2076,8 @@ PRICE "Reset" "-"
EndIf
If InternationalEnable = 1 Then
If CountryName = "Thailand" Then
If EnableHelperShow = 1 Then
If CurrHelpCenter = 1 Then
Var ShowButtonClick = "Invisible"
Else
Var ShowButtonClick = "Enable"
Var ShowButtonMainClick = "Enable"
EndIf
Else
Var ShowButtonMainClick = "Enable"
Var ShowButtonClick = "Enable"
Var ShowButtonClickFull = "Enble"
EndIf
Var ShowButtonClick = "Enable"
Var ShowButtonClickFull = "Enable"
EndIf
EndIf
@ -2117,25 +2086,7 @@ PRICE "Reset" "-"
If CountDownShowButton = 3 Then
If EnableHelperShow = 1 Then
If CurrHelpCenter = 1 Then
Var ShowButtonMainClick = "Invisible"
Var ShowButtonClickFull = "Invisible"
Var ShowButtonClick = "Invisible"
Var ShowButtonClick2 = "Invisible"
Var ButtontoTopupMenu = "Invisible"
Else
Var ShowButtonMainClick = "Enable"
Var ShowButtonClick = "Enable"
EndIf
Else
Var ShowButtonClick = "Enable"
Var ShowButtonMainClick = "Enable"
EndIf
Var ShowButtonClick = "Enable"
Var ShowButtonClickFull = "Invisible"
If UsePepsiTheme = 1 Then
@ -2151,24 +2102,6 @@ PRICE "Reset" "-"
Refresh
EndIf
DEBUGVAR CurrHelpCenter
; after close helper enable clickfull
If EnableHelperShow = 1 Then
If CurrHelpCenter = 0 Then
If CountDownShowButton < 32 Then
If CountDownShowButton < 3 Then
Var ShowButtonClickFull = "Invisible"
Var ShowButtonClick = "Enable"
Var ShowButtonMainClick = "Enable"
Else
Var ShowButtonClickFull = "Enable"
Var ShowButtonClick = "Invisible"
Var ShowButtonMainClick = "Enable"
EndIf
EndIf
EndIf
EndIf
If CountDownPauseVideo > 0 Then
DEBUGVAR CountDownPauseVideo
; ignore
@ -2734,7 +2667,7 @@ PRICE "Reset" "-"
<Button>
<X> 0 </X>
<Y> 608 </Y>
<State> ShowButtonMainClick </State>
<State> "Enable" </State>
<Width> 120 </Width>
<Height> 120 </Height>
<EventClick>