fillods / grig

A simple Ham Radio control (CAT) program based on Hamlib.
http://groundstation.sourceforge.net/grig/
GNU General Public License v2.0
11 stars 5 forks source link

Port GTK2 drawing primitives to cairo #20

Open mattmelling opened 1 year ago

mattmelling commented 1 year ago

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!

mattmelling commented 1 year ago

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