summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-12 13:47:38 +0000
committerManolo Gouy <Manolo>2016-04-12 13:47:38 +0000
commitfce1483eb82be85c1b95abfd1d9a486556bce0e3 (patch)
tree1630d3b1369d37c6c105eb44b2067e1122557f5f /FL
parent3d4ce29bd914b345e8b8675f0ed526cc4d8f5033 (diff)
Rewrite fl_draw_pixmap.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_System_Driver.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index 82b206401..0ad4fd4b1 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -159,6 +159,9 @@ public:
virtual void* thread_message() {return NULL;}
// implement to support Fl_File_Icon
virtual int file_type(const char *filename);
+ // the default implementations of pixmap_extra_transparent_processing() and make_unused_color() and are most probably enough
+ virtual int pixmap_extra_transparent_processing() {return 0;}
+ virtual void make_unused_color(unsigned char &r, unsigned char &g, unsigned char &b) {}
};
#endif // FL_SYSTEM_DRIVER_H