1
0
Fork 0
forked from Miroirs/x49gp
Commit graph

270 commits

Author SHA1 Message Date
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
Gwenhael Le Moine
e064dc862f
experiment 2024-10-29 16:33:42 +01:00
Gwenhael Le Moine
81562895a9
move gtk headers out of flash.c 2024-10-29 16:32:53 +01:00
Gwenhael Le Moine
fffd39029c
rename and rearrange some ui code 2024-10-29 15:27:54 +01:00
Gwenhael Le Moine
3e3a7a5caa
missing include + style 2024-10-29 15:26:59 +01:00
Gwenhael Le Moine
0041e7546c
explicit cast 2024-10-29 15:26:44 +01:00
Gwenhael Le Moine
58287d660a
typo 2024-10-29 14:38:54 +01:00
Gwenhael Le Moine
e65d1353a4
rewrite gdk_draw_pixbuf as their cairo counterparts [ https://docs.gtk.org/gtk3/migrating-2to3.html#drawing-pixbufs ] 2024-10-29 13:50:44 +01:00
Gwenhael Le Moine
dc28273e77
code style 2024-10-29 13:50:37 +01:00
Gwenhael Le Moine
1170886f84
make pretty-code 2024-10-29 13:13:29 +01:00
Gwenhael Le Moine
47cdf19137
colors shown in comments 2024-10-29 13:13:06 +01:00
Gwenhael Le Moine
57e4777e40
LCD_PIXEL_SCALE + refactor x49gp_lcd_update 2024-10-29 13:12:34 +01:00
Gwenhael Le Moine
2a00658f59
add new shortcuts and todo=list to README 2024-10-24 15:54:39 +02:00
Gwenhael Le Moine
8bbfba569d
re-enable Alt for α 2024-10-24 15:45:09 +02:00
Gwenhael Le Moine
d8f623938f
disable making buttons look clicked when using keyboard. Not syre how to re-implement it without using the private GtkButton->in_button field 2024-10-24 15:41:27 +02:00
Gwenhael Le Moine
e1f34098c4
prettify code 2024-10-24 15:41:14 +02:00
Gwenhael Le Moine
d300afe3c7
[gtk] use accessor functions to get values
as part of modernizing gtk code before upgrading gtk
2024-10-24 15:39:41 +02:00
Gwenhael Le Moine
c09f925e32
prettify code 2024-10-24 15:35:28 +02:00
Gwenhael Le Moine
18ef08eb32
update name in README 2024-10-23 18:01:02 +02:00