Cleaning window managers for consistency.
This commit is contained in:
parent
5d984aa61d
commit
392a2b7889
28 changed files with 452 additions and 325 deletions
|
@ -27,6 +27,18 @@ public:
|
|||
|
||||
void OnKeyboardEvent(const KeyboardEvent* event);
|
||||
|
||||
void clearPlatformWindows();
|
||||
|
||||
std::size_t getNumWindows() const
|
||||
{
|
||||
return mWindows.size();
|
||||
}
|
||||
|
||||
mt::Window* getWindow(std::size_t idx) const
|
||||
{
|
||||
return mWindows[idx].get();
|
||||
}
|
||||
|
||||
private:
|
||||
std::vector<WindowUPtr> mWindows;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue