themingengine: Implement icon drawing for checks and options
This commit is contained in:
@ -1067,6 +1067,9 @@ gtk_theming_engine_render_check (GtkThemingEngine *engine,
|
||||
gint border_width;
|
||||
GtkThemingBackground bg;
|
||||
|
||||
if (render_icon_image (engine, cr, x, y, width, height))
|
||||
return;
|
||||
|
||||
_gtk_theming_background_init (&bg, engine,
|
||||
x, y,
|
||||
width, height,
|
||||
@ -1189,6 +1192,9 @@ gtk_theming_engine_render_option (GtkThemingEngine *engine,
|
||||
GtkBorder border;
|
||||
GtkThemingBackground bg;
|
||||
|
||||
if (render_icon_image (engine, cr, x, y, width, height))
|
||||
return;
|
||||
|
||||
_gtk_theming_background_init (&bg, engine,
|
||||
x, y,
|
||||
width, height,
|
||||
|
||||
Reference in New Issue
Block a user