summaryrefslogtreecommitdiff
path: root/src/FbTk/FbDrawable.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbDrawable.hh')
-rw-r--r--src/FbTk/FbDrawable.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/FbTk/FbDrawable.hh b/src/FbTk/FbDrawable.hh
index 06c7a9d..4469f84 100644
--- a/src/FbTk/FbDrawable.hh
+++ b/src/FbTk/FbDrawable.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: FbDrawable.hh,v 1.4 2003/12/16 17:06:49 fluxgen Exp $ 22// $Id: FbDrawable.hh,v 1.5 2004/09/10 15:46:08 akir Exp $
23#ifndef FBTK_FBDRAWABLE_HH 23#ifndef FBTK_FBDRAWABLE_HH
24#define FBTK_FBDRAWABLE_HH 24#define FBTK_FBDRAWABLE_HH
25 25
@@ -30,6 +30,7 @@ namespace FbTk {
30/// Basic drawing functions for X drawables 30/// Basic drawing functions for X drawables
31class FbDrawable { 31class FbDrawable {
32public: 32public:
33 FbDrawable();
33 virtual ~FbDrawable() { } 34 virtual ~FbDrawable() { }
34 virtual void copyArea(Drawable src, GC gc, 35 virtual void copyArea(Drawable src, GC gc,
35 int src_x, int src_y, 36 int src_x, int src_y,
@@ -55,6 +56,8 @@ public:
55 virtual Drawable drawable() const = 0; 56 virtual Drawable drawable() const = 0;
56 virtual unsigned int width() const = 0; 57 virtual unsigned int width() const = 0;
57 virtual unsigned int height() const = 0; 58 virtual unsigned int height() const = 0;
59protected:
60 static Display *s_display; // display connection // display connection
58}; 61};
59 62
60} // end namespace FbTk 63} // end namespace FbTk