diff options
Diffstat (limited to 'client/monitor.h')
-rw-r--r-- | client/monitor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/monitor.h b/client/monitor.h index 59ec1e06..7a4ba3f2 100644 --- a/client/monitor.h +++ b/client/monitor.h @@ -29,8 +29,8 @@ public: void set_free() {_free = true;} void set_used() {_free = false;} - virtual void set_mode(int width, int height) = 0; - virtual void restore() = 0; + void set_mode(int width, int height); + void restore(); virtual int get_depth() = 0; virtual Point get_position() = 0; virtual Point get_size() const = 0; @@ -41,6 +41,8 @@ public: protected: virtual ~Monitor() {} + virtual void do_set_mode(int width, int height) = 0; + virtual void do_restore() = 0; private: int _id; |