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/ScreenPlacement.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/ScreenPlacement.hh')
-rw-r--r-- | src/ScreenPlacement.hh | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/ScreenPlacement.hh b/src/ScreenPlacement.hh index cbe1528..4751e3d 100644 --- a/src/ScreenPlacement.hh +++ b/src/ScreenPlacement.hh | |||
@@ -23,6 +23,7 @@ | |||
23 | #define SCREENPLACEMENT_HH | 23 | #define SCREENPLACEMENT_HH |
24 | 24 | ||
25 | #include "PlacementStrategy.hh" | 25 | #include "PlacementStrategy.hh" |
26 | #include "Resources.hh" | ||
26 | #include "FbTk/Resource.hh" | 27 | #include "FbTk/Resource.hh" |
27 | 28 | ||
28 | #include <memory> | 29 | #include <memory> |
@@ -42,24 +43,6 @@ class BScreen; | |||
42 | */ | 43 | */ |
43 | class ScreenPlacement: public PlacementStrategy { | 44 | class ScreenPlacement: public PlacementStrategy { |
44 | public: | 45 | public: |
45 | enum PlacementPolicy { | ||
46 | ROWSMARTPLACEMENT, | ||
47 | COLSMARTPLACEMENT, | ||
48 | COLMINOVERLAPPLACEMENT, | ||
49 | ROWMINOVERLAPPLACEMENT, | ||
50 | CASCADEPLACEMENT, | ||
51 | UNDERMOUSEPLACEMENT | ||
52 | }; | ||
53 | |||
54 | enum RowDirection { | ||
55 | LEFTRIGHT, ///< from left to right | ||
56 | RIGHTLEFT ///< from right to left | ||
57 | }; | ||
58 | enum ColumnDirection { | ||
59 | TOPBOTTOM, ///< from top to bottom | ||
60 | BOTTOMTOP ///< from bottom to top | ||
61 | }; | ||
62 | |||
63 | explicit ScreenPlacement(BScreen &screen); | 46 | explicit ScreenPlacement(BScreen &screen); |
64 | 47 | ||
65 | virtual ~ScreenPlacement() {} | 48 | virtual ~ScreenPlacement() {} |