1
0
Fork 0
forked from Miroirs/x49gp
Commit graph

266 commits

Author SHA1 Message Date
Gwenhael Le Moine
7cf50df624
-duplicate 2024-11-10 10:20:45 +01:00
Gwenhael Le Moine
90ef530c22
one css, size and placement adjustments 2024-11-10 10:13:25 +01:00
Gwenhael Le Moine
38fbcc216e
center lcd 2024-11-09 23:14:06 +01:00
Gwenhael Le Moine
f0068b3511
put annunciators and lcd in a GtkFixed container 2024-11-09 22:32:54 +01:00
Gwenhael Le Moine
0aaa0ab2ff
fix padding 2024-11-09 22:15:18 +01:00
Gwenhael Le Moine
fc435cfc03
use constants instead of ints stored in ui 2024-11-09 22:02:43 +01:00
Gwenhael Le Moine
49d6859ed8
Putting keyboard in its own GtkFixed, just because. 2024-11-09 15:19:55 +01:00
Gwenhael Le Moine
dfd97b548a
don't draw annunciators_container twice 2024-11-08 10:10:03 +01:00
Gwenhael Le Moine
cb8574f7d8
don't use ui->lcd_canvas to open popup menu 2024-11-08 10:09:31 +01:00
Gwenhael Le Moine
e6b9ff86db
make pretty-code 2024-11-08 10:01:05 +01:00
Gwenhael Le Moine
a00d3ecef7
remove lcd_event_box, move its events to ui->window 2024-11-08 09:52:22 +01:00
Gwenhael Le Moine
8d672658ef
remove unused colors (which have been moved to css) 2024-11-08 09:40:39 +01:00
Gwenhael Le Moine
2a586e0449
fix last deprecated code
Thanks https://stackoverflow.com/questions/70655268/drawing-to-gtk-gdk-drawing-area-with-cairo#70658500
2024-11-08 09:16:30 +01:00
Gwenhael Le Moine
1f118799db
replace deprecated gtk_button_pressed()/released() 2024-11-08 08:58:06 +01:00
Gwenhael Le Moine
e58bd6b9ca
update README 2024-11-07 22:53:18 +01:00
Gwenhael Le Moine
fb9f500842
1.2.0 2024-11-07 22:52:08 +01:00
Gwenhael Le Moine
ca9bc1eac1
style UI using a global (hardcoded) CSS style; fix _tiny_text_width(); better annunciators 2024-11-07 22:50:31 +01:00
Gwenhael Le Moine
2d0aa0a987
(WIP) globalize css 2024-11-07 16:30:08 +01:00
Gwenhael Le Moine
174d45dfa4
css 2024-11-07 15:33:35 +01:00
Gwenhael Le Moine
6c59edf49a
gtk3 gui is finally visually good enough to drop gtk2 2024-11-07 14:43:44 +01:00
Gwenhael Le Moine
d90bb7a25e
(WIP) styling the gtk+-3 way 2024-11-07 13:05:35 +01:00
Gwenhael Le Moine
8e5e5c4528
color2rgb() is dead code 2024-11-07 13:04:26 +01:00
Gwenhael Le Moine
f201e44082
gdk_beep and gdk_flush are deprecated 2024-11-06 13:42:20 +01:00
Gwenhael Le Moine
453fa5e09a
update progress in README 2024-11-06 13:24:41 +01:00
Gwenhael Le Moine
470a25819b
make it display LCD with gtk+-3.0 2024-11-06 13:18:21 +01:00
Gwenhael Le Moine
5f55023d43
Allow to more easily try make GTK_VERSION="+-3.0" 2024-11-06 12:49:12 +01:00
Gwenhael Le Moine
e57e595d99
make it compile with gtk+-3.0 2024-11-06 12:45:23 +01:00
Gwenhael Le Moine
4145b7af07
Eliminated GdkPixmap 2024-11-06 12:32:52 +01:00
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