Commit graph

612 commits

Author SHA1 Message Date
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
Gwenhael Le Moine
2cd8913f67
[sdl2] lineColor needs bgra 2024-09-04 22:09:41 +02:00
Gwenhael Le Moine
9ecff638a5
[sdl2] We have annunciators! 2024-09-04 21:35:22 +02:00
Gwenhael Le Moine
1c6e72e457
[sdl2] (WIP) trying to display annunciators 2024-09-04 16:47:00 +02:00
Gwenhael Le Moine
3ef9082bdb
[sdl2] _draw_bezel*() 2024-09-04 16:14:20 +02:00
Gwenhael Le Moine
034beaaf3c
[sdl2] _draw_background() 2024-09-04 15:54:52 +02:00
Gwenhael Le Moine
03dc95c224
[sdl2] colors and contrast handling 2024-09-04 15:47:52 +02:00
Gwenhael Le Moine
fa4f665a51
[sdl2] naming 2024-09-04 15:29:27 +02:00
Gwenhael Le Moine
d8fdd2e467
[sdl2] minimal UI ported to sdl2, only LCD area displayed for now 2024-09-04 15:19:16 +02:00
Gwenhael Le Moine
6d36927849
Drop mkcard. dd is standard and can replace it (see setup-x48ng-home.sh)
dd if=/dev/zero of="$DOTX48NG"/port2 bs=1k count=4096
2024-08-29 13:03:44 +02:00
Gwenhael Le Moine
f138422154
gitignore new prefixed binaries 2024-08-29 12:57:15 +02:00
Gwenhael Le Moine
468ba9d3b1
[setup-x48ng-home.sh] fix path 2024-08-29 11:20:28 +02:00
Gwenhael Le Moine
34e4f49648
What if cd fails 2024-08-29 11:17:22 +02:00
Gwenhael Le Moine
a4cfc87577
prefix legacy tools and install them in /usr/libexec/ 2024-08-29 11:14:24 +02:00
Gwenhael Le Moine
7775d1065c
[setup-x48ng-home.sh] remove @PREFIX@ and mkcard dependency 2024-08-29 11:04:41 +02:00
Lucio Sauer
79c31d6782 Makefile: link against user-configurable Lua version 2024-08-16 03:03:37 +02:00
Gwenhael Le Moine
c7334a030b
less self-depreciation 2024-08-15 09:52:15 +02:00
Gwenhael Le Moine
195b0983dc
superfluous include 2024-08-14 14:04:27 +02:00
Gwenhael Le Moine
0baf21395a
0.38.0 Let's cut a realse here, hopefully I didn't break (too many) things 2024-08-13 20:56:01 +02:00
Gwenhael Le Moine
dfefc58d07
clean up and comment 2024-08-13 20:54:16 +02:00
Gwenhael Le Moine
0653be5951
more or less revert 247d0cc, don't have the energy to chase this weird bug where in x11 and sdl pressing F7 to exit needs an extra key to be pressed to actually work. please_exit code is just commented away to maybe come back to it later on. 2024-08-13 20:50:54 +02:00
Gwenhael Le Moine
ed04ae3a7a
[ui_x11] inlining pick_visual_of_class and id_to_visual breaks compilation with -flto
fixes #24
2024-08-13 20:25:04 +02:00
Lucio Sauer
ad6539edf6 Makefile: install uncompressed manpage
https://cmpct.info/~sam/blog/posts/automatic-manpage-compression/
2024-08-12 23:37:55 +02:00
Lucio Sauer
3551e2208d Makefile: respect user PKG_CONFIG 2024-08-12 23:37:53 +02:00
Lucio Sauer
c79de1011f Makefile: run silently even when ROMs to delete don't exist 2024-08-12 23:37:12 +02:00
Lucio Sauer
541c1ca04f Makefile respect user LDFLAGS 2024-08-12 23:37:12 +02:00
Lucio Sauer
cf62efc2ce Makefile: respect user CPPFLAGS 2024-08-12 23:37:12 +02:00
Lucio Sauer
71acf45a04 Makefile: allow user CFLAGS to override out warning flags
The cc-option filters out unknown flags which make the compiler error
out.
Note that Clang enables Wunused-command-line-argument by default and
merely emits a warning but incurs no error, when it encounters such a
flag.  GCC on the other hand exits unsuccessfully when it is passed a
flag of the form -Wunknown-warning, but no diagnostic is produced for
-Wno-unknown-warning unless other diagnostics are produced.
2024-08-12 23:37:11 +02:00
Lucio Sauer
ed745f139f Makefile: remove duplicate default CC 2024-08-12 12:47:49 +02:00
Gwenhael Le Moine
249d50c44c
append to CFLAGS 2024-08-12 09:28:31 +02:00
Gwenhael Le Moine
bcce438a44
add an explanation and a chance to wuit before downloading ROMs 2024-08-11 14:00:46 +02:00