From 41f40a68db72ae685af0b184bf1d26531ee7e836 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Sun, 27 Apr 2003 01:54:18 +0000
Subject: minor fixes

---
 src/ArrowButton.cc | 12 +++++-------
 src/ArrowButton.hh |  5 +++--
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/src/ArrowButton.cc b/src/ArrowButton.cc
index dfcc05d..bc44393 100644
--- a/src/ArrowButton.cc
+++ b/src/ArrowButton.cc
@@ -1,5 +1,5 @@
 // ArrowButton.cc for Fluxbox Window Manager
-// Copyright (c) 2002 Henrik Kinnunen (fluxgen at users.sourceforge.net)
+// Copyright (c) 2002-2003 Henrik Kinnunen (fluxgen at users.sourceforge.net)
 //
 // Permission is hereby granted, free of charge, to any person obtaining a
 // copy of this software and associated documentation files (the "Software"),
@@ -19,12 +19,10 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: ArrowButton.cc,v 1.1 2002/12/13 20:21:09 fluxgen Exp $
+// $Id: ArrowButton.cc,v 1.2 2003/04/27 01:54:18 fluxgen Exp $
 
 #include "ArrowButton.hh"
 
-#include "App.hh"
-
 ArrowButton::ArrowButton(ArrowButton::Type arrow_type,
                          FbTk::FbWindow &parent,
                          int x, int y,
@@ -87,9 +85,9 @@ void ArrowButton::drawArrow() {
     }
 
     if (gc() != 0) {
-        Display *disp = FbTk::App::instance()->display();
-        XFillPolygon(disp, window().window(), gc(),
-                     pts, 3, Convex, CoordModePrevious);
+        window().fillPolygon(gc(),
+                             pts, 3, 
+                             Convex, CoordModePrevious);
     }
 }
 
diff --git a/src/ArrowButton.hh b/src/ArrowButton.hh
index 13ac102..bcad0f2 100644
--- a/src/ArrowButton.hh
+++ b/src/ArrowButton.hh
@@ -1,5 +1,5 @@
 // ArrowButton.hh for Fluxbox Window Manager
-// Copyright (c) 2002 Henrik Kinnunen (fluxgen at users.sourceforge.net)
+// Copyright (c) 2002-2003 Henrik Kinnunen (fluxgen at users.sourceforge.net)
 //
 // Permission is hereby granted, free of charge, to any person obtaining a
 // copy of this software and associated documentation files (the "Software"),
@@ -19,12 +19,13 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: ArrowButton.hh,v 1.1 2002/12/13 20:21:12 fluxgen Exp $
+// $Id: ArrowButton.hh,v 1.2 2003/04/27 01:54:18 fluxgen Exp $
 
 #ifndef ARROWBUTTON_HH
 #define ARROWBUTTON_HH
 
 #include "Button.hh"
+
 /// Displays a arrow on a button
 class ArrowButton: public FbTk::Button {
 public:
-- 
cgit v0.11.2