aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-05-17 16:34:27 (GMT)
committerfluxgen <fluxgen>2002-05-17 16:34:27 (GMT)
commit6d706bbccb102cef07b65b10cf994c06583f7fd8 (patch)
tree21eebe88d113dbc3f16d2f9742606e6f6ca503e0 /src/Window.hh
parentddabec794c5875fc33d06ec370eab0099eaac99b (diff)
downloadfluxbox-6d706bbccb102cef07b65b10cf994c06583f7fd8.zip
fluxbox-6d706bbccb102cef07b65b10cf994c06583f7fd8.tar.bz2
moved creation of titlebar and handle into functions
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh10
1 files 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 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.hh,v 1.19 2002/05/07 13:31:11 fluxgen Exp $ 25// $Id: Window.hh,v 1.20 2002/05/17 16:34:27 fluxgen Exp $
26 26
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
@@ -319,6 +319,12 @@ private:
319 void stopResizing(Window win=0); 319 void stopResizing(Window win=0);
320 void updateIcon(); 320 void updateIcon();
321 321
322 //create decoration functions
323 void createTitlebar();
324 void destroyTitlebar();
325 void createHandle();
326 void destroyHandle();
327
322 #ifdef GNOME 328 #ifdef GNOME
323 329
324 void updateGnomeAtoms() const; 330 void updateGnomeAtoms() const;
@@ -349,7 +355,7 @@ private:
349 #endif //NEWWMSPEC 355 #endif //NEWWMSPEC
350 356
351 Window findTitleButton(int type); 357 Window findTitleButton(int type);
352protected: 358private:
353 //event callbacks 359 //event callbacks
354 static void stickyButton_cb(FluxboxWindow *, XButtonEvent *); 360 static void stickyButton_cb(FluxboxWindow *, XButtonEvent *);
355 static void stickyPressed_cb(FluxboxWindow *, XButtonEvent *); 361 static void stickyPressed_cb(FluxboxWindow *, XButtonEvent *);