Formatted EVERYTHING

This commit is contained in:
Dynamitos
2024-06-09 12:20:53 +02:00
parent f18bf8acbe
commit d95dab850c
265 changed files with 8002 additions and 12310 deletions
+7 -11
View File
@@ -1,14 +1,12 @@
#pragma once
#include "View.h"
#include "Graphics/RenderTarget.h"
#include "View.h"
namespace Seele
{
namespace Seele {
DECLARE_REF(WindowManager)
// The logical window, with the graphics proxy
class Window
{
public:
class Window {
public:
Window(PWindowManager owner, Gfx::OWindow handle);
~Window();
void addView(PView view);
@@ -17,11 +15,9 @@ public:
Gfx::PWindow getGfxHandle();
void setFocused(PView view);
void onResize(uint32 width, uint32 height);
constexpr bool isPaused() const
{
return gfxHandle->isPaused();
}
protected:
constexpr bool isPaused() const { return gfxHandle->isPaused(); }
protected:
PWindowManager owner;
Array<PView> views;
Gfx::OWindow gfxHandle;