themingengine: use outlines to render focus rings

Instead of the old non-CSS implementation. This allows us to get rid of
the very last piece of custom theming in Adwaita.
This commit is contained in:
Cosimo Cecchi
2014-05-01 18:12:35 +02:00
parent e8cbbedbb2
commit 489970bcdc
3 changed files with 40 additions and 74 deletions

View File

@ -54,6 +54,10 @@ void _gtk_rounded_box_apply_border_radius_for_context (GtkRoundedBox
GtkStyleContext *context,
GtkJunctionSides junction);
void _gtk_rounded_box_apply_outline_radius_for_engine (GtkRoundedBox *box,
GtkThemingEngine *engine,
GtkJunctionSides junction);
void _gtk_rounded_box_grow (GtkRoundedBox *box,
double top,
double right,