make close icon match the color of the button/text around it
This commit is contained in:
parent
e25fac5037
commit
9fdcc28dac
@ -1798,11 +1798,11 @@ void GameView::NotifyNotificationsChanged(GameModel * sender)
|
|||||||
AddComponent(tempButton);
|
AddComponent(tempButton);
|
||||||
notificationComponents.push_back(tempButton);
|
notificationComponents.push_back(tempButton);
|
||||||
|
|
||||||
tempButton = new ui::Button(ui::Point(XRES-20, currentY), ui::Point(15, 15));
|
tempButton = new ui::Button(ui::Point(XRES-20, currentY), ui::Point(15, 15), "\xAA");
|
||||||
tempButton->SetIcon(IconClose);
|
//tempButton->SetIcon(IconClose);
|
||||||
tempButton->SetActionCallback(new CloseNotificationButtonAction(this, *iter));
|
tempButton->SetActionCallback(new CloseNotificationButtonAction(this, *iter));
|
||||||
tempButton->Appearance.Margin.Left+=2;
|
tempButton->Appearance.Margin.Left -= 1;
|
||||||
tempButton->Appearance.Margin.Top+=2;
|
tempButton->Appearance.Margin.Top -= 1;
|
||||||
tempButton->Appearance.BorderInactive = style::Colour::WarningTitle;
|
tempButton->Appearance.BorderInactive = style::Colour::WarningTitle;
|
||||||
tempButton->Appearance.TextInactive = style::Colour::WarningTitle;
|
tempButton->Appearance.TextInactive = style::Colour::WarningTitle;
|
||||||
tempButton->Appearance.BorderHover = ui::Colour(255, 175, 0);
|
tempButton->Appearance.BorderHover = ui::Colour(255, 175, 0);
|
||||||
|
Reference in New Issue
Block a user