aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-07-30 21:11:48 +0000
committerEugene Sandulenko2005-07-30 21:11:48 +0000
commit6b4484472b79dc7ea7d1ce545a28fba7d3b7696f (patch)
treec44c4e61f18ddd537f7082cb48869cf33d422fbd /gui/newgui.cpp
parent86ab70b149e5cd00cf54f2e41896e2c4e16795e4 (diff)
downloadscummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.gz
scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.bz2
scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.zip
Remove trailing whitespaces.
svn-id: r18604
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r--gui/newgui.cpp12
1 files changed, 6 insertions, 6 deletions
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--) {