Commit graph

19 commits

Author SHA1 Message Date
Lephenixnoir
50df5fe37c
jscene, jlist: start handling touch events 2025-04-13 17:34:02 +02:00
Lephenixnoir
cd73b2ea6f
jscene: basic touch support with "inspector"-like debug 2025-04-13 16:44:01 +02:00
Lephenixnoir
4d7b33107d
doc: focus system 2025-03-29 17:42:10 +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
f32dcc69ce
jwidget: use dclear() fror background when widget is full screen 2024-09-04 08:57:58 +02:00
Lephenixnoir
51fbf2f582
jframe: new widget that adds scrolling to a large child (basics) 2022-11-20 14:56:42 +01:00
Lephenixnoir
950c5b7152
jwidget: add a per-widget clipping setting 2022-11-19 23:42:38 +01:00
Lephenixnoir
32ef1536d7
jfileselect: add a "save as" option 2022-06-24 00:38:05 +01:00
Lephenixnoir
699576eb33
jwidget: add a jwidget_set_borders() function 2022-06-23 19:42:37 +01:00
Lephenixnoir
ee98be1cc1
jwidget: fix bad display of border of size 0
This is caused by drect() flipping arguments in the order is incorrect,
so x2 < x1 gives you a rectangle instead of nothing.
2022-06-21 09:22:49 +01:00
Lephenixnoir
11868d85ee
jwidget: fix floating widgets not laying themselves out 2022-06-20 01:30:44 +01:00
Lephenixnoir
c90b3f1fb2
jwidget: fix background overwriting 1 pixel in each direction 2022-06-20 01:17:31 +01:00
Lephenixnoir
4e01a99b0b
jscene: add a stronger focus function 2022-06-19 22:45:05 +01:00
Lephenixnoir
d36d374524
make all widgets non-floating at creation 2021-05-15 17:40:18 +02:00
Lephenixnoir
87d6d4eea4
allow widgets to float over their parent's layout 2021-05-13 11:16:16 +02:00
Lephenixnoir
d6951295b0
properly count removed children widgets 2021-05-13 10:56:18 +02:00
Lephenixnoir
120b33c9f3
version 1.0.0, I guess 2021-03-12 16:19:43 +01:00