aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Screen.hh13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index eaeac91..81ab652 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.hh,v 1.129 2003/12/19 00:34:23 fluxgen Exp $ 25// $Id: Screen.hh,v 1.130 2003/12/19 01:46:58 fluxgen Exp $
26 26
27#ifndef SCREEN_HH 27#ifndef SCREEN_HH
28#define SCREEN_HH 28#define SCREEN_HH
@@ -97,7 +97,6 @@ public:
97 inline bool isDesktopWheeling() const { return *resource.desktop_wheeling; } 97 inline bool isDesktopWheeling() const { return *resource.desktop_wheeling; }
98 inline bool doAutoRaise() const { return *resource.auto_raise; } 98 inline bool doAutoRaise() const { return *resource.auto_raise; }
99 inline bool clickRaises() const { return *resource.click_raises; } 99 inline bool clickRaises() const { return *resource.click_raises; }
100 inline bool doImageDither() const { return *resource.image_dither; }
101 inline bool doOpaqueMove() const { return *resource.opaque_move; } 100 inline bool doOpaqueMove() const { return *resource.opaque_move; }
102 inline bool doFullMax() const { return *resource.full_max; } 101 inline bool doFullMax() const { return *resource.full_max; }
103 inline bool doFocusNew() const { return *resource.focus_new; } 102 inline bool doFocusNew() const { return *resource.focus_new; }
@@ -184,12 +183,8 @@ public:
184 183
185 inline void setRootColormapInstalled(bool r) { root_colormap_installed = r; } 184 inline void setRootColormapInstalled(bool r) { root_colormap_installed = r; }
186 inline void saveRootCommand(std::string rootcmd) { *resource.rootcommand = rootcmd; } 185 inline void saveRootCommand(std::string rootcmd) { *resource.rootcommand = rootcmd; }
187 inline void saveResizeMode(std::string resizem) { *resource.resizemode = resizem; }
188 inline void saveFocusModel(FocusModel model) { resource.focus_model = model; } 186 inline void saveFocusModel(FocusModel model) { resource.focus_model = model; }
189 inline void saveWorkspaces(int w) { *resource.workspaces = w; } 187 inline void saveWorkspaces(int w) { *resource.workspaces = w; }
190 inline void saveEdgeSnapThreshold(int t) { resource.edge_snap_threshold = t; }
191 inline void saveImageDither(bool d) { resource.image_dither = d; }
192
193 188
194 189
195 void setAntialias(bool value); 190 void setAntialias(bool value);
@@ -211,6 +206,9 @@ public:
211 const FbTk::ResourceManager &resourceManager() const { return m_resource_manager; } 206 const FbTk::ResourceManager &resourceManager() const { return m_resource_manager; }
212 const std::string &name() const { return m_name; } 207 const std::string &name() const { return m_name; }
213 const std::string &altName() const { return m_altname; } 208 const std::string &altName() const { return m_altname; }
209 bool isShuttingdown() const { return m_shutdown; }
210
211
214 int addWorkspace(); 212 int addWorkspace();
215 int removeLastWorkspace(); 213 int removeLastWorkspace();
216 // scroll workspaces 214 // scroll workspaces
@@ -305,6 +303,7 @@ public:
305 void updateNetizenConfigNotify(XEvent &ev); 303 void updateNetizenConfigNotify(XEvent &ev);
306 void updateNetizenWindowRaise(Window); 304 void updateNetizenWindowRaise(Window);
307 void updateNetizenWindowLower(Window); 305 void updateNetizenWindowLower(Window);
306
308 /// create window frame for client window and attach it 307 /// create window frame for client window and attach it
309 FluxboxWindow *createWindow(Window clientwin); 308 FluxboxWindow *createWindow(Window clientwin);
310 FluxboxWindow *createWindow(WinClient &client); 309 FluxboxWindow *createWindow(WinClient &client);
@@ -322,7 +321,7 @@ public:
322 void addConfigMenu(const char *label, FbTk::Menu &menu); 321 void addConfigMenu(const char *label, FbTk::Menu &menu);
323 void removeConfigMenu(FbTk::Menu &menu); 322 void removeConfigMenu(FbTk::Menu &menu);
324 323
325 bool isShuttingdown() const { return m_shutdown; } 324
326 325
327 326
328 327