summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.h
Commit message (Collapse)AuthorAgeFilesLines
* icon theme: Make finalMatthias Clasen2019-05-261-58/+0
| | | | Nobody should subclass GtkIconTheme or GtkIconInfo.
* Remove a lot of Since annotationsMatthias Clasen2018-06-251-6/+6
| | | | | 4.0 will represent a clean epoch. We don't want to have lots of noise in the docs about 2.x or 3.x.
* icontheme: Remove surface supportBenjamin Otte2018-03-161-12/+0
| | | | It's not used anymore.
* The big versioning cleanupMatthias Clasen2018-02-061-18/+18
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* Drop gtk_icon_size_lookupMatthias Clasen2017-11-151-5/+0
| | | | | Add a new, private gtk_image_get_image_size to replace it, and update the remaining callers in a suitable way.
* Drop the last use of GDK_MULTIHEAD_SAFEMatthias Clasen2017-11-101-2/+0
| | | | This define is not used anymore, this was a leftover.
* GskTexture => GdkTextureBenjamin Otte2017-11-041-1/+1
| | | | We want this thing to replace GdkPixbuf, so it has to live in GDK.
* icontheme: Use GdkDisplay instead of GdkScreenBenjamin Otte2017-10-311-7/+7
|
* icon theme: Add a texture cacheMatthias Clasen2017-10-231-0/+4
| | | | | Return cached textures for icons. This lets us avoid duplicate texture uploads for icons whose surfaces we already cache.
* icontheme: Remove deprecated APITimm Bäder2016-10-221-24/+0
|
* Remove GtkIconFactoryTimm Bäder2016-10-161-0/+8
| | | | Move the icon size lookup API into gtkicontheme.c
* API: Remove GtkStyleBenjamin Otte2016-10-161-6/+0
| | | | All the remaining gtkrc.c stuff like GtkRcStyle goes with it.
* icontheme: Clarify GENERIC_FALLBACK flag handlingBenjamin Otte2015-10-281-1/+2
| | | | | - Add docs explaining that it doesn't work everywhere - g_warn_if_fail() in the APIs where it doesn't work
* Deprecate gtk_icon_theme_add_builtin_iconMatthias Clasen2014-06-301-2/+2
| | | | | Builtin icons are deprecated in favor of loading icons from resource paths.
* Make gtk_icon_theme_add_resource_path public APIMatthias Clasen2014-06-301-0/+4
| | | | | | | This makes it possible to look up icons in resources using the icon theme api, and should be used as a replacement for installing icons below $pkgdatadir/icons and adding that location to the search path.
* GtkIconTheme: Keep gtk_icon_theme_add_resource_path private for nowMatthias Clasen2014-06-201-4/+0
| | | | | We need to discuss some details of the semantics before we can make this public.
* Revert "Deprecate gtk_icon_theme_add_builtin_icon"Matthias Clasen2014-06-201-2/+2
| | | | This reverts commit 923eeda2d3cae13d02b0a9d2e5774b12eed999e0.
* Deprecate gtk_icon_theme_add_builtin_iconMatthias Clasen2014-06-201-2/+2
|
* GtkIconTheme: Allow loading icons from resourcesMatthias Clasen2014-06-201-0/+4
| | | | | | We add a new API, gtk_icon_theme_add_resource_path, which can be used to add resource path as a base location for icon theme content, similar to gtk_icon_theme_append_search_path.
* GtkIconTheme: Deprecate functionality related to .icon filesMatthias Clasen2014-06-201-4/+4
| | | | This functionality is not used at all in modern icon themes.
* Drop the builtin icon cacheMatthias Clasen2014-06-201-3/+0
| | | | | We don't need it anymore, now that the non-standard stock icons are using resources.
* GtkIconTheme: Support looking up directional variantsMatthias Clasen2014-05-141-1/+7
| | | | | | | | | | | | | Add two new icon lookup flags, GTK_ICON_LOOKUP_DIR_LTR and _RTL, which tell GtkIconTheme to look for icon variants which have a -ltr or -rtl suffix. GtkIconHelper adds these lookup flags when looking up icons. Note that due to the way this overlaps with symbolic icon lookup, directional variants of symbolic icons must be called -symbolic-rtl, not -rtl-symbolic. https://bugzilla.gnome.org/show_bug.cgi?id=729980
* icontheme: Don't force missing iconBenjamin Otte2014-05-141-4/+4
| | | | | | When forcing regular or symbolic icons, fall back to the default specified icons. This ensures that when no symbolic icon is present, an icon will still appear - the regular one.
* API: icontheme: Add 2 new GtkIconLookupFlagsBenjamin Otte2014-05-141-1/+7
| | | | | | | | GTK_ICON_LOOKUP_FORCE_REGULAR and GTK_ICON_LOOKUP_FORCE_SYMBOLIC can be used to force a regular or symbolic icon to be loaded, even if the icon names specify a different version. This is intended to support the CSS property -gtk-icon-style.
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-1/+1
|
* docs: fix typoVolker Sobek2014-01-211-1/+1
| | | | Correct the last occurrence of 'explicitely'.
* docs: fix docs for GtkIconLookupFlagsWilliam Jon McCann2014-01-211-3/+3
|
* docs: fix docs for GtkIconThemeWilliam Jon McCann2014-01-211-1/+1
|
* docs: avoid ambiguous return tagsWilliam Jon McCann2014-01-211-1/+1
|
* docs: add Gtk*Class docsWilliam Jon McCann2014-01-201-0/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=81006
* GtkIconInfo: add gtk_icon_info_is_symbolic()William Hua2014-01-081-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710351
* docs: gtk_icon_theme_lookup_by_gicon_for_scale() is newMurray Cumming2013-07-271-0/+1
| | | | It was added in commit 58adb70d43dfc6a10dde5847850c8a58e0c08137 .
* GtkIconTheme: Add helpers to load to cairo_surface_tAlexander Larsson2013-07-031-0/+12
| | | | | | Right now this just uses the pixbuf load code and converts it to a surface. In the future we could cache the pattern to allow reusing the surface.
* icontheme: Add support for high resolution iconsCarlos Garnacho2013-07-031-0/+28
| | | | | | | | | | | | | | | | | | | | | An optional OutputScale integer key has been added to index.theme subdirs description, so icon themes may provide icons that are more suitable to render at a (typically 2x) integer upscaled resolution. This way it is possible to make eg. a 16x16@2x icon has a real size of 32x32, but contains a similar level of detail to the 16x16 icon so things don't look any more cluttered on high-dpi screens. The pixbuf lookup has changed so it prefers a minimal scale change that yields the minimal real size difference, so if looking up for a 16x16 icon at 2x, it would first prefer 16x16@2x, then 32x32, and then any other icon that's closest to match There is now *_for_scale() variants for all GtkIconTheme ways to directly or indirectly fetch a GdkPixbuf. This is based on code by Carlos Garnacho with changes by Alexander Larsson
* Add annotations to gtk headersMatthias Clasen2013-05-051-0/+34
| | | | Add annotations to all exported functions in GTK+ headers.
* icontheme: Remove unused functionBenjamin Otte2013-04-061-1/+0
|
* Fix GtkIconInfo docsAlexander Larsson2013-02-151-0/+2
| | | | | | | | | | | gtk_icon_info_copy and gtk_icon_info_free are deprecated for the corresponding GObject methods. We set correct transfer markup for the GtkIconInfo returning methods to fix the introspection of them. gtk_icon_info_load_symbolic_for_context_async had the wrong method name in its documentation block.
* GtkIconTheme: Add async versions of symbolic icon loadersAlexander Larsson2013-02-141-0/+25
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693802
* Add gtk_icon_info_load_icon_asyncAlexander Larsson2013-02-141-0/+9
| | | | | | | This lets you asynchronously load icons. We need this for gnome-shell to replace its current non-threadsafe use of GtkIconTheme. https://bugzilla.gnome.org/show_bug.cgi?id=693802
* Make GtkIconInfo a GObjectAlexander Larsson2013-02-141-0/+6
| | | | | | | | | | | This is necessary in order to have async operations on it. All the old copy/free functions keeps working, and g_boxed_copy on a GObject also works, so this should be mostly compatible, but techncally its a minor ABI break since the GType changes fundamental type. Changes like this has happened before though, like with GVariant becomming its own fundamental type. https://bugzilla.gnome.org/show_bug.cgi?id=693802
* Move single-include guards inside include guardsMatthias Clasen2012-12-281-3/+3
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gtk: Use versioned deprecationsMatthias Clasen2012-02-271-1/+1
| | | | | | | This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions in 3.2 and 3.4.
* Drop use of GDK_DISABLE_DEPRECATED guards in gtkMatthias Clasen2011-11-091-2/+0
| | | | | We now use function attributes for deprecation so the build-breaking guards are no longer needed.
* Move gtkstyle and gtkrc to deprecated/Matthias Clasen2011-11-021-1/+0
| | | | | | This required a somewhat more substantial include reshuffling. Some typedefs have been moved to gtkiconfactory.h and to gtksettings.h.
* Add deprecation annotations for deprecated functionsMatthias Clasen2011-10-111-0/+1
| | | | | | We define our own GDK_DEPRECATED[_FOR] macros for this and allow it to be turned off by defining the GDK_DISABLE_DEPRECATION_WARNINGS macro.
* gtk: Use const instead G_CONST_RETURNJavier Jardón2011-06-101-2/+2
|
* Move documentation to inline comments: GtkIconThemeJavier Jardón2011-04-151-0/+22
|
* icontheme: constify arguments to gtk_icon_theme_load_symbolic()Benjamin Otte2011-02-111-4/+4
|
* gtk: add missing class paddingMichael Natterer2011-01-251-0/+6
| | | | | | Sorry for this late ABI break, but the newly added style classes definitely need padding, so I can just as well add missing padding globally.