summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-19 16:05:01 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-19 16:05:01 (GMT)
commitc2873180e224b93632daf01e40c6e6d0636bf86d (patch)
tree6308b7405461ddd3647c3aa5ed30f106ccd13dd6 /src/game/GameView.cpp
parent2b4ec998948e022be89330a4f04880ab11fbcb94 (diff)
downloadpowder-c2873180e224b93632daf01e40c6e6d0636bf86d.zip
powder-c2873180e224b93632daf01e40c6e6d0636bf86d.tar.gz
GOL loads gol colours for use
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 08fcfe6..4f9c41a 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -365,7 +365,7 @@ void GameView::NotifyMenuListChanged(GameModel * sender)
std::string tempString = "";
Menu * item = *iter;
tempString += item->GetIcon();
- ui::Button * tempButton = new ui::Button(ui::Point(XRES+BARSIZE-16, currentY), ui::Point(15, 15), tempString);
+ ui::Button * tempButton = new ui::Button(ui::Point(XRES+BARSIZE-16, currentY), ui::Point(15, 15), tempString, item->GetDescription());
tempButton->Appearance.Margin = ui::Border(0, 2, 3, 2);
tempButton->SetTogglable(true);
tempButton->SetActionCallback(new MenuAction(this, item));