summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-03-20 14:08:45 (GMT)
committerfluxgen <fluxgen>2002-03-20 14:08:45 (GMT)
commite072c2c7444cab25d0795c23a0d6eff112c7d3b8 (patch)
tree0e4ab2053488e744215577ba2e59c2d73205c3b0
parentc5d1f0239de2c292c7f1ac6dcd1cc90fbb56c876 (diff)
downloadfluxbox_lack-e072c2c7444cab25d0795c23a0d6eff112c7d3b8.zip
fluxbox_lack-e072c2c7444cab25d0795c23a0d6eff112c7d3b8.tar.bz2
rearrange private/public order
-rw-r--r--src/Slit.hh31
1 files changed, 14 insertions, 17 deletions
diff --git a/src/Slit.hh b/src/Slit.hh
index d3ee5b7..211ae76 100644
--- a/src/Slit.hh
+++ b/src/Slit.hh
@@ -37,6 +37,18 @@ class Slitmenu;
37#include <list> 37#include <list>
38 38
39class Slitmenu : public Basemenu { 39class Slitmenu : public Basemenu {
40public:
41 explicit Slitmenu(Slit *);
42 virtual ~Slitmenu(void);
43
44 inline Basemenu *getDirectionmenu(void) { return directionmenu; }
45 inline Basemenu *getPlacementmenu(void) { return placementmenu; }
46#ifdef XINERAMA
47 inline Basemenu *getHeadmenu(void) { return headmenu; }
48#endif // XINERAMA
49
50 void reconfigure(void);
51
40private: 52private:
41 class Directionmenu : public Basemenu { 53 class Directionmenu : public Basemenu {
42 private: 54 private:
@@ -91,19 +103,6 @@ private:
91protected: 103protected:
92 virtual void itemSelected(int, int); 104 virtual void itemSelected(int, int);
93 virtual void internal_hide(void); 105 virtual void internal_hide(void);
94
95
96public:
97 explicit Slitmenu(Slit *);
98 virtual ~Slitmenu(void);
99
100 inline Basemenu *getDirectionmenu(void) { return directionmenu; }
101 inline Basemenu *getPlacementmenu(void) { return placementmenu; }
102#ifdef XINERAMA
103 inline Basemenu *getHeadmenu(void) { return headmenu; }
104#endif // XINERAMA
105
106 void reconfigure(void);
107}; 106};
108 107
109 108
@@ -120,10 +119,8 @@ public:
120 119
121 inline const Window &getWindowID() const { return frame.window; } 120 inline const Window &getWindowID() const { return frame.window; }
122 121
123 inline const int getX(void) const 122 inline const int getX() const { return ((hidden) ? frame.x_hidden : frame.x); }
124 { return ((hidden) ? frame.x_hidden : frame.x); } 123 inline const int getY() const { return ((hidden) ? frame.y_hidden : frame.y); }
125 inline const int getY(void) const
126 { return ((hidden) ? frame.y_hidden : frame.y); }
127 124
128 inline const unsigned int getWidth(void) const { return frame.width; } 125 inline const unsigned int getWidth(void) const { return frame.width; }
129 inline const unsigned int getHeight(void) const { return frame.height; } 126 inline const unsigned int getHeight(void) const { return frame.height; }