Class DockableWindow

Inheritance Relationships

Base Type

Class Documentation

class DockableWindow : public ari::Gui

Public Types

enum Oriention

Values:

Center
Top
Left
Right
Botton

Public Functions

DockableWindow(GuiSystem *_pGuiSystem)
~DockableWindow()
bool BeginRender()
void Dock(Oriention _oriention = Oriention::Center, float _raito = 0.5f) const
void DockWith(DockableWindow *_pOtherDock, Oriention _oriention = Oriention::Center, float _raito = 0.5f) const
void SetTitle(const char *_pTitle) const
void SetAlone(bool _alone) const
void SetClosable(bool _closable) const
void SetFillingSpace(bool _fill) const
void GetLastPosition(float &_x, float &_y) const
void GetLastSize(float &_width, float &_height) const
PlatformWindow *GetPlatformWindow() const

Note
: only call this function on OnGui callback

Public Members

DelegateNoParam<void> OnGui

This is a callback for when we want to draw the Guis good to get the window size here.

DelegateNoParam<void> OnWindowChanged

This callback is for when platform window change or assigned. Good for setting the event listeners.

Protected Attributes

GuiSystem *m_pGuiSystem
ImWindow::ImwWindow *m_pWindow
PlatformWindow *m_pPlatformWindow