From 24dd636f7318b0d21637aa7ffe253fe0ebf71f24 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 11 Nov 2002 10:41:44 +0000 Subject: watch for when screens cant be managed --- src/screen.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/screen.hh') 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 -- cgit v1.2.3