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 | |
|---|---|
OnAttach | Called when the window is attached |
OnDetach | Called when the window is detached |
OnPreRender | Called before rendering |
OnRender | Renders the window content |
OnPostRender | Called after rendering |
OnMenuBar | Renders the menu bar |
InitDockSpace | Initializes the dock space |
OnPreDockUpdate | Called before dock update |
OnPostDockUpdate | Called after dock update |