IWindow

Defined in : <DataMorph/abi/iwindow.h>

class dm::Window;
This class is not meant to be used directly by plugin developers. See Window

This class represents a Window, which is a frame which can be drawn on.

Overview

Window is responsible for rendering a named frame which can be customized using ImGui. Note that there’s no need to call ImGui::Begin and ImGui::End. The function that must be overriden is OnRender. It is a COM-compatible class.

Namespace : dm::abi

Members

Constructors and assignments
(constructor)Constructs the IWindow object
(destructor)Destructs the IWindow object
Abstract virtual methods
OnAttachCalled when the window is attached
OnDetachCalled when the window is detached
OnPreRenderCalled before rendering
OnRenderRenders the window content
OnPostRenderCalled after rendering
OnMenuBarRenders the menu bar
InitDockSpaceInitializes the dock space
OnPreDockUpdateCalled before dock update
OnPostDockUpdateCalled after dock update