DDraceNetwork Docs
prompt.h
Go to the documentation of this file.
1#ifndef GAME_EDITOR_PROMPT_H
2#define GAME_EDITOR_PROMPT_H
3
7
8#include "component.h"
9
11{
15
16 std::vector<CQuickAction *> m_vpFilteredPromptList;
17 std::vector<CQuickAction *> m_vQuickActions;
19
20public:
21 void OnInit(CEditor *pEditor) override;
22 bool OnInput(const IInput::CEvent &Event) override;
23 void OnRender(CUIRect _) override;
24 bool IsActive();
25 void SetActive();
26 void SetInactive();
27};
28
29#endif
Definition: component.h:9
Definition: editor.h:276
Definition: prompt.h:11
std::vector< CQuickAction * > m_vQuickActions
Definition: prompt.h:17
bool IsActive()
Definition: prompt.cpp:28
std::vector< CQuickAction * > m_vpFilteredPromptList
Definition: prompt.h:16
bool m_ResetFilterResults
Definition: prompt.h:12
void OnRender(CUIRect _) override
Definition: prompt.cpp:68
CQuickAction * m_pLastAction
Definition: prompt.h:13
bool OnInput(const IInput::CEvent &Event) override
Definition: prompt.cpp:50
void SetInactive()
Definition: prompt.cpp:41
CLineInputBuffered< 512 > m_PromptInput
Definition: prompt.h:18
void OnInit(CEditor *pEditor) override
Definition: prompt.cpp:59
int m_PromptSelectedIndex
Definition: prompt.h:14
void SetActive()
Definition: prompt.cpp:33
Definition: quick_action.h:13
Definition: ui_rect.h:11
Definition: input.h:24