indicate local modifications in load/save dialog
Dependencies
- [2]
Q3EQI5LIsome keyboard shortcuts on non-mobile devices - [3]
2IJLEJGTindicate local modifications in editor title bar - [4]
SIJ5I4NZextract a helper for buttons - [5]
FIUQJVL2first draft of load/save buttons - [6]
PO77NPCOindicate unsaved changes - [7]
XJBUCJAGbugfix: skipping files near right margin - [8]
6ARK6HWFbugfix: avoid overflowing 'delete' button in some situations - [9]
W4EQ6IW4simplify state management for menus - [10]
W3RRTO4Pextract a second helper for buttons - [11]
AZMYKWMHresolve conflicts - [12]
7QVNDHPEfilter file list based on input - [13]
LGIEVJE6activate buttons for some time - [*]
R5QXEHUIsomebody stop me - [*]
5RUFNRJOstart of the visual skeleton
Change contents
- file addition: 0181-local_modifications_color[15.2]
local_modifications_color = function(filename)return has_local_modifications(filename) and Local_modifications_colorend - file addition: 0180-Local_modifications_color[15.2]
Local_modifications_color = {r=0.8, g=0, b=0} - replacement in 0124-styled_button at line 1
styled_button = function(name, x, y, onpress1, tooltip_text)styled_button = function(name, x, y, onpress1, tooltip_text, fg) - replacement in 0124-styled_button at line 8
App.color(Normal_color)App.color(fg or Normal_color) - replacement in 0119-draw_file_dialog at line 46
File_dialog_callback(filename)reset_file_dialog_state()end)File_dialog_callback(filename)reset_file_dialog_state()end,--[[tooltip text]] nil,local_modifications_color(filename)) - replacement in 0119-draw_file_dialog at line 54
end[4.2377]end - replacement in 0118-overflowable_button at line 3
overflowable_button = function(name, x, y, r, onpress1, final_button, tooltip_text)overflowable_button = function(name, x, y, r, onpress1, final_button, tooltip_text, fg) - replacement in 0118-overflowable_button at line 14
styled_button(name, x,y, onpress1, tooltip_text)styled_button(name, x,y, onpress1, tooltip_text, fg) - replacement in 0020-draw_editor_border at line 22
App.color{r=0.8, g=0,b=0}App.color(Local_modifications_color)