aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2005-09-07 16:46:17 (GMT)
committersimonb <simonb>2005-09-07 16:46:17 (GMT)
commit070a216aa88ed56d391db8b73e7e9356e90742bb (patch)
tree0fdc7090dd22dda004ef6a44f774999f6c3bed29 /src/Screen.hh
parentcfb26be26928c53a0be267f4707041bb82371519 (diff)
downloadfluxbox_paul-070a216aa88ed56d391db8b73e7e9356e90742bb.zip
fluxbox_paul-070a216aa88ed56d391db8b73e7e9356e90742bb.tar.bz2
Add titlebar scrolling options (thanks Krzysiek Pawlik <krzysiek.pawlik__AT__people.pl>)
New init options added: session.screenN.windowScrollAction: Shade|NextTab - set the action that happens when scrolling on the titlebar session.screenN.windowScrollReverse: true|false - reverse the action direction
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index 3316fab..bac0f29 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -141,6 +141,9 @@ public:
141 141
142 inline FollowModel getFollowModel() const { return *resource.follow_model; } 142 inline FollowModel getFollowModel() const { return *resource.follow_model; }
143 143
144 inline const std::string &getScrollAction() const { return *resource.scroll_action; }
145 inline const bool getScrollReverse() const { return *resource.scroll_reverse; }
146
144 inline Slit *slit() { return m_slit.get(); } 147 inline Slit *slit() { return m_slit.get(); }
145 inline const Slit *slit() const { return m_slit.get(); } 148 inline const Slit *slit() const { return m_slit.get(); }
146 149
@@ -465,6 +468,8 @@ private:
465 FbTk::Resource<FbTk::GContext::LineStyle> gc_line_style; 468 FbTk::Resource<FbTk::GContext::LineStyle> gc_line_style;
466 FbTk::Resource<FbTk::GContext::JoinStyle> gc_join_style; 469 FbTk::Resource<FbTk::GContext::JoinStyle> gc_join_style;
467 FbTk::Resource<FbTk::GContext::CapStyle> gc_cap_style; 470 FbTk::Resource<FbTk::GContext::CapStyle> gc_cap_style;
471 FbTk::Resource<std::string> scroll_action;
472 FbTk::Resource<bool> scroll_reverse;
468 473
469 } resource; 474 } resource;
470 475