aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-04-25 17:32:21 (GMT)
committerfluxgen <fluxgen>2003-04-25 17:32:21 (GMT)
commit7815e2b30ec64e4b33f8aeca44e264f674a9043e (patch)
treeac806c5d904461f788011b75a1d1c143f7670c03 /src/FbTk/FbWindow.hh
parentc31a8b5290eb4968b1be38e01cf37ca68e59e46e (diff)
downloadfluxbox-7815e2b30ec64e4b33f8aeca44e264f674a9043e.zip
fluxbox-7815e2b30ec64e4b33f8aeca44e264f674a9043e.tar.bz2
fixed simple drawable functions
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r--src/FbTk/FbWindow.hh14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index 186ed15..d8ed7a9 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWindow.hh,v 1.10 2003/04/16 16:01:38 fluxgen Exp $ 22// $Id: FbWindow.hh,v 1.11 2003/04/25 17:31:38 fluxgen Exp $
23 23
24#ifndef FBTK_FBWINDOW_HH 24#ifndef FBTK_FBWINDOW_HH
25#define FBTK_FBWINDOW_HH 25#define FBTK_FBWINDOW_HH
@@ -72,6 +72,18 @@ public:
72 virtual void lower(); 72 virtual void lower();
73 virtual void raise(); 73 virtual void raise();
74 74
75 void copyArea(Drawable src, GC gc,
76 int src_x, int src_y,
77 int dest_x, int dest_y,
78 unsigned int width, unsigned int height);
79 void fillRectangle(GC gc, int x, int y,
80 unsigned int width, unsigned int height);
81 void drawRectangle(GC gc, int x, int y,
82 unsigned int width, unsigned int height);
83 void fillPolygon(GC gc, XPoint *points, int npoints,
84 int shape, int mode);
85 void drawLine(GC gc, int start_x, int start_y,
86 int end_x, int end_y);
75 87
76 const FbWindow *parent() const { return m_parent; } 88 const FbWindow *parent() const { return m_parent; }
77 Window window() const { return m_window; } 89 Window window() const { return m_window; }