![]() |
Shkyera Engine
Easy to use, game engine for Python
|
A user interface widget for running and rendering the game runtime. More...
#include <RuntimeWidget.hpp>
Public Member Functions | |
| RuntimeWidget (std::shared_ptr< Registry > registry) | |
| virtual void | draw () override |
Implementation of the abstract draw method to render the runtime widget. | |
| Widget (std::string name) | |
| Constructor to create a widget with a specified name. | |
Public Member Functions inherited from shkyera::Widget | |
| Widget (std::string name) | |
| Constructor to create a widget with a specified name. | |
| virtual | ~Widget ()=default |
| Default virtual destructor. | |
Private Member Functions | |
| void | updateWindowCoordinateSystem () |
Private Attributes | |
| std::shared_ptr< Registry > | _registry |
| std::unique_ptr< Registry > | _storedRegistry |
| AssetRef< Texture > | _playButtonTexture |
| AssetRef< Texture > | _stopButtonTexture |
Additional Inherited Members | |
Public Attributes inherited from shkyera::Widget | |
| std::string | _name |
| The name of the widget. | |
A user interface widget for running and rendering the game runtime.
The RuntimeWidget class provides a graphical user interface widget for rendering and contrlling the runtime
| shkyera::RuntimeWidget::RuntimeWidget | ( | std::shared_ptr< Registry > | registry | ) |
|
overridevirtual |
Implementation of the abstract draw method to render the runtime widget.
Implements shkyera::Widget.
|
private |
| shkyera::Widget::Widget | ( | std::string | name | ) |
Constructor to create a widget with a specified name.
| name | The name of the widget. |
|
private |
|
private |