diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-18 00:51:11 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-18 00:51:11 +0000 |
| commit | 24b33ef877808f0af5b967f21c011ab8b314e780 (patch) | |
| tree | 4ae41c02cc322fba505c9176e0be5b1b16aa89de | |
| parent | 67bb7f8ce08d3ef625843ab7ea2c4434b1620ecf (diff) | |
fuc put it back
| -rw-r--r-- | otk/rendercontrol.cc | 10 | ||||
| -rw-r--r-- | otk/truerendercontrol.cc | 9 | ||||
| -rw-r--r-- | 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; }; } |
