diff --git a/image/bn_bestseller.png b/image/bn_bestseller.png new file mode 100644 index 00000000..4ea57713 Binary files /dev/null and b/image/bn_bestseller.png differ diff --git a/image/bn_cho_ca.png b/image/bn_cho_ca.png new file mode 100644 index 00000000..1017155b Binary files /dev/null and b/image/bn_cho_ca.png differ diff --git a/image/bn_coffee.png b/image/bn_coffee.png new file mode 100644 index 00000000..7c61c882 Binary files /dev/null and b/image/bn_coffee.png differ diff --git a/image/bn_fruit.png b/image/bn_fruit.png new file mode 100644 index 00000000..5eb42aee Binary files /dev/null and b/image/bn_fruit.png differ diff --git a/image/bn_sodada.png b/image/bn_sodada.png new file mode 100644 index 00000000..67e95c76 Binary files /dev/null and b/image/bn_sodada.png differ diff --git a/image/bn_tea.png b/image/bn_tea.png new file mode 100644 index 00000000..11094254 Binary files /dev/null and b/image/bn_tea.png differ diff --git a/image/bp_bestseller.png b/image/bp_bestseller.png new file mode 100644 index 00000000..40b388e7 Binary files /dev/null and b/image/bp_bestseller.png differ diff --git a/image/bp_cho_ca.png b/image/bp_cho_ca.png new file mode 100644 index 00000000..ea3e9875 Binary files /dev/null and b/image/bp_cho_ca.png differ diff --git a/image/bp_coffee.png b/image/bp_coffee.png new file mode 100644 index 00000000..ed3593a7 Binary files /dev/null and b/image/bp_coffee.png differ diff --git a/image/bp_fruit.png b/image/bp_fruit.png new file mode 100644 index 00000000..c2ac53d7 Binary files /dev/null and b/image/bp_fruit.png differ diff --git a/image/bp_sodada.png b/image/bp_sodada.png new file mode 100644 index 00000000..e6352424 Binary files /dev/null and b/image/bp_sodada.png differ diff --git a/image/bp_tea.png b/image/bp_tea.png new file mode 100644 index 00000000..a1d51cc8 Binary files /dev/null and b/image/bp_tea.png differ diff --git a/xml/menu_gen_alter.py b/xml/menu_gen_alter.py new file mode 100644 index 00000000..836051f3 --- /dev/null +++ b/xml/menu_gen_alter.py @@ -0,0 +1,106 @@ + if menu_count >= 16: + scroll_height = 1725 + else: + scroll_height = 1400 + + out_xml(' \r\n') + out_xml(' 0 \r\n') + out_xml(' 520 \r\n') + out_xml(' 1080 \r\n') + out_xml(' 1400 \r\n') + out_xml(' "auto" \r\n') + out_xml(' "Vertical" \r\n') + + for i in range( menu_count): + i_str = str(i + 1) + out_xml( '\t; button i='+ i_str + ' ' + product_code[i]+ ' \r\n') + + out_xml( '\r\n') + out_xml('\t 225 \r\n') + out_xml('\t 296 \r\n') + + out_xml( '\t\r\n') + + if RoadShow : + out_xml( '\t\r\n') + out_xml( '\t 164 \r\n') + out_xml( '\t 12 \r\n') + out_xml( '\t200\r\n') + out_xml( '\t 27 \r\n') + out_xml( '\t KanitTTF \r\n') + out_xml( '\t 0xB78F24 \r\n') + out_xml( '\t "Free!" \r\n') + out_xml( '\t\r\n') + else: + out_xml( '\t\r\n') + out_xml( '\t 182 \r\n') + out_xml( '\t 12 \r\n') + out_xml( '\t "Hurr" \r\n') + out_xml( '\t150\r\n') + out_xml( '\t 27 \r\n') + out_xml( '\t KanitTTF \r\n') + out_xml( '\t 0xB78F24 \r\n') + out_xml( '\t $' + product_code[i] + '.Price \r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + out_xml( '\t 164 \r\n') + out_xml( '\t 12 \r\n') + out_xml( '\t20\r\n') + out_xml( '\t 27 \r\n') + out_xml( '\t KanitTTF \r\n') + out_xml( '\t 0xB78F24 \r\n') + out_xml( '\t "฿"" \r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + out_xml( '\t 16 \r\n') + out_xml( '\t 214 \r\n') + out_xml( '\t 26 \r\n') + out_xml( '\t220\r\n') + out_xml( '\t "bound" \r\n') + out_xml( '\t KanitMediumTTF \r\n') + out_xml( '\t 0x322B26 \r\n') + out_xml( '\t $' + product_code[i] + '.Name \r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + out_xml( '\t 16 \r\n') + out_xml( '\t 246 \r\n') + out_xml( '\t 14 \r\n') + out_xml( '\t220\r\n') + out_xml( '\t KanitMediumTTF \r\n') + out_xml( '\t 0x6F5F51 \r\n') + out_xml( '\t $' + product_code[i] + '.description \r\n') + out_xml( '\t\r\n') + + out_xml( '\r\n') + + + out_xml('\r\n')