From 24b33ef877808f0af5b967f21c011ab8b314e780 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 18 Jan 2003 00:51:11 +0000 Subject: [PATCH] fuc put it back --- otk/rendercontrol.cc | 10 ---------- otk/truerendercontrol.cc | 9 +++++++++ otk/truerendercontrol.hh | 2 ++ 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/otk/rendercontrol.cc b/otk/rendercontrol.cc index 9c4f14a7..1dd5704d 100644 --- a/otk/rendercontrol.cc +++ b/otk/rendercontrol.cc @@ -57,14 +57,4 @@ RenderControl::~RenderControl() } - -void RenderControl::render(::Drawable d) -{ - Pixmap p = XCreatePixmap(**display, d, 255, 30, _screen->depth()); - - - - XFreePixmap(**display, p); -} - } diff --git a/otk/truerendercontrol.cc b/otk/truerendercontrol.cc index 95a567bc..1eec1e45 100644 --- a/otk/truerendercontrol.cc +++ b/otk/truerendercontrol.cc @@ -57,4 +57,13 @@ TrueRenderControl::~TrueRenderControl() } +void TrueRenderControl::render(::Drawable d) +{ + Pixmap p = XCreatePixmap(**display, d, 255, 30, _screen->depth()); + + + + XFreePixmap(**display, p); +} + } diff --git a/otk/truerendercontrol.hh b/otk/truerendercontrol.hh index fe79c003..a62715f5 100644 --- a/otk/truerendercontrol.hh +++ b/otk/truerendercontrol.hh @@ -16,6 +16,8 @@ private: public: TrueRenderControl(const ScreenInfo *screen); virtual ~TrueRenderControl(); + + virtual void render(::Drawable d) = 0; }; } -- 2.45.2