MochiEngine
Loading...
Searching...
No Matches
Mochi::Graphics::DummyGUI Class Reference
Inheritance diagram for Mochi::Graphics::DummyGUI:
Mochi::Graphics::AbstractGUI

Public Member Functions

 DummyGUI (FS::PackCatalog *catalog, IRenderer *renderer, Input::IActionManager *actionManager)
Public Member Functions inherited from Mochi::Graphics::AbstractGUI
 AbstractGUI (FS::PackCatalog *catalog, IRenderer *renderer, Input::IActionManager *actionManager)
void Update (const float &dt)
 Resets the current selectable element count for elements to use GetNextId again this frame. Also checks vertical axis input to move the selected element.
virtual GUIResultButton Button (const GUIButtonOptions &options, const char *label, const GUITextOptions &textOptions)
 Shows a button with a text. It should be able to be navigated and pressed with the mouse.
virtual GUIResult Text (const char *label, const GUITextOptions &options)
 Shows a text.
virtual GUIResult Sprite (const GUIOptions &options)
 Shows a sprite.

Additional Inherited Members

Protected Member Functions inherited from Mochi::Graphics::AbstractGUI
GUIElementId GetNextId ()
 Use this method withing selectable elements to provide them a unique id while the UI layout remains the same. If called deterministically, the same selectable elements should always have the same IDs if the layout didn't change.
virtual void OnUpdate ()
 Override this if the new system requires additional data processed each frame.
Protected Attributes inherited from Mochi::Graphics::AbstractGUI
GUIElementId mFocusId
GUIElementId mPressedId
std::unique_ptr< AbstractTextureFactorymTextureFactory
IRenderermRenderer
FS::PackCatalogmCatalog
Input::IActionManagermActionManager

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