Move helper instance, Helper condtition
This commit is contained in:
parent
d25631caae
commit
9626a7fb2c
13 changed files with 108 additions and 67 deletions
|
|
@ -1322,7 +1322,6 @@
|
|||
; enable helper
|
||||
Var EnableHelperShow = 0
|
||||
;Var FromDrinkOk = 1
|
||||
Var CurrHelpCenter = 0
|
||||
If EnableHelperShow = 1 Then
|
||||
; enable btn_change_langs
|
||||
Var EnableBtnLangWithHelper = 1
|
||||
|
|
@ -1341,10 +1340,14 @@
|
|||
Var FromPaymentCash = "Invisible"
|
||||
Var FromBrewingProcess = "Enable"
|
||||
|
||||
RootLayoutVisible 15 "show"
|
||||
OpenInst 15 "ROOT/taobin_project/inter/tha/xml/topview_helper.lxml"
|
||||
RootLayoutVisible 14 "show"
|
||||
If CurrHelpCenter = 1 Then
|
||||
;do not thing
|
||||
Else
|
||||
OpenInst 14 "ROOT/taobin_project/inter/tha/xml/topview_helper.lxml"
|
||||
EndIf
|
||||
Else
|
||||
RootLayoutVisible 15 "hide"
|
||||
RootLayoutVisible 14 "hide"
|
||||
EndIf
|
||||
Else
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
|
@ -2120,11 +2123,9 @@ PRICE "Reset" "-"
|
|||
|
||||
DEBUGVAR InternationalEnable
|
||||
DEBUGVAR CountryName
|
||||
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
If CurrHelpCenter = 1 Then
|
||||
; do not thing when open the helper
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_board.xml"
|
||||
Else
|
||||
Var BaseOnPageBoard = 0
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
|
@ -2303,7 +2304,7 @@ PRICE "Reset" "-"
|
|||
If CurrHelpCenter = 1 Then
|
||||
;do not thing
|
||||
Else
|
||||
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
OpenInst 14 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -2604,7 +2605,7 @@ PRICE "Reset" "-"
|
|||
Var OpenFromPageBoard = 1
|
||||
|
||||
If CurrHelpCenter = 1 Then
|
||||
; do not thing when open the helper
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_board.xml"
|
||||
Else
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue