diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-02-10 20:26:51 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-02-10 20:26:51 +0000 |
| commit | c3b3105720fbe10af88c97c25bc8939659021f07 (patch) | |
| tree | 05f2cd0543a209df99e3b8531bb80477ccf4eb72 /src/drivers/Cocoa | |
| parent | e83bc2527fd412bc235f1f8743659e31b12bdc31 (diff) | |
Fix Screen Driver implementation for X11
- moved stuff around to fit X11 file layout
- fixed a few Cocoa variables
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Cocoa')
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.h b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.h index b0a64743c..4023e8706 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.h +++ b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.h @@ -26,6 +26,7 @@ #define FL_COCOA_SCREEN_DRIVER_H #include <FL/Fl_Screen_Driver.H> +#include <FL/x.H> /* Move everything here that manages the native screen interface. @@ -38,7 +39,13 @@ */ -class FL_EXPORT Fl_Cocoa_Screen_Driver : public Fl_Screen_Driver { +class FL_EXPORT Fl_Cocoa_Screen_Driver : public Fl_Screen_Driver +{ +protected: + XRectangle screens[MAX_SCREENS]; + float dpi_h[MAX_SCREENS]; + float dpi_v[MAX_SCREENS]; + public: virtual void init(); virtual int x(); |
