Commit graph

409 commits

Author SHA1 Message Date
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
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
a4cfc87577
prefix legacy tools and install them in /usr/libexec/ 2024-08-29 11:14:24 +02:00
Gwenhael Le Moine
195b0983dc
superfluous include 2024-08-14 14:04:27 +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
Gwenhael Le Moine
c72a393498
pixel contrast in mono 2024-06-13 16:54:59 +02:00
Gwenhael Le Moine
14fd31d13c
variables declaration style 2024-06-13 16:43:08 +02:00
Gwenhael Le Moine
60d08c61d5
one less variable 2024-06-13 16:34:43 +02:00
Gwenhael Le Moine
554aa45b84
naming 2024-06-13 16:29:45 +02:00
Gwenhael Le Moine
d9423cbfe3
use less global variables 2024-06-12 15:23:08 +02:00
Gwenhael Le Moine
835a88eba7
[ui_sdl] remove mouse motion event handling 2024-06-12 14:23:55 +02:00
Gwenhael Le Moine
7700923cae
[ui_sdl] use COLORS 2024-06-12 14:04:32 +02:00
Gwenhael Le Moine
1d7d9969cd
remove useless zero-ing 2024-06-12 13:49:29 +02:00
Gwenhael Le Moine
1eb4ac580f
factorize using opt_gx and sdl surfaces on/off 2024-06-12 13:40:53 +02:00
Gwenhael Le Moine
3f32b34947
functions naming and cleaning 2024-06-12 13:21:41 +02:00
Gwenhael Le Moine
4810c2fc5f
[ui_sdl] tweaks 2024-06-12 12:56:52 +02:00
Gwenhael Le Moine
d3e4b33953
factorize annunciators among all UIs 2024-06-12 12:49:59 +02:00
Gwenhael Le Moine
8c4d5c5a9d
simplify sdl buttons 2024-06-12 12:40:33 +02:00
Gwenhael Le Moine
5be8dc8280
factorize buttons among all UIs 2024-06-12 12:37:14 +02:00
Gwenhael Le Moine
2077502bbe
[sdl] keypad isn't useful 2024-06-12 11:11:50 +02:00
Gwenhael Le Moine
37eca78404
[colors] factorize colors among all 3 UIs 2024-06-12 10:53:03 +02:00
Gwenhael Le Moine
3825c5e563
[ui_sdl] understand --mono and --gray + misc tweaks 2024-06-12 10:12:00 +02:00
Gwenhael Le Moine
dc6fc8765a
no need to force inline 2024-06-12 09:14:54 +02:00
Gwenhael Le Moine
9a85ee3121
inline what can be into step_instruction() 2024-06-11 16:19:59 +02:00
Gwenhael Le Moine
ad19c1b558
cleaning global variables use in emu_emulate.c 2024-06-11 15:53:58 +02:00
Gwenhael Le Moine
8454ec1ce5
[step_instruction] clean up use of variables 2024-06-11 13:58:00 +02:00
Gwenhael Le Moine
584f93fae8
cleaning 2024-06-11 13:35:43 +02:00
Gwenhael Le Moine
6e854e9ccd
merge logical sub-functions _step_instruction_*() into step_instruction() 2024-06-11 13:11:03 +02:00
Gwenhael Le Moine
d26eeebbc7
use bool and step_instruction doesn't need to return anything 2024-06-11 12:33:35 +02:00
Gwenhael Le Moine
0839613c67
remove commented code 2024-06-11 12:26:01 +02:00
Gwenhael Le Moine
875a94ff14
[emulate] eliminate jumpaddr global variable 2024-06-11 12:14:23 +02:00
Gwenhael Le Moine
964f34a92a
[ui_text] increasing order 2024-06-11 09:45:03 +02:00
Gwenhael Le Moine
79e14e1990
define number of fields 2024-06-05 15:05:50 +02:00
Gwenhael Le Moine
1bed76e9ce
moveing code 2024-06-05 14:36:19 +02:00