Add image
This commit is contained in:
parent
8acb8a305a
commit
8042dec754
11 changed files with 96 additions and 5 deletions
BIN
campaign3/page_catalog.mp4
Executable file
BIN
campaign3/page_catalog.mp4
Executable file
Binary file not shown.
BIN
campaign3/page_catalog_menu.mp4
Executable file
BIN
campaign3/page_catalog_menu.mp4
Executable file
Binary file not shown.
BIN
campaign3/page_main.mp4
Executable file
BIN
campaign3/page_main.mp4
Executable file
Binary file not shown.
BIN
image/page_drink/bn_Mango_milk.png
Normal file
BIN
image/page_drink/bn_Mango_milk.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.8 KiB |
BIN
image/page_drink_disable/bn_Mango_milk.png
Normal file
BIN
image/page_drink_disable/bn_Mango_milk.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
BIN
image/page_drink_press/bn_Mango_milk.png
Normal file
BIN
image/page_drink_press/bn_Mango_milk.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.6 KiB |
BIN
image/page_drink_select/bn_Mango_milk.png
Normal file
BIN
image/page_drink_select/bn_Mango_milk.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
|
|
@ -11,7 +11,7 @@
|
|||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/topview_button_back_main.xml"
|
||||
Var FileNumber = 1
|
||||
|
||||
Var taobin_version = "1.32"
|
||||
Var taobin_version = "1.45"
|
||||
; 1.00 is
|
||||
|
||||
; On open
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
product_code.append('12-03-02-0006')
|
||||
product_code.append('12-03-02-0005')
|
||||
#product_code.append('12-03-02-0002')
|
||||
|
||||
product_code.append('12-03-02-0007')
|
||||
|
||||
menu_count = len( product_code)
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1284,6 +1284,99 @@
|
|||
<State> showengText </State>
|
||||
<Value> $12-03-02-0005.descriptionE </Value>
|
||||
</Text>
|
||||
</Block>
|
||||
; button i=12 12-03-02-0007
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $12-03-02-0007.Button </State>
|
||||
<Button>
|
||||
<State> $12-03-02-0007.Button </State>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-03-02-0007.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-03-02-0007.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-03-02-0007.image ) " </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var SelectDrink = $12-03-02-0007.Self
|
||||
Var NameDrink = $12-03-02-0007.NameE
|
||||
Var NameDrinkTH = $12-03-02-0007.Name
|
||||
Var DrinkDescriptionTH = $12-03-02-0007.description
|
||||
Var DrinkDescription = $12-03-02-0007.descriptionE
|
||||
Var PriceDrink = $12-03-02-0007.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-03-02-0007.image
|
||||
Topping "Load" SelectDrink
|
||||
SAVELOG NameDrink
|
||||
Var PriceShowValue = charOfBaht + PriceDrink
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 182 </X>
|
||||
<Y> 12 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Align> "Hurr" </Align>
|
||||
<Width>150</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> $12-03-02-0007.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 164 </X>
|
||||
<Y> 12 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Width>20</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> "฿"" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 190 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $12-03-02-0007.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 246 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $12-03-02-0007.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 190 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $12-03-02-0007.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 246 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $12-03-02-0007.descriptionE </Value>
|
||||
</Text>
|
||||
</Block>
|
||||
</FrameScroll>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,10 +7,8 @@
|
|||
|
||||
product_code = []
|
||||
product_code.append('12-05-02-0007')
|
||||
#product_code.append('11-99-02-0052')
|
||||
product_code.append('12-05-02-0021')
|
||||
#product_code.append('11-99-02-0045')
|
||||
#product_code.append('11-99-02-0046')
|
||||
product_code.append('12-05-02-0035')
|
||||
product_code.append('12-05-02-0010')
|
||||
product_code.append('12-05-02-0011')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue