filter file list based on input
Dependencies
- [2]
XJBUCJAGbugfix: skipping files near right margin - [3]
FIUQJVL2first draft of load/save buttons - [4]
SJXIMERStype out a filename to load/save
Change contents
- replacement in 0119-draw_file_dialog at line 15[3.1998]→[3.1998:2035](∅→∅),[3.2035]→[2.46:108](∅→∅),[2.108]→[3.2263:2359](∅→∅),[3.2263]→[3.2263:2359](∅→∅)
local w = App.width(filename) + 10if x ~= Menu_left+10 and x+w > Safe_width-Menu_left-10 thenx = Menu_left+10y = y+Line_height+10if y > Safe_height-Menu_bottom-10 thenbreakif filename:find(File_dialog_input_text) thenlocal w = App.width(filename) + 10if x ~= Menu_left+10 and x+w > Safe_width-Menu_left-10 thenx = Menu_left+10y = y+Line_height+10if y > Safe_height-Menu_bottom-10 thenbreakend - edit in 0119-draw_file_dialog at line 24
styled_button(filename, x,y, function()File_dialog_callback(filename)reset_file_dialog_state()end)x = x+w+10 - edit in 0119-draw_file_dialog at line 30
styled_button(filename, x,y, function()File_dialog_callback(filename)reset_file_dialog_state()end)x = x+w+10