diff options
Diffstat (limited to 'gtk/bitmap.h')
-rw-r--r-- | gtk/bitmap.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gtk/bitmap.h b/gtk/bitmap.h index d936f7d76..62d50f47c 100644 --- a/gtk/bitmap.h +++ b/gtk/bitmap.h @@ -19,15 +19,13 @@ #ifndef NS_GTK_BITMAP_H #define NS_GTK_BITMAP_H -#include <gdk/gdk.h> -#include <gdk-pixbuf/gdk-pixbuf.h> +#include <cairo.h> #include "image/bitmap.h" -GdkPixbuf *gtk_bitmap_get_primary(struct bitmap*); -GdkPixbuf *gtk_bitmap_get_pretile_x(struct bitmap*); -GdkPixbuf *gtk_bitmap_get_pretile_y(struct bitmap*); -GdkPixbuf *gtk_bitmap_get_pretile_xy(struct bitmap*); - - +struct bitmap { + cairo_surface_t *surface; /* original cairo surface */ + cairo_surface_t *scsurface; /* scaled surface */ + bool converted; /** set if the surface data has been converted */ +}; #endif /* NS_GTK_BITMAP_H */ |