summaryrefslogtreecommitdiff
path: root/gtk/bitmap.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-13 23:49:44 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-13 23:49:44 +0100
commitc02f552e8704f52e1a9ab92b21cb7d23211d98ab (patch)
tree6f4e576dbaeaa7026f5956adc754f853a8053e0f /gtk/bitmap.h
parentf37e52c39475e6efd3740c5ae1ec4f290662928f (diff)
downloadnetsurf-c02f552e8704f52e1a9ab92b21cb7d23211d98ab.tar.gz
netsurf-c02f552e8704f52e1a9ab92b21cb7d23211d98ab.tar.bz2
chnage GTK frontend to using bitmap operation table
Diffstat (limited to 'gtk/bitmap.h')
-rw-r--r--gtk/bitmap.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/bitmap.h b/gtk/bitmap.h
index 62d50f47c..0f46d19a8 100644
--- a/gtk/bitmap.h
+++ b/gtk/bitmap.h
@@ -20,7 +20,8 @@
#define NS_GTK_BITMAP_H
#include <cairo.h>
-#include "image/bitmap.h"
+
+extern struct gui_bitmap_table *nsgtk_bitmap_table;
struct bitmap {
cairo_surface_t *surface; /* original cairo surface */
@@ -28,4 +29,7 @@ struct bitmap {
bool converted; /** set if the surface data has been converted */
};
+int nsgtk_bitmap_get_width(void *vbitmap);
+int nsgtk_bitmap_get_height(void *vbitmap);
+
#endif /* NS_GTK_BITMAP_H */