From c02f552e8704f52e1a9ab92b21cb7d23211d98ab Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 13 Apr 2015 23:49:44 +0100 Subject: chnage GTK frontend to using bitmap operation table --- gtk/bitmap.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gtk/bitmap.h') 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 -#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 */ -- cgit v1.2.3