1
0
Fork 0
forked from Miroirs/x49gp
Commit graph

204 commits

Author SHA1 Message Date
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
Gwenhael Le Moine
c151ff79c8
getting into ui.c 2024-10-23 16:49:17 +02:00
Gwenhael Le Moine
1a1993d845
refactor++ 2024-10-23 16:20:09 +02:00
Gwenhael Le Moine
cb7c9f6e37
refactoring of Makefile + fixes 2024-10-23 16:17:52 +02:00
Gwenhael Le Moine
285051ed86
include 2024-10-23 15:07:48 +02:00
Gwenhael Le Moine
32c4902b81
clean unused includes 2024-10-23 14:53:34 +02:00
Gwenhael Le Moine
347d61ced9
missing includes 2024-10-23 14:26:32 +02:00
Gwenhael Le Moine
f30edab58c
new is a reserved word 2024-10-23 14:26:15 +02:00
Gwenhael Le Moine
b5f6fbe716
select faceplate and name thru args instead of config file
Added --50g --50g-newrpl --49gp --49gp-newrpl and --name= args
Remove [gui] section from config file
2024-10-23 14:24:46 +02:00
Gwenhael Le Moine
69ce49c003
use EXIT_{SUCCESS,FAILURE} 2024-10-23 12:43:05 +02:00
Gwenhael Le Moine
b5f7f5dfde
formatting 2024-10-23 12:41:43 +02:00
Gwenhael Le Moine
6fe6c501b0
use getopt_long to parse options, change semantic of -d and -F slightly 2024-10-23 11:28:20 +02:00
Gwenhael Le Moine
a22ae17352
use stdbool.h 2024-10-23 10:32:39 +02:00
Gwenhael Le Moine
0089156ad1
add versionning, fix config path in --help 2024-10-23 10:12:22 +02:00
Gwenhael Le Moine
75cbab80ed
more renaming 2024-10-23 10:02:24 +02:00
Gwenhael Le Moine
ef322786fd
clean newrpl too 2024-10-23 09:52:11 +02:00
Gwenhael Le Moine
4ae1371a06
extract official firmware 2MB fix 2024-10-23 09:50:05 +02:00