summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI
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 /src/drivers/WinAPI
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 'src/drivers/WinAPI')
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_System_Driver.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_System_Driver.H b/src/drivers/WinAPI/Fl_WinAPI_System_Driver.H
index 2bbc81316..445af30ef 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_System_Driver.H
+++ b/src/drivers/WinAPI/Fl_WinAPI_System_Driver.H
@@ -42,6 +42,7 @@
class Fl_WinAPI_System_Driver : public Fl_System_Driver
{
public:
+ static unsigned win_pixmap_bg_color; // the RGB() of the pixmap background color
virtual void warning(const char *format, va_list args);
virtual void error(const char *format, va_list args);
virtual void fatal(const char *format, va_list args);
@@ -93,6 +94,9 @@ public:
// this one is implemented in Fl_win32.cxx
virtual void* thread_message();
virtual int file_type(const char *filename);
+ virtual int pixmap_extra_transparent_processing() {return 1;}
+ // this one is implemented in fl_draw_pixmap.cxx
+ virtual void make_unused_color(unsigned char &r, unsigned char &g, unsigned char &b);
};
#endif // FL_WINAPI_SYSTEM_DRIVER_H