aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-12 12:52:18 (GMT)
committerPaul Tagliamonte <paultag@fluxbox.org>2012-04-07 02:11:31 (GMT)
commitd232e10f8fadfbaae834c0ba124cef16cd0bc356 (patch)
tree52b5280c0f8339714e247517a8f40e37381ba6be /src/Screen.hh
parent137d2edaa8cb5f4f41e2ef85de3b4316b32daf79 (diff)
downloadfluxbox_paul-d232e10f8fadfbaae834c0ba124cef16cd0bc356.zip
fluxbox_paul-d232e10f8fadfbaae834c0ba124cef16cd0bc356.tar.bz2
Add RangeTraits class which automatically clamps the value of resources
and start using it.
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index db357d1..1057229 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -537,8 +537,9 @@ private:
537 FbTk::StringResource windowmenufile; 537 FbTk::StringResource windowmenufile;
538 FbTk::UIntResource typing_delay; 538 FbTk::UIntResource typing_delay;
539 FbTk::IntResource workspaces, edge_snap_threshold, focused_alpha, 539 FbTk::IntResource workspaces, edge_snap_threshold, focused_alpha,
540 unfocused_alpha, menu_alpha, menu_delay, 540 unfocused_alpha, menu_alpha;
541 tab_width, tooltip_delay; 541 FbTk::RangedIntResource menu_delay;
542 FbTk::IntResource tab_width, tooltip_delay;
542 FbTk::BoolResource allow_remote_actions; 543 FbTk::BoolResource allow_remote_actions;
543 FbTk::BoolResource clientmenu_use_pixmap; 544 FbTk::BoolResource clientmenu_use_pixmap;
544 FbTk::BoolResource tabs_use_pixmap; 545 FbTk::BoolResource tabs_use_pixmap;