From 3797138f9384025285a69b1eb0c57f4cc6f6f1e3 Mon Sep 17 00:00:00 2001 From: fluxgen <fluxgen> Date: Tue, 15 Apr 2003 12:14:13 +0000 Subject: const accessor for windowstyle --- src/Screen.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Screen.hh b/src/Screen.hh index 8be5d42..87a7e90 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.75 2003/04/15 00:50:24 rathnor Exp $ +// $Id: Screen.hh,v 1.76 2003/04/15 12:14:13 fluxgen Exp $ #ifndef SCREEN_HH #define SCREEN_HH @@ -231,6 +231,7 @@ public: inline void saveClock24Hour(bool c) { resource.clock24hour = c; } inline Theme::WindowStyle *getWindowStyle() { return &theme->getWindowStyle(); } + inline const Theme::WindowStyle *getWindowStyle() const { return &theme->getWindowStyle(); } inline FbWinFrameTheme &winFrameTheme() { return m_windowtheme; } inline const FbWinFrameTheme &winFrameTheme() const { return m_windowtheme; } inline FbTk::MenuTheme *menuTheme() { return m_menutheme.get(); } -- cgit v0.11.2