partition handlers between screen regions
Dependencies
- [2]
RVJNNICYbugfix: autosave settings - [3]
BQTHWI4Acheck slider state more precisely - [4]
5RUFNRJOstart of the visual skeleton - [5]
Z5M23NTKimplement second, 'output' editor - [6]
5MEJ7XNHlay out buttons based on device dimensions - [7]
HVXZLNCCsend errors from event handlers to output editor - [8]
JV27LDDKsliders for font size and color settings - [9]
VAVXKWZVaggregate global state inside a 'pane' object - [10]
IP4LD33Dmouse events for scrollbar - [11]
6DJMOJKEsupport event handlers - [12]
LGIEVJE6activate buttons for some time - [13]
ZM7NOBRMnew fork: carousel shell - [*]
R5QXEHUIsomebody stop me - [*]
UEG224LHdebug animations
Change contents
- file addition: 0150-Button_pressed[15.2]
Button_pressed = nil - edit in 0017-on.mouse_release at line 2
-- == menu area - edit in 0017-on.mouse_release at line 4
if Button_pressed thenButton_pressed = nilreturnend-- == settings areaif on_area(Settings_menu_area, x,y) thenreturnend-- == main area - edit in 0016-on.mouse_press at line 2
-- == menu area - edit in 0016-on.mouse_press at line 6
Button_pressed = true - replacement in 0016-on.mouse_press at line 10[4.4958]→[4.5838:5886](∅→∅),[4.5838]→[4.5838:5886](∅→∅),[4.3206]→[4.1739:1753](∅→∅),[4.5886]→[4.1739:1753](∅→∅),[4.1739]→[4.1739:1753](∅→∅),[4.1753]→[4.5887:5933](∅→∅),[4.5933]→[2.0:106](∅→∅)
if mouse_on_any_slider(x,y, mouse_button) thenreturnendif not on_area(Settings_menu_area, x,y) thenif Show_settings then-- On mobile devices, we can't depend on on.save_settings() triggering on quit-- == settings areaif Show_settings thenif on_area(Settings_menu_area, x,y) thenmouse_on_any_slider(x,y, mouse_button)elseShow_settings = false-- On mobile devices, we can't depend on on.save_settings() triggering on quit.-- So save settings every time we close the settings menu. - replacement in 0016-on.mouse_press at line 20
Show_settings = falsereturn - edit in 0016-on.mouse_press at line 22
-- == main area - edit in 0004-on.update at line 3[16.1760][4.613]
-- == menu area - edit in 0004-on.update at line 7
-- == settings area - edit in 0004-on.update at line 11
-- main area - replacement in 0004-on.update at line 18
end[4.1949]end