Cleaning window managers for consistency.
This commit is contained in:
parent
5d984aa61d
commit
392a2b7889
28 changed files with 452 additions and 325 deletions
|
@ -36,6 +36,14 @@ void WindowManager::AddWindow(WindowUPtr window)
|
|||
mWindows.push_back(std::move(window));
|
||||
}
|
||||
|
||||
void WindowManager::clearPlatformWindows()
|
||||
{
|
||||
for (auto& window : mWindows)
|
||||
{
|
||||
window->clearPlatformWindow();
|
||||
}
|
||||
}
|
||||
|
||||
mt::Window* WindowManager::GetMainWindow() const
|
||||
{
|
||||
if(mWindows.size()>0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue