![]() |
DDNet documentation
|
#include <font_typer.h>
Classes | |
| class | CState |
Public Member Functions | |
| void | OnInit (CEditor *pEditor) override |
| bool | OnInput (const IInput::CEvent &Event) override |
| void | Render () |
| bool | IsActive () const |
| Public Member Functions inherited from CEditorComponent | |
| virtual void | OnReset () |
| virtual void | OnMapLoad () |
| virtual void | OnUpdate () |
| void | InitSubComponents () |
| void | RegisterSubComponent (CEditorComponent &Component) |
| Public Member Functions inherited from CEditorObject | |
| virtual | ~CEditorObject ()=default |
| CEditor * | Editor () |
| const CEditor * | Editor () const |
| CEditorMap * | Map () |
| const CEditorMap * | Map () 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 Types | |
| enum | { LETTER_OFFSET = 1 , NUMBER_OFFSET = 54 } |
Private Member Functions | |
| void | SetCursor () |
| void | TextModeOff () |
| void | TextModeOn () |
| void | SetTile (ivec2 Pos, unsigned char Index, const std::shared_ptr< CLayerTiles > &pLayer) |
Private Attributes | |
| std::chrono::nanoseconds | m_CursorRenderTime |
| IGraphics::CTextureHandle | m_CursorTextTexture |
| CUi::SConfirmPopupContext | m_ConfirmActivatePopupContext |
| bool CFontTyper::IsActive | ( | ) | const |
|
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 CEditorComponent.
|
overridevirtual |
Should return true if the event was consumed.
Reimplemented from CEditorComponent.
| void CFontTyper::Render | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |