Add RefreshPartial Mode

This commit is contained in:
kong 2020-11-16 22:44:13 +07:00
parent 53f54b912e
commit 2d14cc375a
7 changed files with 41 additions and 43 deletions

View file

@ -74,6 +74,23 @@
Var topping1 = toppingID1Default
Refresh
EndIf
If show_eng = "true" Then
;Var DirImage = "ROOT/taobin_project/image/page2_en/page2"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var showname = NameDrink
Var showdesc = DrinkDescription
Else
;Var DirImage = "ROOT/taobin_project/image/page2"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
Var showname = NameDrinkTH
Var showdesc = DrinkDescriptionTH
EndIf
CRLFToSpace showname
</EventOpen>
<Timeout> 30000 </Timeout>
@ -220,7 +237,7 @@
<Size> 72 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<Value> NameDrink </Value>
<Value> showname </Value>
</Text>
<Text>
@ -231,7 +248,7 @@
<Size> 24 </Size>
<Font> KanitLightTTF </Font>
<Color> 0x6F5F51 </Color>
<Value> DrinkDescription </Value>
<Value> showdesc </Value>
</Text>