summaryrefslogtreecommitdiff
path: root/gtk/gtkimagedefinitionprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace "gchar" with "char"Benjamin Otte2020-07-251-1/+1
|
* Replace "gint" with "int"Benjamin Otte2020-07-251-1/+1
|
* cellrendererpixbuf: Store the texture in the iconhelper paintableBenjamin Otte2018-03-161-2/+0
| | | | | | | | | That's kinda weird but allows us to delete the texture case from GtkIconHelper and GTK_IMAGE_TEXTURE from the GtkImageType enum. And it doesn't cause any other problems because the cell renderer can't deal with paintables - otherwise it would mirror GtkImage and have a "paintable" property instead.
* image: Don't handle surfaces anymoreBenjamin Otte2018-03-161-2/+0
| | | | | | | Lots of special cases that are no longer needed because no code uses surfaces. Also remove the GdkCellRendererPixbuf:surface property.
* image: Load resources and files into texturesBenjamin Otte2018-03-161-2/+1
| | | | | | | | | | Instead of loading them into surfaces (which we want to get rid of), we load into textures. In fact, we introduce a new paintable subclass called a GtkScaler that takes care of tracking scaling. This also ideally gets rid of an extra conversion once renderers learn to render textures directly.
* iconhelper: Handle texture scale againBenjamin Otte2018-03-161-1/+2
| | | | We will need that in the next commits.
* image: Implement support for paintablesBenjamin Otte2018-03-161-0/+2
| | | | | | This includes adding support to GtkImageDefintion and GtkIconHelper. Only GtkImage handles support for signals from the paintable.
* image: Add the ability to set texturesBenjamin Otte2017-11-051-0/+2
| | | | | This also adds it to all other places that use the same infrastructure: GtkEntry and GtkCellRendererPixbuf
* Drop all uses of GdkPixbufAnimation in the gtk APIsAlexander Larsson2017-10-231-3/+0
| | | | | These are basically animated gifs, and don't fit well in how modern things animate.
* Drop pixbuf support in IconHelper and ImageDefinitionAlexander Larsson2017-10-231-3/+0
| | | | | | | | | These are no longer used, instead we always covert to surface as early as possible and drop the pixbuf. This means we never store both the pixbuf and the surface at for any longer time, which is wasteful. Also, its one step further to drop GdkPixbufs from generic use in our APIs.
* image: Remove GtkIconSet APITimm Bäder2016-10-161-2/+0
|
* Remove GtkStock API from GtkImageTimm Bäder2016-10-161-2/+0
|
* imagedefinition: The storage type is not a booleanChristoph Reiter2015-12-191-1/+1
|
* imagedefinition: Remove icon-sizeBenjamin Otte2015-12-021-9/+4
| | | | | | | | The size of icons is a property that is relevant to who is rendering the icon, not to the icon itself. Example: Starting a DND operation from an entry icon should cause the icon to resize (from the entr icon's size to the DND icon size).
* imagedefinition: Split out from icon helperBenjamin Otte2015-12-021-0/+60
The image definition is supposed to hold the description about the image to be displayed. The icon helper actually does caching and tracks changes.