1
0
Fork 0
forked from Miroirs/x49gp
Commit graph

242 commits

Author SHA1 Message Date
Gwenhael Le Moine
12ce010536
simplify print_config() 2024-11-13 10:24:06 +01:00
Gwenhael Le Moine
7d313c91f9
inplement visual click using a css class which brings visual clue when using keyboard 2024-11-13 10:17:31 +01:00
Gwenhael Le Moine
72184c32c1
move "general click" event back to display only instead of window wide 2024-11-13 10:16:25 +01:00
Gwenhael Le Moine
0e0e1d646c
Merge branch 'main' of ssh://src.le-moine.org:38172/gwh/x49gpng 2024-11-13 09:32:58 +01:00
Gwenhael Le Moine
3e1479b1da
fix/improve keyboard esthetics 2024-11-12 22:42:36 +01:00
Gwenhael Le Moine
be6235686e
remove useless code 2024-11-12 22:42:28 +01:00
Gwenhael Le Moine
01da733778
split emulator key pressing out of gui functions 2024-11-12 21:30:30 +01:00
Gwenhael Le Moine
491e8e9171
take notes for gtk4 2024-11-12 15:08:31 +01:00
Gwenhael Le Moine
cd5f87b9d8
remove noisy debug code 2024-11-12 15:08:17 +01:00
Gwenhael Le Moine
7e36238819
useless 2024-11-12 14:42:41 +01:00
Gwenhael Le Moine
5df16bb28f
--font-size is more clear than text-scale 2024-11-10 23:18:17 +01:00
Gwenhael Le Moine
ed48563f14
make --newrpl-keyboard a distinct option; make --text-scale steps finer (defaults at 2) 2024-11-10 22:10:45 +01:00
Gwenhael Le Moine
62458e2b11
(hopefully) fix segfault on x49gpng --print-config >> ~/.config/x49gpng/config.lua 2024-11-10 18:33:46 +01:00
Gwenhael Le Moine
6089396a7a
load (limited) configuration from ~/.config/x49gpng/config.lua is present 2024-11-10 18:09:15 +01:00
Gwenhael Le Moine
94b8e7b04d
So-called config file is really about state. Name it so. 2024-11-10 16:37:36 +01:00
Gwenhael Le Moine
c7d1a1700e
better keyboard building and scaling 2024-11-10 15:51:49 +01:00
Gwenhael Le Moine
9a74c61462
use opt.display_scale directly as LCD_PIXEL_SCALE 2024-11-10 15:50:05 +01:00
Gwenhael Le Moine
57bb8bd3b8
enum to indek hpkeys 2024-11-10 15:49:03 +01:00
Gwenhael Le Moine
c8f9ce5c2c
--text-scale and --display-scale to scale then independently 2024-11-10 12:45:06 +01:00
Gwenhael Le Moine
2291e44205
--scale=X is now useful! 2024-11-10 12:30:40 +01:00
Gwenhael Le Moine
1fcad0d2fd
make keyboard self-size 2024-11-10 12:16:20 +01:00
Gwenhael Le Moine
a2f5b119bf
button->box isn't necessary 2024-11-10 11:17:23 +01:00
Gwenhael Le Moine
3b8474337d
build keyboard by rows and columns 2024-11-10 11:10:48 +01:00
Gwenhael Le Moine
3c38e3e46e
use annunciators' state directly as opacity 2024-11-10 11:10:20 +01:00
Gwenhael Le Moine
540f06d9fe
move code 2024-11-10 11:10:05 +01:00
Gwenhael Le Moine
0f9dffe8ea
fix width, simplify css classes naming, lighter 𝓍 2024-11-10 10:37:23 +01:00
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