Do topping alternate

This commit is contained in:
Wanlop 2020-09-28 18:29:11 +07:00
parent f6c9fd63f6
commit 6cfb3d9d9a
15 changed files with 975 additions and 392 deletions

View file

@ -35,15 +35,15 @@
out_xml( '\t\tVar PictureDrink = "' + default_dir2 + '/' + bt_pic[i].replace('#','n') + '"\r\n')
out_xml( '\t\tTopping "Load" SelectDrink\r\n')
out_xml( '\t\tSAVELOG NameDrink\r\n')
#out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
out_xml( '\t\tVar PriceShowValue = "Free"r\n')
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
#out_xml( '\t\tVar PriceShowValue = "Free"\r\n')
out_xml( '\t\tOpen "ROOT/taobin_project/xml/menu_topping_alter.xml"\r\n')
out_xml( '\t</EventOnClick>\r\n')
out_xml( '\t</Button>\r\n')
for i in range( menu_count):
if True :
if False :
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> ' + str(x_button[i] + 164) + ' </X>\r\n')
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
@ -55,6 +55,7 @@
out_xml( '\t</Text>\r\n')
out_xml( '\t<Text>\r\n')
else:
out_xml( '\t<Text>\r\n')
out_xml( '\t<X> ' + str(x_button[i] + 182) + ' </X>\r\n')
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
out_xml( '\t<Align> "Hurr" </Align>\r\n')