diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-11 10:41:44 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-11 10:41:44 +0000 |
| commit | 24dd636f7318b0d21637aa7ffe253fe0ebf71f24 (patch) | |
| tree | 7cc64542881d853c81d06a966669a5246ee36008 /src/screen.hh | |
| parent | e503323dcf36c7b4c173ddc0cd302b8642361f48 (diff) | |
watch for when screens cant be managed
Diffstat (limited to 'src/screen.hh')
| -rw-r--r-- | src/screen.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/screen.hh b/src/screen.hh index 91295f32..516632ac 100644 --- a/src/screen.hh +++ b/src/screen.hh @@ -99,6 +99,12 @@ public: //! Destroys the OBScreen object virtual ~OBScreen(); + //! Returns if the screen was successfully managed + /*! + If this is false, then the screen should be deleted and should NOT be + used. + */ + inline bool managed() const { return _managed; } //! Returns the Image Control used for rendering on the screen inline otk::BImageControl *imageControl() { return _image_control; } //! Returns the dimentions of the screen |
