Changelog:
r43062 | gpz | 2023-02-05 20:19:37 +0000 (Sun, 05 Feb 2023) | 1 line
clear last error before mouse_event so we dont see some random other error in the log
------------------------------------------------------------------------
r43059 | compyx | 2023-02-05 10:11:25 +0000 (Sun, 05 Feb 2023) | 3 lines
Gtk3: Resource widget mediator: implement methods for integer resources
------------------------------------------------------------------------
r43058 | compyx | 2023-02-05 09:17:57 +0000 (Sun, 05 Feb 2023) | 6 lines
Gtk3: Resource switch widget: refactor to use resource mediator
Also add mediator_set_callback_boolean_w() that wraps mediator_for_widget() and
mediator_set_callback_boolean().
------------------------------------------------------------------------
r43057 | compyx | 2023-02-05 08:22:18 +0000 (Sun, 05 Feb 2023) | 14 lines
Gtk3: Add resource widget mediator
Add object with methods to handle resources bound to widgets in a unified and
way, leading to less custom/boiler plate code in widgets that control resources.
The mediator attaches to a widget with `mediator_new(widget, resource, type)`
and registers a 'destroy' signal handler on the widget to free all resources
used by the mediator.
Widget code can then use the mediator to set/get resource values, reset to
factory, restore previous valid value if setting a resource fails, trigger a
user-defined callback, et cetera.
Currently only the resource check buttons use the mediator, other widgets will
follow shortly.
------------------------------------------------------------------------
r43056 | blackystardust | 2023-02-05 05:37:53 +0000 (Sun, 05 Feb 2023) | 1 line
Added proper z80 mmu control, fixes bug #1825.
------------------------------------------------------------------------