diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-08-15 21:03:57 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-11-01 10:04:02 (GMT) |
commit | 698a4af938737295494dade50950d1aeebc8b55d (patch) | |
tree | 075017c3a59ac2575f708d223cf2391e82b9eb69 /src/FocusControl.hh | |
parent | 678a98de943963e993827540496741ae814af8bd (diff) | |
download | fluxbox_paul-698a4af938737295494dade50950d1aeebc8b55d.zip fluxbox_paul-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.hh | 13 |
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 | ||
30 | class ClientPattern; | 31 | class ClientPattern; |
31 | class WinClient; | 32 | class WinClient; |
@@ -40,18 +41,6 @@ class BScreen; | |||
40 | class FocusControl { | 41 | class FocusControl { |
41 | public: | 42 | public: |
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 |