From 6b4484472b79dc7ea7d1ce545a28fba7d3b7696f Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 30 Jul 2005 21:11:48 +0000 Subject: Remove trailing whitespaces. svn-id: r18604 --- gui/newgui.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gui/newgui.cpp') diff --git a/gui/newgui.cpp b/gui/newgui.cpp index 2fa29759c2..6bc112a87a 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -138,7 +138,7 @@ void NewGui::runLoop() { while (_system->pollEvent(event)) { Common::Point mouse(event.mouse.x - activeDialog->_x, event.mouse.y - activeDialog->_y); - + switch (event.type) { case OSystem::EVENT_KEYDOWN: #if !defined(__PALM_OS__) @@ -335,7 +335,7 @@ void NewGui::drawSurface(const Graphics::Surface &s, int x, int y) { if (!rect.isValidRect()) return; - + assert(s.bytesPerPixel == sizeof(OverlayColor)); OverlayColor *src = (OverlayColor *)s.pixels; @@ -374,7 +374,7 @@ void NewGui::blendRect(int x, int y, int w, int h, OverlayColor color, int level b = ab * a; OverlayColor *ptr = getBasePtr(rect.left, rect.top); - + h = rect.height(); w = rect.width(); while (h--) { @@ -390,16 +390,16 @@ void NewGui::blendRect(int x, int y, int w, int h, OverlayColor color, int level } } else { - + int r, g, b; uint8 ar, ag, ab; _system->colorToRGB(color, ar, ag, ab); r = ar * level; g = ag * level; b = ab * level; - + OverlayColor *ptr = getBasePtr(rect.left, rect.top); - + h = rect.height(); w = rect.width(); while (h--) { -- cgit v1.2.3