Formatted EVERYTHING
This commit is contained in:
@@ -2,24 +2,19 @@
|
||||
#include "Containers/Array.h"
|
||||
#include "Window.h"
|
||||
|
||||
namespace Seele
|
||||
{
|
||||
namespace Seele {
|
||||
DECLARE_NAME_REF(Gfx, Graphics)
|
||||
class WindowManager
|
||||
{
|
||||
public:
|
||||
WindowManager();
|
||||
~WindowManager();
|
||||
OWindow addWindow(Gfx::PGraphics graphics, const WindowCreateInfo &createInfo);
|
||||
void render();
|
||||
void notifyWindowClosed(PWindow window);
|
||||
bool isActive() const
|
||||
{
|
||||
return windows.size();
|
||||
}
|
||||
class WindowManager {
|
||||
public:
|
||||
WindowManager();
|
||||
~WindowManager();
|
||||
OWindow addWindow(Gfx::PGraphics graphics, const WindowCreateInfo& createInfo);
|
||||
void render();
|
||||
void notifyWindowClosed(PWindow window);
|
||||
bool isActive() const { return windows.size(); }
|
||||
|
||||
private:
|
||||
Array<PWindow> windows;
|
||||
private:
|
||||
Array<PWindow> windows;
|
||||
};
|
||||
DEFINE_REF(WindowManager)
|
||||
} // namespace Seele
|
||||
Reference in New Issue
Block a user