Skip to content

r43066

Choose a tag to compare

@Zibri Zibri released this 06 Feb 20:20
683da8f

Changelog:

r43067 | compyx | 2023-02-06 20:09:46 +0000 (Mon, 06 Feb 2023) | 6 lines

Add comma

In a variable argument list `foo -1` and `foo, -1` are both valid and the
compiler doesn't catch it. Consequences during runtime are very noticable =)


------------------------------------------------------------------------
r43066 | compyx | 2023-02-06 19:46:26 +0000 (Mon, 06 Feb 2023) | 10 lines

Gtk3: Refactor string (key,value) resource combo box to use mediator

Refactor combo box for (key,value) pairs for string resource to use the resource
mediator. Greatly simplifies code and shaves off a couple of heap-allocations.
Make the string combo box use a proper model and allow instanciation with an
empty list and provide a method for the user to add values later: this will
simplify widgets that dynamically generate an initializer list on the heap and
later deallocate the list.


------------------------------------------------------------------------
r43065 | compyx | 2023-02-06 09:28:45 +0000 (Mon, 06 Feb 2023) | 10 lines

Gtk3: Refactor resource-bound integer combo box

Make the combo box for (int, str) pairs use the resource widget mediator.
Rename methods from `vice_gtk3_resource_combo_box_int_FOO()` to
`vice_gtk3_resource_combo_int_FOO()` (which is still way too long).
Use the same model layout (column 0: id, column 1: text) as the hex combo box,
so both can share code at a later point.
Also fix the IP232 check button's invalid column index.


------------------------------------------------------------------------
r43064 | gpz | 2023-02-05 21:52:47 +0000 (Sun, 05 Feb 2023) | 1 line

use proper log calls
------------------------------------------------------------------------
r43063 | gpz | 2023-02-05 21:26:00 +0000 (Sun, 05 Feb 2023) | 1 line

use GetCursorPos instead of the gtk provided value - lets see if that fixes the odd problems ppl have
------------------------------------------------------------------------