aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2001-12-13 23:06:14 (GMT)
committerfluxgen <fluxgen>2001-12-13 23:06:14 (GMT)
commit2bea1b3e2bba3d59345cffb0efc1ce8d5d629af2 (patch)
tree73070ff3667c4428d42ed6756d9c8b8a9c230e72
parentd85fb9bdadda1cc976d8c47d5393ee0725461612 (diff)
downloadfluxbox-2bea1b3e2bba3d59345cffb0efc1ce8d5d629af2.zip
fluxbox-2bea1b3e2bba3d59345cffb0efc1ce8d5d629af2.tar.bz2
Changed get*Style to reference instead of pointer
-rw-r--r--src/Screen.hh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index 8ab49d5..95f53c1 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -138,13 +138,13 @@ public:
138 138
139 inline Workspacemenu *getWorkspacemenu(void) { return workspacemenu; } 139 inline Workspacemenu *getWorkspacemenu(void) { return workspacemenu; }
140 140
141 inline const unsigned int &getHandleWidth(void) const 141 inline const unsigned int getHandleWidth(void) const
142 { return theme->getHandleWidth(); } 142 { return theme->getHandleWidth(); }
143 inline const unsigned int &getBevelWidth(void) const 143 inline const unsigned int getBevelWidth(void) const
144 { return theme->getBevelWidth(); } 144 { return theme->getBevelWidth(); }
145 inline const unsigned int &getFrameWidth(void) const 145 inline const unsigned int getFrameWidth(void) const
146 { return theme->getFrameWidth(); } 146 { return theme->getFrameWidth(); }
147 inline const unsigned int &getBorderWidth(void) const 147 inline const unsigned int getBorderWidth(void) const
148 { return theme->getBorderWidth(); } 148 { return theme->getBorderWidth(); }
149 inline const unsigned int getBorderWidth2x(void) const 149 inline const unsigned int getBorderWidth2x(void) const
150 { return theme->getBorderWidth()*2; } 150 { return theme->getBorderWidth()*2; }
@@ -211,9 +211,9 @@ public:
211 inline void saveClock24Hour(Bool c) { resource.clock24hour = c; } 211 inline void saveClock24Hour(Bool c) { resource.clock24hour = c; }
212#endif // HAVE_STRFTIME 212#endif // HAVE_STRFTIME
213 213
214 inline WindowStyle *getWindowStyle(void) { return theme->getWindowStyle(); } 214 inline Theme::WindowStyle *getWindowStyle(void) { return &theme->getWindowStyle(); }
215 inline MenuStyle *getMenuStyle(void) { return theme->getMenuStyle(); } 215 inline Theme::MenuStyle *getMenuStyle(void) { return &theme->getMenuStyle(); }
216 inline ToolbarStyle *getToolbarStyle(void) { return theme->getToolbarStyle(); } 216 inline Theme::ToolbarStyle *getToolbarStyle(void) { return &theme->getToolbarStyle(); }
217 217
218 FluxboxWindow *getIcon(int); 218 FluxboxWindow *getIcon(int);
219 219