summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-31 13:51:01 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-31 13:51:01 +0000
commit7440ea209ad349d92f27796f1c8d8090c4541ab8 (patch)
tree20b6ba658ca93e412633cea9ed042d7506f59b01 /src/drivers/GDI/Fl_GDI_Graphics_Driver.h
parentcaf2a7e92c371df699a87553032f62dcd44a5487 (diff)
Moved fl_create_bitmask and fl_delete_bitmask functions into driver structure. Tested on OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver.h')
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.h b/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
index 86f16b31b..1e8ff72d7 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
@@ -41,6 +41,10 @@ public:
static const char *class_id;
const char *class_name() {return class_id;};
virtual int has_feature(driver_feature mask) { return mask & NATIVE; }
+
+ // --- bitmap stuff
+ Fl_Bitmask create_bitmask(int w, int h, const uchar *array);
+ void delete_bitmask(Fl_Bitmask bm);
void draw(const char* str, int n, int x, int y);
void draw(int angle, const char *str, int n, int x, int y);
void rtl_draw(const char* str, int n, int x, int y);