14#include <unordered_map>
45 std::unordered_map<Core*, sf::Vector2f> _relativePositions;
Virtual base class for all Malena framework objects.
Static, type-safe collection manager for Core-derived objects.
Base class for all Malena manifests.
void addComponent(Core &child)
Add a child component to this panel.
void draw(sf::RenderTarget &target, sf::RenderStates states) const override
Draw this graphic to an SFML render target.
void onThemeApplied(const Theme &theme) override
Called by ThemeManager when the active theme changes.
void setPosition(const sf::Vector2f &position) override
Move the panel and shift all children by the same delta.
bool removeComponent(Core &child)
Remove a child component from this panel.
Rectangle with an attached manifest.
Vector2< float > Vector2f
Universal design token set applied across all Themeable components.