2020-02-25 00:44:40 +01:00
|
|
|
#pragma once
|
|
|
|
|
#include "GraphicsResources.h"
|
|
|
|
|
#include "Window.h"
|
|
|
|
|
#include "Containers/Array.h"
|
|
|
|
|
|
|
|
|
|
namespace Seele
|
|
|
|
|
{
|
|
|
|
|
class WindowManager
|
|
|
|
|
{
|
|
|
|
|
public:
|
2020-03-05 11:43:38 +01:00
|
|
|
WindowManager();
|
2020-02-25 00:44:40 +01:00
|
|
|
~WindowManager();
|
2020-03-05 11:43:38 +01:00
|
|
|
void addWindow(const WindowCreateInfo& createInfo);
|
|
|
|
|
void beginFrame();
|
|
|
|
|
void endFrame();
|
2020-02-25 00:44:40 +01:00
|
|
|
private:
|
2020-03-02 19:07:49 +01:00
|
|
|
Array<PWindow> windows;
|
2020-02-25 00:44:40 +01:00
|
|
|
};
|
2020-03-05 11:43:38 +01:00
|
|
|
DECLARE_REF(WindowManager);
|
2020-02-25 00:44:40 +01:00
|
|
|
}
|