DDraceNetwork Docs
|
#include <prompt.h>
Public Member Functions | |
void | OnInit (CEditor *pEditor) override |
bool | OnInput (const IInput::CEvent &Event) override |
void | OnRender (CUIRect _) override |
bool | IsActive () |
void | SetActive () |
void | SetInactive () |
Public Member Functions inherited from CEditorComponent | |
virtual bool | OnInput (const IInput::CEvent &Event) override |
void | InitSubComponents () |
void | RegisterSubComponent (CEditorComponent &Component) |
Public Member Functions inherited from CEditorObject | |
virtual | ~CEditorObject ()=default |
virtual void | OnInit (CEditor *pEditor) |
virtual void | OnUpdate () |
virtual bool | OnInput (const IInput::CEvent &Event) |
virtual void | OnRender (CUIRect View) |
virtual void | OnHot () |
virtual void | OnActive () |
virtual void | OnReset () |
virtual void | OnMapLoad () |
bool | IsHot () |
void | SetHot () |
void | UnsetHot () |
bool | IsActive () |
void | SetActive () |
void | SetInactive () |
CEditor * | Editor () |
const CEditor * | Editor () const |
IInput * | Input () |
IClient * | Client () |
CConfig * | Config () |
IConsole * | Console () |
IEngine * | Engine () |
IGraphics * | Graphics () |
ISound * | Sound () |
ITextRender * | TextRender () |
IStorage * | Storage () |
CUi * | Ui () |
CRenderTools * | RenderTools () |
Private Attributes | |
bool | m_ResetFilterResults = true |
CQuickAction * | m_pLastAction = nullptr |
int | m_PromptSelectedIndex = -1 |
std::vector< CQuickAction * > | m_vpFilteredPromptList |
std::vector< CQuickAction * > | m_vQuickActions |
CLineInputBuffered< 512 > | m_PromptInput |
bool CPrompt::IsActive | ( | ) |
|
overridevirtual |
Initialise the component and interface pointers. Needs to be the first function that is called. The default implentation also resets the component.
Reimplemented from CEditorObject.
|
overridevirtual |
Gets called before OnRender
. Should return true if the event was consumed. By default the events are forwarded to the subcomponents.
Reimplemented from CEditorComponent.
|
overridevirtual |
Reimplemented from CEditorObject.
void CPrompt::SetActive | ( | ) |
void CPrompt::SetInactive | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |