class SecondaryEditorWindow

Inherits: EditorRenderWindow

A draggable and resizeable window that has a single tab group you may use for docking dockable editor windows in.

Public

Constructors

SecondaryEditorWindow

SecondaryEditorWindow() = default

*********************************************************************

Methods

~SecondaryEditorWindow

virtual ~SecondaryEditorWindow() noexcept

GetTabGroup

EditorWindowTabGroup &GetTabGroup() const

Returns the tab group for this window.

Update

void Update() override

Called once every frame.

staticCreate

static SecondaryEditorWindow *Create()

Creates a new empty editor key window.

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

RTTIType *GetRtti() const override

Returns an interface you can use to access class' Run Time Type Information.

Protected

Constructors

SecondaryEditorWindow

SecondaryEditorWindow(PrivatelyConstruct)

Methods

Initialize

void Initialize() override

Initializes data that cannot be initialized in the constructor.

Must be called right after construction.

DoOnWindowResized

void DoOnWindowResized() override

Callback that triggers whenever the underlying render window changes size.

Private

Methods

UpdateSize

void UpdateSize()

Updates the sizes of the child widget container and OS non-client areas (like drag and resize).

Call when window size changes.

DoOnWidgetAdded

void DoOnWidgetAdded()

Called when a widget is added to the widget container.

DoOnWidgetRemoved

void DoOnWidgetRemoved()

Called when a widget is removed from the widget container.

DoOnMaximizeClicked

void DoOnMaximizeClicked()

Triggered when the maximize button on the title bar is clicked.

CloseWindowDelayed

void CloseWindowDelayed()

A callback that triggers when a drag and drop operation originated from this window ends.

Fields

mTabGroup