Mercurial > geeqie
comparison src/pixbuf_util.h @ 1443:f879e7d94c6d
gint -> gboolean.
author | zas_ |
---|---|
date | Sun, 15 Mar 2009 13:33:56 +0000 |
parents | 63eb48237608 |
children | 956aab097ea7 |
comparison
equal
deleted
inserted
replaced
1442:e37cde2857c1 | 1443:f879e7d94c6d |
---|---|
22 gboolean register_theme_icon_as_stock(const gchar *key, const gchar *icon); | 22 gboolean register_theme_icon_as_stock(const gchar *key, const gchar *icon); |
23 | 23 |
24 GdkPixbuf *pixbuf_inline(const gchar *key); | 24 GdkPixbuf *pixbuf_inline(const gchar *key); |
25 GdkPixbuf *pixbuf_fallback(FileData *fd, gint requested_width, gint requested_height); | 25 GdkPixbuf *pixbuf_fallback(FileData *fd, gint requested_width, gint requested_height); |
26 | 26 |
27 gint pixbuf_scale_aspect(gint req_w, gint req_h, gint old_w, gint old_h, gint *new_w, gint *new_h); | 27 gboolean pixbuf_scale_aspect(gint req_w, gint req_h, gint old_w, gint old_h, gint *new_w, gint *new_h); |
28 | 28 |
29 #define PIXBUF_INLINE_FOLDER_CLOSED "folder_closed" | 29 #define PIXBUF_INLINE_FOLDER_CLOSED "folder_closed" |
30 #define PIXBUF_INLINE_FOLDER_LOCKED "folder_locked" | 30 #define PIXBUF_INLINE_FOLDER_LOCKED "folder_locked" |
31 #define PIXBUF_INLINE_FOLDER_OPEN "folder_open" | 31 #define PIXBUF_INLINE_FOLDER_OPEN "folder_open" |
32 #define PIXBUF_INLINE_FOLDER_UP "folder_up" | 32 #define PIXBUF_INLINE_FOLDER_UP "folder_up" |
42 #define PIXBUF_INLINE_ICON_CONFIG "icon_config" | 42 #define PIXBUF_INLINE_ICON_CONFIG "icon_config" |
43 #define PIXBUF_INLINE_ICON_TOOLS "icon_tools" | 43 #define PIXBUF_INLINE_ICON_TOOLS "icon_tools" |
44 #define PIXBUF_INLINE_ICON_VIEW "icon_view" | 44 #define PIXBUF_INLINE_ICON_VIEW "icon_view" |
45 | 45 |
46 | 46 |
47 GdkPixbuf *pixbuf_copy_rotate_90(GdkPixbuf *src, gint counter_clockwise); | 47 GdkPixbuf *pixbuf_copy_rotate_90(GdkPixbuf *src, gboolean counter_clockwise); |
48 GdkPixbuf *pixbuf_copy_mirror(GdkPixbuf *src, gint mirror, gint flip); | 48 GdkPixbuf *pixbuf_copy_mirror(GdkPixbuf *src, gboolean mirror, gboolean flip); |
49 GdkPixbuf* pixbuf_apply_orientation(GdkPixbuf *pixbuf, gint orientation); | 49 GdkPixbuf* pixbuf_apply_orientation(GdkPixbuf *pixbuf, gint orientation); |
50 | 50 |
51 void pixbuf_draw_rect_fill(GdkPixbuf *pb, | 51 void pixbuf_draw_rect_fill(GdkPixbuf *pb, |
52 gint x, gint y, gint w, gint h, | 52 gint x, gint y, gint w, gint h, |
53 gint r, gint g, gint b, gint a); | 53 gint r, gint g, gint b, gint a); |
93 gint x, gint y, gint w, gint h); | 93 gint x, gint y, gint w, gint h); |
94 | 94 |
95 | 95 |
96 /* clipping utils */ | 96 /* clipping utils */ |
97 | 97 |
98 gint util_clip_region(gint x, gint y, gint w, gint h, | 98 gboolean util_clip_region(gint x, gint y, gint w, gint h, |
99 gint clip_x, gint clip_y, gint clip_w, gint clip_h, | 99 gint clip_x, gint clip_y, gint clip_w, gint clip_h, |
100 gint *rx, gint *ry, gint *rw, gint *rh); | 100 gint *rx, gint *ry, gint *rw, gint *rh); |
101 void util_clip_triangle(gint x1, gint y1, gint x2, gint y2, gint x3, gint y3, | 101 void util_clip_triangle(gint x1, gint y1, gint x2, gint y2, gint x3, gint y3, |
102 gint *rx, gint *ry, gint *rw, gint *rh); | 102 gint *rx, gint *ry, gint *rw, gint *rh); |
103 | 103 |
104 | 104 |
105 #endif | 105 #endif |