diff options
| author | jacob1 <jfu614@gmail.com> | 2012-09-06 15:54:01 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-06 23:36:19 (GMT) |
| commit | 22de8ecb6ce64d947a7e4efd50660525ab36b943 (patch) | |
| tree | 0cff5dfd123fb1ba3cdf584123e49b472e44ceb4 /src/game/GameView.cpp | |
| parent | 24b4b0b1874a0de3ec97505febd3dec9fceb580a (diff) | |
| download | powder-22de8ecb6ce64d947a7e4efd50660525ab36b943.zip powder-22de8ecb6ce64d947a7e4efd50660525ab36b943.tar.gz | |
Change hover color of update box (white just didn't look right)
Diffstat (limited to 'src/game/GameView.cpp')
| -rw-r--r-- | src/game/GameView.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index 97a8634..27c3637 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -1618,6 +1618,8 @@ void GameView::NotifyNotificationsChanged(GameModel * sender) tempButton->SetActionCallback(new NotificationButtonAction(this, *iter)); tempButton->Appearance.BorderInactive = style::Colour::WarningTitle; tempButton->Appearance.TextInactive = style::Colour::WarningTitle; + tempButton->Appearance.BorderHover = ui::Colour(255, 175, 0); + tempButton->Appearance.TextHover = ui::Colour(255, 175, 0); AddComponent(tempButton); notificationComponents.push_back(tempButton); @@ -1628,6 +1630,8 @@ void GameView::NotifyNotificationsChanged(GameModel * sender) tempButton->Appearance.Margin.Top+=2; tempButton->Appearance.BorderInactive = style::Colour::WarningTitle; tempButton->Appearance.TextInactive = style::Colour::WarningTitle; + tempButton->Appearance.BorderHover = ui::Colour(255, 175, 0); + tempButton->Appearance.TextHover = ui::Colour(255, 175, 0); AddComponent(tempButton); notificationComponents.push_back(tempButton); |
