From: Dana Jansens Date: Sat, 18 Jan 2003 00:51:11 +0000 (+0000) Subject: fuc put it back X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=24b33ef877808f0af5b967f21c011ab8b314e780;p=chaz%2Fopenbox fuc put it back --- 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; }; }