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!
Supporting #13. GTK3 drops support for
gdk_gc_*
andgdk_draw_*
calls. These commits port those calls to usecairo_*
andgdk_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!