Permalink
Browse files

make close icon match the color of the button/text around it

  • Loading branch information...
jacob1 committed Dec 4, 2014
1 parent e25fac5 commit 9fdcc28dacf20ecacd2fb6943b111a14a81b303f
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/gui/game/GameView.cpp
@@ -1798,11 +1798,11 @@ void GameView::NotifyNotificationsChanged(GameModel * sender)
AddComponent(tempButton);
notificationComponents.push_back(tempButton);
tempButton = new ui::Button(ui::Point(XRES-20, currentY), ui::Point(15, 15));
tempButton->SetIcon(IconClose);
tempButton = new ui::Button(ui::Point(XRES-20, currentY), ui::Point(15, 15), "\xAA");
//tempButton->SetIcon(IconClose);
tempButton->SetActionCallback(new CloseNotificationButtonAction(this, *iter));
tempButton->Appearance.Margin.Left+=2;
tempButton->Appearance.Margin.Top+=2;
tempButton->Appearance.Margin.Left -= 1;
tempButton->Appearance.Margin.Top -= 1;
tempButton->Appearance.BorderInactive = style::Colour::WarningTitle;
tempButton->Appearance.TextInactive = style::Colour::WarningTitle;
tempButton->Appearance.BorderHover = ui::Colour(255, 175, 0);

0 comments on commit 9fdcc28

Please sign in to comment.