aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbDrawable.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbDrawable.cc')
-rw-r--r--src/FbTk/FbDrawable.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/FbDrawable.cc b/src/FbTk/FbDrawable.cc
index 15ebb7f..061da0b 100644
--- a/src/FbTk/FbDrawable.cc
+++ b/src/FbTk/FbDrawable.cc
@@ -89,11 +89,13 @@ void FbDrawable::fillPolygon(GC gc, XPoint *points, int npoints,
89 shape, mode); 89 shape, mode);
90} 90}
91 91
92#ifdef NOT_USED
92void FbDrawable::drawPoint(GC gc, int x, int y) { 93void FbDrawable::drawPoint(GC gc, int x, int y) {
93 if (drawable() == 0 || gc == 0) 94 if (drawable() == 0 || gc == 0)
94 return; 95 return;
95 XDrawPoint(s_display, drawable(), gc, x, y); 96 XDrawPoint(s_display, drawable(), gc, x, y);
96} 97}
98#endif
97 99
98XImage *FbDrawable::image(int x, int y, unsigned int width, unsigned int height) const { 100XImage *FbDrawable::image(int x, int y, unsigned int width, unsigned int height) const {
99 return XGetImage(s_display, drawable(), 101 return XGetImage(s_display, drawable(),