Commit graph

592 commits

Author SHA1 Message Date
Gwenhael Le Moine
0a1f018558
fix botched numbers 4 6 and 9 in small_font 2024-09-09 21:39:54 +02:00
Gwenhael Le Moine
195dd18aa5
converted all 0b numbers to decimal; back to a less cutting-edge -std=c11 2024-09-09 21:17:33 +02:00
Gwenhael Le Moine
4d4867a9fc
remove dependency on SDL2_gfx 2024-09-09 20:54:47 +02:00
Gwenhael Le Moine
d91939f58a
display wire and IR devices using small_font 2024-09-09 20:53:25 +02:00
Gwenhael Le Moine
5861c27092
add all number to small_font 2024-09-09 20:52:31 +02:00
Gwenhael Le Moine
bb71e9ae50
(Github CI/Debian/Ubuntu needs c2x maybe?) 2024-09-09 18:36:44 +02:00
Gwenhael Le Moine
eb2a8bc3a0
Use our own font for text labels of buttons (0b01 needs C23 for now) 2024-09-09 18:31:44 +02:00
Gwenhael Le Moine
dc74c49351
it always bothered me that this key was called 'colon' when it's clearly a (single-)quote 2024-09-09 16:20:52 +02:00
Gwenhael Le Moine
b6a0d94577
[sdl2] fix color of corner outside buttons 2024-09-08 17:43:38 +02:00
Gwenhael Le Moine
47bae12f59
Remove SDL1 GUI. WITH_SDL=yes and --sdl are kept around to not break habits 2024-09-08 17:03:14 +02:00
Gwenhael Le Moine
bdd6310bc1
update README 2024-09-08 16:20:00 +02:00
Gwenhael Le Moine
f4c7855abc
0.40.2 2024-09-08 16:09:26 +02:00
Gwenhael Le Moine
ecad400b78
parse scale from config file correctly 2024-09-08 16:09:00 +02:00
Gwenhael Le Moine
29caa54a1b
more tweaking setup script to avoid a symlink and allow more overriding 2024-09-08 15:52:56 +02:00
Gwenhael Le Moine
fb8a03725c
0.40.1 2024-09-08 15:21:17 +02:00
Gwenhael Le Moine
8e9203ebf8
path bug in setup-x48ng-home.sh 2024-09-08 15:20:57 +02:00
Gwenhael Le Moine
b80657a5c9
0.40.0 2024-09-07 21:14:43 +02:00
Gwenhael Le Moine
a825ed2ba6
[sdl2] add --scale=<float> option to scale up/down the size of SDL2's window 2024-09-07 21:13:47 +02:00
Gwenhael Le Moine
a5ff52d7c0
[sdl2] update manpage and printed config 2024-09-07 21:13:13 +02:00
Gwenhael Le Moine
15dabd3916
removing dubiously useful code 2024-09-07 20:25:51 +02:00
Gwenhael Le Moine
3fc730a2e8
clarify function intent by naming 2024-09-07 20:03:41 +02:00
Gwenhael Le Moine
ae2c72eeeb
0.39.0 2024-09-07 11:35:05 +02:00
Gwenhael Le Moine
bd5bc69841
[sdl2] remove dead or commented code 2024-09-07 11:25:45 +02:00
Gwenhael Le Moine
17deb46764
[sdl2] factorize button's texture drawing 2024-09-07 11:15:08 +02:00
Gwenhael Le Moine
1bb1e39ea8
[sdl2] remove commented code 2024-09-07 11:03:23 +02:00
Gwenhael Le Moine
ef18903f53
[sdl2] fix black corners on buttons' textures 2024-09-07 11:02:01 +02:00
Gwenhael Le Moine
4c5f7f070b
[sdl2] correct down buttons textures 2024-09-07 10:56:52 +02:00
Gwenhael Le Moine
2e22cafc03
[sdl2] long-click sticky key functional 2024-09-07 10:37:16 +02:00
Gwenhael Le Moine
a25ca2de89
[sdl2] working on long-click to stick key 2024-09-07 10:00:11 +02:00
Gwenhael Le Moine
0adb5bf5fc
[sdl2] working on buttons' textures 2024-09-06 22:43:51 +02:00
Gwenhael Le Moine
4d69ed3425
colors fiddling; -TRANSPARENT 2024-09-06 22:43:24 +02:00
Gwenhael Le Moine
36c1f9b607
[sdl2] key click animation looks good.
- down texture is bad
- lost mouse long press to stick
2024-09-06 22:14:53 +02:00
Gwenhael Le Moine
d3a181682c
[sdl2] better (but not quite there yet) key animation 2024-09-06 21:56:22 +02:00
Gwenhael Le Moine
f0c27d9b5f
[sdl2] still trying to get the keys to 'click' 2024-09-05 22:30:17 +02:00
Gwenhael Le Moine
8efeb99d91
[github CI] does that work or will I receive many mail? 2024-09-05 21:09:40 +02:00
Gwenhael Le Moine
571c449a9a
[sdl2] on/off => up/down 2024-09-05 20:57:17 +02:00
Gwenhael Le Moine
e374ba61a7
[sdl2] all keys' labels rightfully placed 2024-09-05 20:08:54 +02:00
Gwenhael Le Moine
18557bb0f1
[sdl2] point in time aligning labels 2024-09-05 18:57:21 +02:00
Gwenhael Le Moine
4c65ee4b0e
[sdl2] display all keys' labels (still some adjustments needed) 2024-09-05 16:24:07 +02:00
Gwenhael Le Moine
976b23aa78
comment hexcodes of colors 2024-09-05 16:23:46 +02:00
Gwenhael Le Moine
1fdcd0679b
[sdl2] fully drawn 2024-09-05 13:18:37 +02:00
Gwenhael Le Moine
809d44e97f
[sdl2] __create_buttons() 2024-09-05 13:09:16 +02:00
Gwenhael Le Moine
dec8e90061
add a channel to colors and add TRANSPARENT 2024-09-05 13:08:01 +02:00
Gwenhael Le Moine
b9ebdb2486
[sdl2] fiddling 2024-09-05 12:27:53 +02:00
Gwenhael Le Moine
4891446b49
[sdl2] _draw_keypad() 2024-09-05 11:24:44 +02:00
Gwenhael Le Moine
9578267545
[sdl2] __draw_rect(); serial; optimizations; start on keypad 2024-09-05 09:53:06 +02:00
Gwenhael Le Moine
70a447199f
[sdl2] enable SDL2 by default, instead of SDL1 2024-09-04 23:04:08 +02:00
Gwenhael Le Moine
3975a3f7a6
[sdl2] minimize use of color2bgra(); naming 2024-09-04 23:01:53 +02:00
Gwenhael Le Moine
7480e17f4d
[sdl2] surfaces don't seem to need to be kept around 2024-09-04 22:56:10 +02:00
Gwenhael Le Moine
cdaad83dca
[sdl2] complete header; factorize drawing bitmaps and textures 2024-09-04 22:45:08 +02:00