summaryrefslogtreecommitdiffhomepage
path: root/Stars45/ActiveWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/ActiveWindow.cpp')
-rw-r--r--Stars45/ActiveWindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Stars45/ActiveWindow.cpp b/Stars45/ActiveWindow.cpp
index 4d78b72..39c1428 100644
--- a/Stars45/ActiveWindow.cpp
+++ b/Stars45/ActiveWindow.cpp
@@ -394,7 +394,7 @@ ActiveWindow::CalcGrid()
mtl->tex_diffuse = texture;
polys = new(__FILE__,__LINE__) Poly[npolys];
-
+
Poly* p = polys;
ZeroMemory(polys, npolys*sizeof(Poly));
@@ -510,7 +510,7 @@ ActiveWindow::DrawStyleRect(int x1, int y1, int x2, int y2, int style)
Color c = ShadeColor(back_color, 0.3); // full shadow
DrawLine(x1+1,y1+1, x1+1, y2, c);
DrawLine(x1+1,y1+1, x2, y1+1, c);
-
+
c = ShadeColor(back_color, 0.6); // soft shadow
DrawLine(x1, y1, x1, y2, c);
DrawLine(x1, y1, x2, y1, c);
@@ -582,11 +582,11 @@ ActiveWindow::DrawTabbedText()
font->SetColor(shadow);
DrawText(text.data(), 0, label_rect, text_flags);
}
-
+
label_rect.x--;
label_rect.y--;
}
-
+
Color fore = ShadeColor(fore_color, 1);
font->SetColor(fore);
DrawText(text.data(), 0, label_rect, text_flags);
@@ -609,7 +609,7 @@ ActiveWindow::SetTabStop(int n, int x)
tab[n] = x;
}
-int
+int
ActiveWindow::GetTabStop(int n) const
{
if (n >= 0 && n < 10)
@@ -831,7 +831,7 @@ ActiveWindow::ClientEvent(int eid, int x, int y)
if (map->eid == eid)
map->func(map->client, &event);
}
-}
+}
// +--------------------------------------------------------------------+