| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This makes it easier to avoid redundant notifications in users.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This is a hint on where the icon will be drawn. It
will allow us to pre-allocate cairo surfaces for the right
target.
|
|
|
|
|
| |
This API is handy in entries and status icons, where the size is
limited and independent of the pixbuf size
|
| |
|
|
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.
|