Shkyera Engine
Easy to use, game engine for Python
|
A specialized UIComponent for rendering circle shapes within a graphical user interface. More...
#include <ShapeCircleUIComponent.hpp>
Public Member Functions | |
virtual | ~ShapeCircleUIComponent ()=default |
Virtual destructor for ShapeCircleUIComponent. More... | |
virtual void | drawOptions () override |
Draw options specific to the circle shape. More... | |
virtual void | initialize (std::shared_ptr< Renderer > renderer) override |
Initialize the ShapeCircleUIComponent. More... | |
Public Member Functions inherited from shkyera::ShapeUIComponent | |
virtual | ~ShapeUIComponent ()=default |
Virtual destructor for ShapeUIComponent. More... | |
virtual void | draw () override |
Draw the shape within the UI component. More... | |
UIComponent (std::string name, std::shared_ptr< GameObject > object) | |
Constructor for ShapeUIComponent. More... | |
Public Member Functions inherited from shkyera::UIComponent | |
UIComponent (std::string name, std::shared_ptr< GameObject > object) | |
Constructor to create a UI component with a specified name and associated game object. More... | |
Private Attributes | |
std::shared_ptr< ShapeCircleComponent > | _shape |
Additional Inherited Members | |
Static Public Member Functions inherited from shkyera::UIComponent | |
static void | addComponentToObject (std::shared_ptr< GameObject > object, std::shared_ptr< UIComponent > component) |
Static method to add a UI component to a game object. More... | |
static std::vector< std::shared_ptr< UIComponent > > | getComponentsOfObject (std::shared_ptr< GameObject > object) |
Static method to retrieve a list of UI components associated with a game object. More... | |
Protected Attributes inherited from shkyera::UIComponent | |
uint64_t | _uuid |
A unique identifier for the UI component. More... | |
std::string | _name |
The name of the UI component. More... | |
std::shared_ptr< GameObject > | _object |
The game object associated with the UI component. More... | |
A specialized UIComponent for rendering circle shapes within a graphical user interface.
The ShapeCircleUIComponent class extends the ShapeUIComponent and provides methods for drawing circle shapes and handling their options. This class is specific to rendering circle shapes and should be used for that purpose.
|
virtualdefault |
Virtual destructor for ShapeCircleUIComponent.
|
overridevirtual |
Draw options specific to the circle shape.
This method is responsible for rendering options specific to the circle shape within the UI component.
Implements shkyera::ShapeUIComponent.
|
overridevirtual |
Initialize the ShapeCircleUIComponent.
Perform any initialization steps required for rendering circle shapes, such as setting up resources or configuring rendering parameters.
renderer | A shared pointer to the Renderer used for rendering. |
Implements shkyera::ShapeUIComponent.
|
private |