25 m_hWnd = INVALID_WINDOW_HANDLE_VALUE;
32 plResult UpdateWindow(plWindowHandle hParentWindow, plUInt16 uiWidth, plUInt16 uiHeight);
35 virtual plSizeU32 GetClientAreaSize()
const override {
return plSizeU32(m_uiWidth, m_uiHeight); }
36 virtual plWindowHandle GetNativeWindowHandle()
const override {
return m_hWnd; }
37 virtual void ProcessWindowMessages()
override {}
38 virtual bool IsFullscreenWindow(
bool bOnlyProperFullscreenMode =
false)
const override {
return false; }
39 virtual bool IsVisible()
const override {
return true; }
40 virtual void AddReference()
override { m_iReferenceCount.Increment(); }
41 virtual void RemoveReference()
override { m_iReferenceCount.Decrement(); }
48 plWindowHandle m_hWnd;
59 void SetViewID(plUInt32 uiId);
65 virtual void Redraw(
bool bRenderEditorGizmos);
72 void DrawSimpleGrid()
const;
76 void HandleWindowUpdate(plWindowHandle hWnd, plUInt16 uiWidth, plUInt16 uiHeight);
92 plActor* m_pEditorWndActor =
nullptr;
virtual bool IsVisible() const override
Whether the window can potentially be seen by the user. Windows that are minimized or hidden are not ...
Definition EngineProcessViewContext.h:39
virtual bool IsFullscreenWindow(bool bOnlyProperFullscreenMode=false) const override
Whether the window is a fullscreen window or should be one - some platforms may enforce this via the ...
Definition EngineProcessViewContext.h:38
A document context is the counter part to an editor document on the engine side.
Definition EngineProcessDocumentContext.h:42
Represents the view/window on the engine process side, holds all data necessary for rendering.
Definition EngineProcessViewContext.h:54
virtual plViewHandle CreateView()=0
Create the actual view.