3#include <phosphorus/GameObject.h>
5#include "SettingComponent.h"
18 UniqueRef<Andromenda::SelectionTextComponent> m_Submit;
23 std::vector<UniqueRef<SettingComponent>> m_SettingComponents;
The renderer of component registry.
Definition Surface.h:28
Represents object that registers components .
Definition Screen.h:57
Phosphorus::GameObject * m_GameObject
GameObject instance that holds setting parameters.
Definition SettingsScreen.h:34
void OnSurfaceCallback(const String &id) override
Handles callbacks from surface elements.
Definition SettingsScreen.cpp:72
void Build(Andromenda::Surface &surface) override
Builds the UI components for the settings screen.
Definition SettingsScreen.cpp:37
static void GoBack()
Static callback to exit the settings screen.
Definition SettingsScreen.cpp:35
WideString m_SubmitText
Text displayed on the submit button.
Definition SettingsScreen.h:29
void Draw() override
Draws the settings screen (currently empty).
Definition SettingsScreen.h:52
Represents named set of parameters which can be serialized.
Definition GameObject.h:274
Represents a mutable sequence of characters, providing various member functions for string manipulati...
Definition String.h:16
Represents a mutable sequence of utf-16 characters, providing various member functions for string man...
Definition WideString.h:14