ui/gtk/image.h

branch
newapi
changeset 296
a362c76dbf99
parent 275
132c7bcc6997
equal deleted inserted replaced
295:35d6e9b5d4b3 296:a362c76dbf99
39 #define UI_SUPPORTS_SCALE 39 #define UI_SUPPORTS_SCALE
40 #endif 40 #endif
41 41
42 42
43 struct UiIcon { 43 struct UiIcon {
44 #if GTK_MAJOR_VERSION >= 4
45 GtkIconPaintable *info;
46 #else
44 GtkIconInfo *info; 47 GtkIconInfo *info;
48 #endif
45 GdkPixbuf *pixbuf; 49 GdkPixbuf *pixbuf;
46 }; 50 };
47 51
48 struct UiImage { 52 struct UiImage {
49 GdkPixbuf *pixbuf; 53 GdkPixbuf *pixbuf;

mercurial