+ if (!surface) {
+ destRect.x = position.X();
+ destRect.y = position.Y();
+ destRect.w = filledWidth + startWidth;
+ destRect.h = height;
+ SDL_FillRect(dest, &destRect, SDL_MapRGB(dest->format, 0x00, 0xFF, 0x00));
+ destRect.x += destRect.w;
+ destRect.w = emptyWidth + endWidth;
+ SDL_FillRect(dest, &destRect, SDL_MapRGB(dest->format, 0xFF, 0x00, 0x00));
+ return;
+ }
+