fuc put it back
This commit is contained in:
parent
67bb7f8ce0
commit
24b33ef877
3 changed files with 11 additions and 10 deletions
|
@ -57,14 +57,4 @@ RenderControl::~RenderControl()
|
|||
|
||||
}
|
||||
|
||||
|
||||
void RenderControl::render(::Drawable d)
|
||||
{
|
||||
Pixmap p = XCreatePixmap(**display, d, 255, 30, _screen->depth());
|
||||
|
||||
|
||||
|
||||
XFreePixmap(**display, p);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -57,4 +57,13 @@ TrueRenderControl::~TrueRenderControl()
|
|||
|
||||
}
|
||||
|
||||
void TrueRenderControl::render(::Drawable d)
|
||||
{
|
||||
Pixmap p = XCreatePixmap(**display, d, 255, 30, _screen->depth());
|
||||
|
||||
|
||||
|
||||
XFreePixmap(**display, p);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -16,6 +16,8 @@ private:
|
|||
public:
|
||||
TrueRenderControl(const ScreenInfo *screen);
|
||||
virtual ~TrueRenderControl();
|
||||
|
||||
virtual void render(::Drawable d) = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue