ReXGlue SDK
Loading...
Searching...
No Matches
rex::ui::DialogBase Class Reference

#include <rex/ui/ui_system.h>

Inheritance diagram for rex::ui::DialogBase:
[legend]

Public Member Functions

void OnClose () override
bool NeedsContinuousPaint () const override
bool WantsExclusiveInput () const override
void OnShow () override
bool OnToggle () override
Public Member Functions inherited from rex::ui::IDialog
virtual bool Draw (ImGuiIO &io)=0

Detailed Description

An IDialog with default hooks. Draw stays pure.

Member Function Documentation

◆ NeedsContinuousPaint()

bool rex::ui::DialogBase::NeedsContinuousPaint ( ) const
inlineoverridevirtual

Reports whether the dialog needs a repaint after every frame.

Returns
True when the dialog changes without outside events.

Implements rex::ui::IDialog.

◆ OnClose()

void rex::ui::DialogBase::OnClose ( )
inlineoverridevirtual

Called once after Draw returned false, before the system removes the dialog.

Implements rex::ui::IDialog.

◆ OnShow()

void rex::ui::DialogBase::OnShow ( )
inlineoverridevirtual

Implements rex::ui::IDialog.

◆ OnToggle()

bool rex::ui::DialogBase::OnToggle ( )
inlineoverridevirtual

Lets an overlay handle its toggle bind while hidden.

Returns
True when the dialog handled the toggle and stays hidden.

Implements rex::ui::IDialog.

◆ WantsExclusiveInput()

bool rex::ui::DialogBase::WantsExclusiveInput ( ) const
inlineoverridevirtual

Reports whether the dialog takes all title input while it shows, the pads included.

Returns
True to block the title input.

Implements rex::ui::IDialog.


The documentation for this class was generated from the following file: