2020-02-25 00:44:40 +01:00
|
|
|
#pragma once
|
|
|
|
|
#include "Window.h"
|
2020-03-02 19:07:49 +01:00
|
|
|
#include "RenderPath.h"
|
|
|
|
|
namespace Seele
|
2020-02-25 00:44:40 +01:00
|
|
|
{
|
2020-03-02 19:07:49 +01:00
|
|
|
// A view is a part of the window, which can be anything from a viewport to an editor
|
|
|
|
|
class View
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
View(PSection owner);
|
|
|
|
|
~View();
|
|
|
|
|
private:
|
|
|
|
|
PRenderPath renderer;
|
|
|
|
|
PSection owner;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
DECLARE_REF(View)
|
|
|
|
|
}
|