ccgui: Split GtkGauge.draw_static_base to several functions.