Massive changes to the renderer in order to replicate the current GUI theme, as requested by Eugene

svn-id: r33507
This commit is contained in:
Vicent Marti 2008-08-01 20:19:37 +00:00
parent a15ebfb73a
commit 44d91bfa81
5 changed files with 476 additions and 161 deletions

View file

@ -517,7 +517,7 @@ template<typename PixelType, typename PixelFormat>
void VectorRendererSpec<PixelType, PixelFormat>::
drawTab(int x, int y, int r, int w, int h) {
if (x + w > Base::_activeSurface->w || y + h > Base::_activeSurface->h ||
w <= 0 || h <= 0 || x < 0 || y < 0 || (r << 1) > w || (r << 1) > h)
w <= 0 || h <= 0 || x < 0 || y < 0 || r > w || r > h)
return;
switch (Base::_fillMode) {