diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-22 13:46:09 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-22 13:46:09 (GMT) |
| commit | f445b80e8a0d97408aa6b7b7b62ef5a661ec6e99 (patch) | |
| tree | 8257cf91666e4a4527b5580da24e6334d53ad250 /src/game | |
| parent | f7d8556965832821036c210ffc1f9e73f3ff70cc (diff) | |
| download | powder-f445b80e8a0d97408aa6b7b7b62ef5a661ec6e99.zip powder-f445b80e8a0d97408aa6b7b7b62ef5a661ec6e99.tar.gz | |
Strealine icon and Erase icon
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/GameView.cpp | 2 | ||||
| -rw-r--r-- | src/game/ToolButton.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index 6b4a953..4b5a438 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -441,7 +441,7 @@ void GameView::NotifyToolListChanged(GameModel * sender) currentX -= 31; tempButton->SetActionCallback(new ToolAction(this, toolList[i])); - VideoBuffer * tempTexture = toolList[i]->GetTexture(30, 18); + VideoBuffer * tempTexture = toolList[i]->GetTexture(26, 14); tempButton->Appearance.SetTexture(tempTexture); if(tempTexture) delete tempTexture; diff --git a/src/game/ToolButton.cpp b/src/game/ToolButton.cpp index 21e19be..3021b40 100644 --- a/src/game/ToolButton.cpp +++ b/src/game/ToolButton.cpp @@ -42,7 +42,7 @@ void ToolButton::Draw(const ui::Point& screenPos) if(Appearance.GetTexture()) { - g->draw_image(Appearance.GetTexture(), screenPos.X, screenPos.Y, 255); + g->draw_image(Appearance.GetTexture(), screenPos.X+2, screenPos.Y+2, 255); } else { |
