diff options
author | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
commit | 51657e10769faa2617d546a06c42e4c62a19bb50 (patch) | |
tree | 688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/ActiveWindow.cpp | |
parent | db987e23d5dd33a5db8764743facbb906ac22b0f (diff) | |
download | starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2 |
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/ActiveWindow.cpp')
-rw-r--r-- | Stars45/ActiveWindow.cpp | 12 |
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); } -} +} // +--------------------------------------------------------------------+ |