summaryrefslogtreecommitdiff
path: root/gtk/gtkiconhelperprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* GtkIconHelper: Change setters to return successMatthias Clasen2014-06-091-6/+6
| | | | This makes it easier to avoid redundant notifications in users.
* gtkiconhelper: Add _gtk_icon_helper_ensure_surface to private headerAlexander Larsson2013-08-071-0/+2
|
* GtkIconHelper: Convert to using cairo surfaces as base and support scalesAlexander Larsson2013-07-031-1/+7
| | | | | | | | | | | We render the source into a cairo_surface_t so that we can render it with cairo directly, rather than having to convert it from a pixbuf every time. We also specify the target window when creating the cairo surface so that rendering can be faster. Using cairo surfaces also allows us to seamlessly support window scales. We also add a GTK_IMAGE_SURFACE source type.
* GtkIconHelper: Add set_window()Alexander Larsson2013-07-031-0/+2
| | | | | | This is a hint on where the icon will be drawn. It will allow us to pre-allocate cairo surfaces for the right target.
* Add API to force a GtkIconHelper pixbuf rescalingCarlos Garnacho2012-07-131-0/+5
| | | | | This API is handy in entries and status icons, where the size is limited and independent of the pixbuf size
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* icon-helper: add GtkIconHelper private objectCosimo Cecchi2011-11-301-0/+131
GtkIconHelper is a helper object to easily obtain a pixbuf from different icon sources (e.g. a GIcon, an icon name, a stock id, ...). Code is ported from GtkImage, which will be adapted in the next commit.