diff options
author | fluxgen <fluxgen> | 2002-03-19 14:30:43 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-03-19 14:30:43 (GMT) |
commit | 95aeda26271cce3061a46a3ca0b122bc13c8f5c8 (patch) | |
tree | aaa01d20e77a2445a20a0522d86296b981049b8e /src/Slit.hh | |
parent | 1871169b06d8b9909ff26b761d24a40a65ef18f9 (diff) | |
download | fluxbox_pavel-95aeda26271cce3061a46a3ca0b122bc13c8f5c8.zip fluxbox_pavel-95aeda26271cce3061a46a3ca0b122bc13c8f5c8.tar.bz2 |
Xinerama support
Diffstat (limited to 'src/Slit.hh')
-rw-r--r-- | src/Slit.hh | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/src/Slit.hh b/src/Slit.hh index d07cfe0..d3ee5b7 100644 --- a/src/Slit.hh +++ b/src/Slit.hh | |||
@@ -60,13 +60,31 @@ private: | |||
60 | Placementmenu(Slitmenu *); | 60 | Placementmenu(Slitmenu *); |
61 | }; | 61 | }; |
62 | 62 | ||
63 | #ifdef XINERAMA | ||
64 | class Headmenu : public Basemenu { | ||
65 | public: | ||
66 | Headmenu(Slitmenu *); | ||
67 | private: | ||
68 | Slitmenu *slitmenu; | ||
69 | |||
70 | protected: | ||
71 | virtual void itemSelected(int, int); | ||
72 | |||
73 | }; | ||
74 | #endif // XINERAMA | ||
75 | |||
63 | Directionmenu *directionmenu; | 76 | Directionmenu *directionmenu; |
64 | Placementmenu *placementmenu; | 77 | Placementmenu *placementmenu; |
65 | 78 | #ifdef XINERAMA | |
79 | Headmenu *headmenu; | ||
80 | #endif // XINERAMA | ||
66 | Slit *slit; | 81 | Slit *slit; |
67 | 82 | ||
68 | friend class Directionmenu; | 83 | friend class Directionmenu; |
69 | friend class Placementmenu; | 84 | friend class Placementmenu; |
85 | #ifdef XINERAMA | ||
86 | friend class Headmenu; | ||
87 | #endif // XINERAMA | ||
70 | friend class Slit; | 88 | friend class Slit; |
71 | 89 | ||
72 | 90 | ||
@@ -81,6 +99,9 @@ public: | |||
81 | 99 | ||
82 | inline Basemenu *getDirectionmenu(void) { return directionmenu; } | 100 | inline Basemenu *getDirectionmenu(void) { return directionmenu; } |
83 | inline Basemenu *getPlacementmenu(void) { return placementmenu; } | 101 | inline Basemenu *getPlacementmenu(void) { return placementmenu; } |
102 | #ifdef XINERAMA | ||
103 | inline Basemenu *getHeadmenu(void) { return headmenu; } | ||
104 | #endif // XINERAMA | ||
84 | 105 | ||
85 | void reconfigure(void); | 106 | void reconfigure(void); |
86 | }; | 107 | }; |
@@ -158,6 +179,9 @@ private: | |||
158 | friend class Slitmenu; | 179 | friend class Slitmenu; |
159 | friend class Slitmenu::Directionmenu; | 180 | friend class Slitmenu::Directionmenu; |
160 | friend class Slitmenu::Placementmenu; | 181 | friend class Slitmenu::Placementmenu; |
182 | #ifdef XINERAMA | ||
183 | friend class Slitmenu::Headmenu; | ||
184 | #endif // XINERAMA | ||
161 | }; | 185 | }; |
162 | 186 | ||
163 | 187 | ||