mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:47:42 +00:00
Removed view ownership (client should do this)
This commit is contained in:
@@ -122,10 +122,12 @@ void RootView::modKeyUp(boo::EModifierKey mod)
|
||||
{
|
||||
}
|
||||
|
||||
void RootView::setContentView(std::unique_ptr<View>&& view)
|
||||
View* RootView::setContentView(View* view)
|
||||
{
|
||||
m_view = std::move(view);
|
||||
View* ret = m_view;
|
||||
m_view = view;
|
||||
updateSize();
|
||||
return ret;
|
||||
}
|
||||
|
||||
void RootView::displayTooltip(const std::string& name, const std::string& help)
|
||||
|
||||
Reference in New Issue
Block a user