Skip to content

Port GTK2 drawing primitives to cairo#20

Open
mattmelling wants to merge 2 commits intofillods:masterfrom
mattmelling:gtk2-cairo
Open

Port GTK2 drawing primitives to cairo#20
mattmelling wants to merge 2 commits intofillods:masterfrom
mattmelling:gtk2-cairo

Conversation

@mattmelling
Copy link
Copy Markdown
Contributor

Supporting #13. GTK3 drops support for gdk_gc_* and gdk_draw_* calls. These commits port those calls to use cairo_* and gdk_cairo_* functions which are supported in later versions of GTK2 as well as GTK3.

The LCD has been significantly refactored to centralise all drawing around the rig_gui_lcd_expose_cb function, separating it from widget state updates.

I have tested this as much as I can with Hamlib dummy and against my Icom 7300, however was unable to test VFO display updates - any additional testing around this would be appreciated!

To support our GTK3 migration efforts. GTK3 dropped the `gdk_gc_*`
functions. This change ports the smeter drawing code to cairo.
To support our GTK3 migration efforts. GTK3 dropped the `gdk_gc_*`
functions. This change ports the lcd drawing code to cairo.
@mattmelling
Copy link
Copy Markdown
Contributor Author

Rebased on to master as there were conflicts with the changes in #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant