![]() |
DDraceNetwork Documentation
|
#include <component.h>
Public Member Functions | |
| void | OnInit (CEditor *pEditor) override |
| virtual void | OnReset () |
| virtual void | OnMapLoad () |
| virtual bool | OnInput (const IInput::CEvent &Event) |
| virtual void | OnUpdate () |
| virtual void | OnRender (CUIRect View) |
| void | InitSubComponents () |
| void | RegisterSubComponent (CEditorComponent &Component) |
| Public Member Functions inherited from CEditorObject | |
| virtual | ~CEditorObject ()=default |
| CEditor * | Editor () |
| const CEditor * | Editor () const |
| IInput * | Input () |
| const IInput * | Input () const |
| IClient * | Client () |
| const IClient * | Client () const |
| CConfig * | Config () |
| const CConfig * | Config () const |
| IEngine * | Engine () |
| const IEngine * | Engine () const |
| IGraphics * | Graphics () |
| const IGraphics * | Graphics () const |
| ISound * | Sound () |
| const ISound * | Sound () const |
| ITextRender * | TextRender () |
| const ITextRender * | TextRender () const |
| IStorage * | Storage () |
| const IStorage * | Storage () const |
| CUi * | Ui () |
| const CUi * | Ui () const |
| CRenderMap * | RenderMap () |
| const CRenderMap * | RenderMap () const |
Private Attributes | |
| std::vector< std::reference_wrapper< CEditorComponent > > | m_vSubComponents |
| void CEditorComponent::InitSubComponents | ( | ) |
Initialize all registered subcomponents. Needs to be called after the interfaces have been initialized.
|
overridevirtual |
Initialize the component and interface pointers. Needs to be the first function that is called. The default implementation also resets the component.
Reimplemented from CEditorObject.
Reimplemented in CFontTyper, CLayerSelector, CMapSettingsBackend, CMapView, CPrompt, and CProofMode.
|
virtual |
Gets called before OnRender. Should return true if the event was consumed.
Reimplemented in CFontTyper, and CPrompt.
|
virtual |
Reimplemented in CMapSettingsBackend, CMapView, and CProofMode.
|
virtual |
Reimplemented in CFileBrowser, CFontTyper, CMapGrid, and CPrompt.
|
virtual |
Reimplemented in CMapGrid, CMapView, and CProofMode.
|
virtual |
| void CEditorComponent::RegisterSubComponent | ( | CEditorComponent & | Component | ) |
|
private |