Enable overlayMode

This commit is contained in:
wanlop run 2024-01-08 12:47:36 +07:00
parent 1144cdff62
commit 9ed09388b6
46 changed files with 2869 additions and 37 deletions

View file

@ -171,7 +171,7 @@
out_xml( '\t<FilenamePress> "' + new_default_dir_press + '/'+ menu_img +'" </FilenamePress>\r\n')
out_xml( '\t<FilenameDisable> "' + new_default_dir_disable + '/'+ menu_img +'" </FilenameDisable>\r\n')
if len( spl) > 99:
if len( spl) > 11:
if spl[4] != '-':
out_xml( '\t<OverlayImage> xmlpro( '+spl[4]+', "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_'+ spl[11] +'.png") </OverlayImage>\r\n')
menu_xml_var = 'xmlpro( '+spl[4]+', "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_'+ spl[11] +'.png")'
@ -688,7 +688,7 @@
out_xml( '\t<FilenameDisable> "' + new_default_dir_disable + '/'+ menu_img +'" </FilenameDisable>\r\n')
out_xml( '\t<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
out_xml( '\t<Volume> SoundVolume </Volume>\r\n')
if len( spl) > 99:
if len( spl) > 11:
if spl[8] != '-':
out_xml( '\t<OverlayImage> xmlpro( '+spl[8]+', "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_'+ spl[11] +'.png") </OverlayImage>\r\n')
menu_xml_var = 'xmlpro( '+spl[8]+', "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_'+ spl[11] +'.png")'