diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-06 16:28:08 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-06 16:28:08 (GMT) |
| commit | f75a3c264235d5edf162fd0f7bf6e04d629704f9 (patch) | |
| tree | 470be69c93a82ac007454a5ffefc999f1d0c9851 /src | |
| parent | 662640c96c86ba83132f0683c35bfba24b43783c (diff) | |
| download | powder-f75a3c264235d5edf162fd0f7bf6e04d629704f9.zip powder-f75a3c264235d5edf162fd0f7bf6e04d629704f9.tar.gz | |
More icon adjustments
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/GameView.cpp | 1 | ||||
| -rw-r--r-- | src/graphics/Graphics.cpp | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index d0fde06..b64af05 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -193,7 +193,6 @@ GameView::GameView(): }; loginButton = new ui::Button(ui::Point(Size.X-141, Size.Y-16), ui::Point(92, 15), "[sign in]"); loginButton->Appearance.HorizontalAlign = ui::Appearance::AlignLeft; - loginButton->Appearance.Margin.Top+=2; loginButton->SetIcon(IconLogin); loginButton->SetActionCallback(new LoginAction(this)); AddComponent(loginButton); diff --git a/src/graphics/Graphics.cpp b/src/graphics/Graphics.cpp index 73913c5..eb92435 100644 --- a/src/graphics/Graphics.cpp +++ b/src/graphics/Graphics.cpp @@ -768,9 +768,9 @@ void Graphics::draw_icon(int x, int y, Icon icon, unsigned char alpha, bool inve break; case IconLogin: if(invert) - drawchar(x, y, 0x84, 0, 0, 0, alpha); + drawchar(x, y+1, 0x84, 0, 0, 0, alpha); else - drawchar(x, y, 0x84, 255, 255, 255, alpha); + drawchar(x, y+1, 0x84, 255, 255, 255, alpha); break; case IconSimulationSettings: if(invert) |
