diff options
author | rathnor <rathnor> | 2003-09-29 12:53:58 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-09-29 12:53:58 (GMT) |
commit | 10ce5372d99251d65ff0d4e65c6e19cf05bb208a (patch) | |
tree | 554880caa9be789ff07b38393f36b9aba8e875b7 /src/Screen.hh | |
parent | 48cc8772e32ad9cb56a0086840be41e72e94c41e (diff) | |
download | fluxbox_pavel-10ce5372d99251d65ff0d4e65c6e19cf05bb208a.zip fluxbox_pavel-10ce5372d99251d65ff0d4e65c6e19cf05bb208a.tar.bz2 |
quadrant-resizing (Thanks Mathias Gumz)
Diffstat (limited to 'src/Screen.hh')
-rw-r--r-- | src/Screen.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index de25c7d..7e221e3 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.124 2003/09/08 16:37:27 fluxgen Exp $ | 25 | // $Id: Screen.hh,v 1.125 2003/09/29 12:53:58 rathnor Exp $ |
26 | 26 | ||
27 | #ifndef SCREEN_HH | 27 | #ifndef SCREEN_HH |
28 | #define SCREEN_HH | 28 | #define SCREEN_HH |
@@ -92,13 +92,14 @@ public: | |||
92 | inline bool doFocusNew() const { return *resource.focus_new; } | 92 | inline bool doFocusNew() const { return *resource.focus_new; } |
93 | inline bool doFocusLast() const { return *resource.focus_last; } | 93 | inline bool doFocusLast() const { return *resource.focus_last; } |
94 | inline bool doShowWindowPos() const { return *resource.show_window_pos; } | 94 | inline bool doShowWindowPos() const { return *resource.show_window_pos; } |
95 | bool antialias() const { return *resource.antialias; } | 95 | inline bool antialias() const { return *resource.antialias; } |
96 | 96 | ||
97 | inline FbTk::ImageControl &imageControl() { return *m_image_control.get(); } | 97 | inline FbTk::ImageControl &imageControl() { return *m_image_control.get(); } |
98 | const FbTk::Menu * const getRootmenu() const { return m_rootmenu.get(); } | 98 | const FbTk::Menu * const getRootmenu() const { return m_rootmenu.get(); } |
99 | FbTk::Menu * const getRootmenu() { return m_rootmenu.get(); } | 99 | FbTk::Menu * const getRootmenu() { return m_rootmenu.get(); } |
100 | 100 | ||
101 | inline const std::string &getRootCommand() const { return *resource.rootcommand; } | 101 | inline const std::string &getRootCommand() const { return *resource.rootcommand; } |
102 | inline const std::string &getResizeMode() const { return *resource.resizemode; } | ||
102 | inline Fluxbox::FocusModel getFocusModel() const { return *resource.focus_model; } | 103 | inline Fluxbox::FocusModel getFocusModel() const { return *resource.focus_model; } |
103 | 104 | ||
104 | inline Slit *slit() { return m_slit.get(); } | 105 | inline Slit *slit() { return m_slit.get(); } |
@@ -170,6 +171,7 @@ public: | |||
170 | 171 | ||
171 | inline void setRootColormapInstalled(bool r) { root_colormap_installed = r; } | 172 | inline void setRootColormapInstalled(bool r) { root_colormap_installed = r; } |
172 | inline void saveRootCommand(std::string rootcmd) { *resource.rootcommand = rootcmd; } | 173 | inline void saveRootCommand(std::string rootcmd) { *resource.rootcommand = rootcmd; } |
174 | inline void saveResizeMode(std::string resizem) { *resource.resizemode = resizem; } | ||
173 | inline void saveFocusModel(Fluxbox::FocusModel model) { resource.focus_model = model; } | 175 | inline void saveFocusModel(Fluxbox::FocusModel model) { resource.focus_model = model; } |
174 | inline void saveWorkspaces(int w) { *resource.workspaces = w; } | 176 | inline void saveWorkspaces(int w) { *resource.workspaces = w; } |
175 | 177 | ||
@@ -421,6 +423,7 @@ private: | |||
421 | focus_last, focus_new, | 423 | focus_last, focus_new, |
422 | antialias, auto_raise, click_raises; | 424 | antialias, auto_raise, click_raises; |
423 | FbTk::Resource<std::string> rootcommand; | 425 | FbTk::Resource<std::string> rootcommand; |
426 | FbTk::Resource<std::string> resizemode; | ||
424 | FbTk::Resource<Fluxbox::FocusModel> focus_model; | 427 | FbTk::Resource<Fluxbox::FocusModel> focus_model; |
425 | bool ordered_dither; | 428 | bool ordered_dither; |
426 | FbTk::Resource<int> workspaces, edge_snap_threshold, menu_alpha; | 429 | FbTk::Resource<int> workspaces, edge_snap_threshold, menu_alpha; |