diff options
| author | Manolo Gouy <Manolo> | 2016-03-28 09:25:11 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-28 09:25:11 +0000 |
| commit | 6284720098cb3682f950db427c95ac87c2a10b3c (patch) | |
| tree | dbcfaa3ff88b889c91856f79136a6e25cf7ca914 /FL | |
| parent | 3dfec155adf812941e4478b210d1bee4dbd56c01 (diff) | |
Rewrite file src/Fl_arg.cxx under the driver model. Begin giving flesh to the Fl_System_Driver class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_System_Driver.H | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 81128fdcf..bf11d440c 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -54,9 +54,22 @@ typedef struct _XRegion *Fl_Region; \brief A base class for platform specific window handling code. */ class FL_EXPORT Fl_System_Driver { -public: +protected: Fl_System_Driver(); +public: virtual ~Fl_System_Driver(); + static Fl_System_Driver *driver(); + static const int flNoValue; + static const int flWidthValue; + static const int flHeightValue; + static const int flXValue; + static const int flYValue; + static const int flXNegative; + static const int flYNegative; + virtual int single_arg(const char *arg) { return 0; } + virtual int arg_and_value(const char *name, const char *value) { return 0; } + virtual void display_arg(const char *arg) { } + virtual int XParseGeometry(const char*, int*, int*, unsigned int*, unsigned int*); }; #endif // FL_SYSTEM_DRIVER_H |
