From 6d706bbccb102cef07b65b10cf994c06583f7fd8 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 17 May 2002 16:34:27 +0000 Subject: moved creation of titlebar and handle into functions --- src/Window.hh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Window.hh b/src/Window.hh index ae2d739..d605018 100644 --- a/src/Window.hh +++ b/src/Window.hh @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.hh,v 1.19 2002/05/07 13:31:11 fluxgen Exp $ +// $Id: Window.hh,v 1.20 2002/05/17 16:34:27 fluxgen Exp $ #ifndef WINDOW_HH #define WINDOW_HH @@ -319,6 +319,12 @@ private: void stopResizing(Window win=0); void updateIcon(); + //create decoration functions + void createTitlebar(); + void destroyTitlebar(); + void createHandle(); + void destroyHandle(); + #ifdef GNOME void updateGnomeAtoms() const; @@ -349,7 +355,7 @@ private: #endif //NEWWMSPEC Window findTitleButton(int type); -protected: +private: //event callbacks static void stickyButton_cb(FluxboxWindow *, XButtonEvent *); static void stickyPressed_cb(FluxboxWindow *, XButtonEvent *); -- cgit v0.11.2