1
0
Fork 0
forked from Miroirs/x49gp
Commit graph

188 commits

Author SHA1 Message Date
Gwenhael Le Moine
3704e4c5cc
annunciators are GtkLabel()s 2024-11-06 11:10:44 +01:00
Gwenhael Le Moine
a524adfe73
looking at lcd 2024-11-06 08:45:55 +01:00
Gwenhael Le Moine
b86c7318a8
use GtkStyle and use opt.font 2024-11-06 04:47:22 +01:00
Gwenhael Le Moine
eecd20d5dd
fix labels 2024-11-05 19:01:39 +01:00
Gwenhael Le Moine
bab29bf8b5
remove more dead code 2024-11-05 19:01:19 +01:00
Gwenhael Le Moine
505263002c
todo 2024-11-05 16:39:50 +01:00
Gwenhael Le Moine
b8614acbae
drop all custom fonts code and assets 2024-11-05 16:38:27 +01:00
Gwenhael Le Moine
a6fefc2cb5
faceplate rendered only with pango 2024-11-05 16:34:52 +01:00
Gwenhael Le Moine
2cb0d3e072
buttons' labels are rendered using pango instead of drawings 2024-11-05 14:33:03 +01:00
Gwenhael Le Moine
567771cbcc
ignore s3c2410.h in make pretty-code 2024-11-05 13:48:44 +01:00
Gwenhael Le Moine
5246fcb0fd
move actual LCD rendering into ui.c 2024-11-05 13:29:03 +01:00
Gwenhael Le Moine
3609e8df9a
slowly moving things out of ui-> 2024-11-05 13:00:16 +01:00
Gwenhael Le Moine
f14aa9bf14
typo 2024-11-05 12:35:38 +01:00
Gwenhael Le Moine
425367695b
code style + FIXME notes
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2024-11-05 09:50:32 +01:00
Gwenhael Le Moine
b91ab691e9
name + drop ui->bg_pixbuf 2024-11-03 11:53:54 +01:00
Gwenhael Le Moine
a49267241d
naming 2024-11-03 11:04:53 +01:00
Gwenhael Le Moine
4c733116aa
rename x49gp_ui.h to ui.h for consistency 2024-11-03 10:59:41 +01:00
Gwenhael Le Moine
8f5895cbec
remove noise comments; prefix ui_ 2024-11-03 10:37:15 +01:00
Gwenhael Le Moine
cadc26714e
prefix ui_ 2024-11-03 09:06:49 +01:00
Gwenhael Le Moine
c2d142281c
move fonts' functions into their own files 2024-11-03 09:01:21 +01:00
Gwenhael Le Moine
e28b228c09
write letter outside of button like x48ng/saturnng 2024-11-02 23:27:28 +01:00
Gwenhael Le Moine
9cb44cceb8
fonts are implicitly tiny_font or opt.font accordingly 2024-11-02 22:56:16 +01:00
Gwenhael Le Moine
f4626d7400
consistently name bitmap_font tiny_font (it IS tiny) 2024-11-02 22:45:23 +01:00
Gwenhael Le Moine
4bc67e0511
more making sense of ui.c 2024-11-02 22:29:39 +01:00
Gwenhael Le Moine
89493cb54e
ui->nr_buttons is already known as NB_KEYS 2024-11-02 21:51:17 +01:00
Gwenhael Le Moine
3c9742bb95
dead code 2024-11-02 19:47:34 +01:00
Gwenhael Le Moine
f318c5fa65
mostly naming things in ui.c to try and make sense of it 2024-11-02 19:45:32 +01:00
Gwenhael Le Moine
b5155be28c
make pretty-code 2024-11-02 18:14:38 +01:00
Gwenhael Le Moine
15ed5d18dc
simplify text function by only managing one text block 2024-11-02 18:14:13 +01:00
Gwenhael Le Moine
649c806086
further keyboard redefining + making sense of text functions 2024-11-02 18:04:45 +01:00
Gwenhael Le Moine
8681cf69f7
remove header; rethink keyboard definitions and faceplate sizing 2024-11-02 17:13:01 +01:00
Gwenhael Le Moine
55aee2d295
draw lcd background color 2024-11-02 13:58:28 +01:00
Gwenhael Le Moine
fe8b759aa8
optimize qemu building in Makefile 2024-10-31 22:30:38 +01:00
Gwenhael Le Moine
c729b553ff
add --scale option 2024-10-31 20:04:23 +01:00
Gwenhael Le Moine
01408a338f
draw faceplate instead of loading png 2024-10-31 16:45:43 +01:00
Gwenhael Le Moine
c3e54608fe
eliminate buttons' shapes. simplify 2024-10-31 16:02:03 +01:00
Gwenhael Le Moine
f04a835918
add symbols for arrow keys 2024-10-31 15:52:40 +01:00
Gwenhael Le Moine
8901b1ea87
keep only 50g keys definitions 2024-10-31 14:58:21 +01:00
Gwenhael Le Moine
0d884c930e
(WIP) cairo'fied annunciators 2024-10-31 13:13:09 +01:00
Gwenhael Le Moine
6148325b13
rename imagefile 2024-10-31 09:30:01 +01:00
Gwenhael Le Moine
3947f7f7b2
add blank faceplate 2024-10-30 16:51:14 +01:00
Gwenhael Le Moine
b1e5efeb74
add bg_color to keys 2024-10-30 16:48:31 +01:00
Gwenhael Le Moine
08488a1363
bit less harddcode 2024-10-30 15:50:23 +01:00
Gwenhael Le Moine
9c6da9257a
fiddling to try to understand ui.c 2024-10-30 15:41:37 +01:00
Gwenhael Le Moine
8a47fd4ff8
tweaks 2024-10-30 14:44:17 +01:00
Gwenhael Le Moine
97a3df3e18
make font a parametrable option 2024-10-30 14:37:38 +01:00
Gwenhael Le Moine
2786f95166
separate further our code from qemu-git's 2024-10-30 14:15:25 +01:00
Gwenhael Le Moine
c9191b6c00
draw pixel using cairo_rectangle 2024-10-29 18:13:12 +01:00
Gwenhael Le Moine
b179f88451
pretty code 2024-10-29 18:12:33 +01:00
Gwenhael Le Moine
3e37407a61
draw pixels using cairo 2024-10-29 16:49:36 +01:00