diff options
author | Cosimo Cecchi <[email protected]> | 2013-08-02 14:37:13 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-04-05 09:07:22 +0200 |
commit | 4bf67ac8fff8555bf784d8cd7e1611829a9fca44 (patch) | |
tree | 343275a74d64866035b0850d5583c83eb20fe486 /libcaja-private/caja-file.h | |
parent | 35c4dc6021f36a5fc7df94b0332c7e5d6fa00d0a (diff) | |
download | caja-4bf67ac8fff8555bf784d8cd7e1611829a9fca44.tar.bz2 caja-4bf67ac8fff8555bf784d8cd7e1611829a9fca44.tar.xz |
Support HiDpi icons
Port the rendering of icons to cairo surfaces, so that we can apply the
GDK scale factor when rendering icons.
origin commit:
https://gitlab.gnome.org/GNOME/nautilus/commit/0d4555d7
Diffstat (limited to 'libcaja-private/caja-file.h')
-rw-r--r-- | libcaja-private/caja-file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcaja-private/caja-file.h b/libcaja-private/caja-file.h index f94bbe33..6a30b618 100644 --- a/libcaja-private/caja-file.h +++ b/libcaja-private/caja-file.h @@ -453,10 +453,12 @@ GIcon * caja_file_get_gicon (CajaFile CajaFileIconFlags flags); CajaIconInfo * caja_file_get_icon (CajaFile *file, int size, + int scale, CajaFileIconFlags flags); GdkPixbuf * caja_file_get_icon_pixbuf (CajaFile *file, int size, gboolean force_size, + int scale, CajaFileIconFlags flags); gboolean caja_file_has_open_window (CajaFile *file); |