Gwenhael Le Moine
|
ecad400b78
|
parse scale from config file correctly
|
2024-09-08 16:09:00 +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
|
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
|
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
|
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 |
|