gtk2/demos/widget-factory
Alexander Larsson 0af457639d TextView: Use saner coordinate space in draw_layer.
When I added the draw_layer vfunc it accidentally got passed a cairo_t
that was configured with to draw in the viewport coordinate space (rather
than the buffer coordinate space). This makes things unnecessary complex,
because you have to convert between the two.

The pixel cache is shared between the text and the layers, so there is
no way to use draw_layer to get a stationary overlay effect. Thus it makes
much more sense for the draw_layer vfunc to draw in the buffer space.

Just changing this would break ABI for existing code, so this is fixed
by adding new layer types and deprecating the old ones.

Also, we use the new layer types to fix gtk3-widget-factory.

https://bugzilla.gnome.org/show_bug.cgi?id=757856
2015-11-10 08:39:47 +01:00
..
data Provide symbolic variants of app icons 2014-11-28 16:08:56 -05:00
gtk3-widget-factory.desktop Add a main category to desktop files 2015-05-14 15:28:22 -04:00
help-overlay.ui widget-factory: Add an automatic help overlay 2015-10-21 15:33:22 -04:00
Makefile.am widget-factory: Add an automatic help overlay 2015-10-21 15:33:22 -04:00
menus.ui widget-factory: Use the new application resource support 2014-07-09 10:13:38 -04:00
widget-factory.c TextView: Use saner coordinate space in draw_layer. 2015-11-10 08:39:47 +01:00
widget-factory.css widget-factory: Add tab close buttons 2015-03-15 22:44:33 -04:00
widget-factory.gresource.xml widget-factory: Add an automatic help overlay 2015-10-21 15:33:22 -04:00
widget-factory.ui widget-factory: Add another notebook example 2015-11-08 21:08:38 -05:00