Mercurial > hg > ristipolku
diff game/Engine.java @ 115:8c3bc197310d
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 31 May 2011 18:44:50 +0300 |
parents | ae66d21d4747 |
children | 858b9644a61e |
line wrap: on
line diff
--- a/game/Engine.java Tue May 31 18:44:28 2011 +0300 +++ b/game/Engine.java Tue May 31 18:44:50 2011 +0300 @@ -113,7 +113,7 @@ int x = getScaledX(), y = getScaledY(), w = getScaledWidth(), h = getScaledHeight(); - g.setPaint(new Color(0.0f, 0.0f, 0.0f, 0.6f)); + g.setPaint(new Color(0.0f, 0.0f, 0.0f, 0.7f)); g.fill(new RoundRectangle2D.Float(x, y, w, h, 10, 10)); setTextFont(G.fonts[3], G.metrics[3]); @@ -125,7 +125,8 @@ setTextFont(G.fonts[1], G.metrics[1]); if (aboutSecret) { - g.drawImage(aboutImg, x + 20, y + 55, aboutImg.getWidth(), aboutImg.getHeight(), null); + g.drawImage(aboutImg, x + 20, y + 55, + aboutImg.getWidth(), aboutImg.getHeight(), null); setCurrPos(x + 225, y + 75); drawString(g,