Commit graph

12 commits

Author SHA1 Message Date
Lephenixnoir
bd89221d33
jfileselect: improve for fx-CP (hide AutoImport, more padding on items) 2025-04-15 05:03:23 +02:00
Lephenixnoir
50df5fe37c
jscene, jlist: start handling touch events 2025-04-13 17:34:02 +02:00
Lephenixnoir
334be52cee
recognize KEY_OK as equivalent to KEY_EXE 2025-03-29 21:38:21 +01:00
Lephenixnoir
57a460894f
the entire new keyboard focus system, save for a few bits
I need to move on to gintctl so that'll be enough for now.
2024-09-13 22:00:29 +02:00
Lephenixnoir
683e89d725
update built-in widgets' event handlers to default to jwidget 2024-09-06 09:58:32 +02:00
Lephenixnoir
216918123f
remove inheritance from jwidget API
This is the first step in improving the widget definition process. By
forcing the default behavior to be the widget behavior (thus
discouraging inheritance that doesn't work in C anyway), the default of
jwidget_poly_event() is exposed to the contract. This will allow further
features in using events, specifically for more complex focus cases.
2024-09-06 09:58:32 +02:00
Lephenixnoir
7587dfa17c
jlist: add user data pointer
This allows the info and paint functions to access user data associated
with the list without going through globals.
2024-09-04 08:51:41 +02:00
Lephenixnoir
12b29f8223
jlist: autofill info structure to 0 before calling info function
This avoids having to specify all fields in the info function.
2024-09-04 08:50:38 +02:00
Lephenixnoir
ba7b0a02d0
jlist, jscrolledlist: make parent the last constructor argument
To stay in line with constructors for other widgets.
2024-09-04 08:49:52 +02:00
Lephenixnoir
3488c6515a
jlist: add background/inversion selection feature 2024-09-04 08:46:26 +02:00
Lephenixnoir
a84b0adb3a
jlist: fix jlist_clear() 2022-12-02 09:56:33 +01:00
Lephenixnoir
beeb0c0724
jlist, jscrolledlist: add versatile paintable list widgets 2022-12-01 11:00:27 +01:00