Commit graph

20 commits

Author SHA1 Message Date
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
7ebc3b802c
jfkeys: fix fkeys not updating after changing text/image 2022-06-21 09:19:10 +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
9a70a6398e
jfileselect: show file size + sort folders first 2022-06-20 00:07:18 +01:00
Lephenixnoir
4e01a99b0b
jscene: add a stronger focus function 2022-06-19 22:45:05 +01:00
Lephenixnoir
d0856d100b
jfileselect: add a new file selection widget 2022-06-19 22:36:39 +01:00
Lephenixnoir
819181d6f0
minor update 2022-06-18 19:49:46 +01:00
Lephenixnoir
6ca607ae37
jscene: merge JSCENE_KEY with JWIDGET_KEY
Since both propagate anyway, there's no reason to separate them.
2021-05-30 10:40:58 +02:00
Lephenixnoir
6f6af63ec3
jscene: make FOCUS_{IN,OUT} events propagate up 2021-05-25 21:58:59 +02:00
Lephenixnoir
846a96db4b
jfkeys: add key overrides on fx-CG 50 2021-05-23 11:56:11 +02:00
Lephenixnoir
d36d374524
make all widgets non-floating at creation 2021-05-15 17:40:18 +02:00
Lephenixnoir
6676e47368
repaint scenes when coming back from main menu 2021-05-13 14:07:29 +02:00
Lephenixnoir
cd4e3969bd
fix a severe bug in vector extension logic 2021-05-13 14:07:12 +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
a3e8606ab5
run upwards events through parents before main loop 2021-05-12 17:04:49 +02:00
Lephenixnoir
350a36908b
add a jscene_owning() function to access scenes from widget scopes 2021-05-12 15:24:12 +02:00
Lephenixnoir
120b33c9f3
version 1.0.0, I guess 2021-03-12 16:19:43 +01:00