namespace graphics {
// TODO: add start and end "ignore" offsets
-void Gauge::Draw(SDL_Surface *dest, Point<int> position, int width, Uint8 level) const {
- int fullWidth(width * level / 255);
+void Gauge::Draw(SDL_Surface *dest, Point<int> position, int width, int fullWidth) const {
SDL_Rect srcRect, destRect;
// start