mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
Icon classes with Button integration
This commit is contained in:
@@ -22,10 +22,12 @@ MessageWindow::MessageWindow(ViewResources& res, View& parentView,
|
||||
constraint() = RectangleConstraint(400 * res.pixelFactor(), 80 * res.pixelFactor() + m_text->nominalHeight());
|
||||
|
||||
m_ok.m_view.reset(new Button(res, *this, &m_okBind, m_okBind.m_name, nullptr,
|
||||
Button::Style::Block, RectangleConstraint(150 * res.pixelFactor())));
|
||||
Button::Style::Block, Zeus::CColor::skWhite,
|
||||
RectangleConstraint(150 * res.pixelFactor())));
|
||||
if (type == Type::ConfirmOkCancel)
|
||||
m_cancel.m_view.reset(new Button(res, *this, &m_cancelBind, m_cancelBind.m_name, nullptr,
|
||||
Button::Style::Block, RectangleConstraint(150 * res.pixelFactor())));
|
||||
Button::Style::Block, Zeus::CColor::skWhite,
|
||||
RectangleConstraint(150 * res.pixelFactor())));
|
||||
|
||||
updateContentOpacity(0.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user