From e072c2c7444cab25d0795c23a0d6eff112c7d3b8 Mon Sep 17 00:00:00 2001 From: fluxgen <fluxgen> Date: Wed, 20 Mar 2002 14:08:45 +0000 Subject: rearrange private/public order --- src/Slit.hh | 31 ++++++++++++++----------------- 1 file 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; #include <list> class Slitmenu : public Basemenu { +public: + explicit Slitmenu(Slit *); + virtual ~Slitmenu(void); + + inline Basemenu *getDirectionmenu(void) { return directionmenu; } + inline Basemenu *getPlacementmenu(void) { return placementmenu; } +#ifdef XINERAMA + inline Basemenu *getHeadmenu(void) { return headmenu; } +#endif // XINERAMA + + void reconfigure(void); + private: class Directionmenu : public Basemenu { private: @@ -91,19 +103,6 @@ private: protected: virtual void itemSelected(int, int); virtual void internal_hide(void); - - -public: - explicit Slitmenu(Slit *); - virtual ~Slitmenu(void); - - inline Basemenu *getDirectionmenu(void) { return directionmenu; } - inline Basemenu *getPlacementmenu(void) { return placementmenu; } -#ifdef XINERAMA - inline Basemenu *getHeadmenu(void) { return headmenu; } -#endif // XINERAMA - - void reconfigure(void); }; @@ -120,10 +119,8 @@ public: inline const Window &getWindowID() const { return frame.window; } - inline const int getX(void) const - { return ((hidden) ? frame.x_hidden : frame.x); } - inline const int getY(void) const - { return ((hidden) ? frame.y_hidden : frame.y); } + inline const int getX() const { return ((hidden) ? frame.x_hidden : frame.x); } + inline const int getY() const { return ((hidden) ? frame.y_hidden : frame.y); } inline const unsigned int getWidth(void) const { return frame.width; } inline const unsigned int getHeight(void) const { return frame.height; } -- cgit v0.11.2