aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-15 21:03:57 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-11-01 10:04:02 (GMT)
commit698a4af938737295494dade50950d1aeebc8b55d (patch)
tree075017c3a59ac2575f708d223cf2391e82b9eb69 /src/FocusControl.hh
parent678a98de943963e993827540496741ae814af8bd (diff)
downloadfluxbox_pavel-698a4af938737295494dade50950d1aeebc8b55d.zip
fluxbox_pavel-698a4af938737295494dade50950d1aeebc8b55d.tar.bz2
Move declarations of Resource enums to a separate file
The reason for this is that I need to access those enums from fluxbox-update_configs and I don't want to #include and link everything in src. I also merged Slit::Placement, Toolbar::Placement and FbWinFrame::TabPlacement into one enum.
Diffstat (limited to 'src/FocusControl.hh')
-rw-r--r--src/FocusControl.hh13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/FocusControl.hh b/src/FocusControl.hh
index 19059da..8a8c96f 100644
--- a/src/FocusControl.hh
+++ b/src/FocusControl.hh
@@ -26,6 +26,7 @@
26 26
27#include "FbTk/Resource.hh" 27#include "FbTk/Resource.hh"
28#include "FocusableList.hh" 28#include "FocusableList.hh"
29#include "Resources.hh"
29 30
30class ClientPattern; 31class ClientPattern;
31class WinClient; 32class WinClient;
@@ -40,18 +41,6 @@ class BScreen;
40class FocusControl { 41class FocusControl {
41public: 42public:
42 typedef std::list<Focusable *> Focusables; 43 typedef std::list<Focusable *> Focusables;
43 /// main focus model
44 enum FocusModel {
45 MOUSEFOCUS = 0, ///< focus follows mouse, but only when the mouse is moving
46 CLICKFOCUS, ///< focus on click
47 STRICTMOUSEFOCUS ///< focus always follows mouse, even when stationary
48 };
49 /// focus model for tabs
50 enum TabFocusModel {
51 MOUSETABFOCUS = 0, ///< tab focus follows mouse
52 CLICKTABFOCUS ///< tab focus on click
53 };
54
55 /// focus direction for windows 44 /// focus direction for windows
56 enum FocusDir { 45 enum FocusDir {
57 FOCUSUP, ///< window is above 46 FOCUSUP, ///< window is above