From 47d27a0bab8d6585d3031b7945c7ee6718f8d228 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Tue, 23 Jul 2002 18:37:05 +0000
Subject: theme access

---
 src/Screen.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Screen.hh b/src/Screen.hh
index d6f87ee..00d429d 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: Screen.hh,v 1.38 2002/07/23 13:47:05 fluxgen Exp $
+// $Id: Screen.hh,v 1.39 2002/07/23 18:37:05 fluxgen Exp $
 
 #ifndef	 SCREEN_HH
 #define	 SCREEN_HH
@@ -89,7 +89,7 @@ public:
 	inline bool doFocusLast(void) const { return *resource.focus_last; }
 	inline bool doShowWindowPos(void) const { return *resource.show_window_pos; }
 
-	inline const GC &getOpGC() const { return theme->getOpGC(); }
+	inline GC getOpGC() const { return theme->getOpGC(); }
 	
 	inline const FbTk::Color *getBorderColor(void) const { return &theme->getBorderColor(); }
 	inline BImageControl *getImageControl(void) { return image_control; }
@@ -196,7 +196,7 @@ public:
 	inline Theme::WindowStyle *getWindowStyle(void) { return &theme->getWindowStyle(); } 
 	inline Theme::MenuStyle *getMenuStyle(void) { return &theme->getMenuStyle(); } 
 	inline Theme::ToolbarStyle *getToolbarStyle(void) { return &theme->getToolbarStyle(); } 
-
+	const Theme *getTheme() const { return theme; }
 	FluxboxWindow *getIcon(unsigned int index);
 
 	int addWorkspace(void);
-- 
cgit v0.11.2