summaryrefslogtreecommitdiff
path: root/src/screen.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.hh')
-rw-r--r--src/screen.hh6
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