Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
shkyera::SceneWidget Class Reference

A user interface widget for rendering scenes. More...

#include <SceneWidget.hpp>

Inheritance diagram for shkyera::SceneWidget:
[legend]

Public Member Functions

 SceneWidget (std::shared_ptr< Registry > registry)
 
virtual void draw () override
 Implementation of the abstract draw method to render the scene 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
 

Additional Inherited Members

- Public Attributes inherited from shkyera::Widget
std::string _name
 The name of the widget.
 

Detailed Description

A user interface widget for rendering scenes.

The SceneWidget class provides a graphical user interface widget for rendering and contrlling the runtime

Constructor & Destructor Documentation

◆ SceneWidget()

shkyera::SceneWidget::SceneWidget ( std::shared_ptr< Registry registry)

Member Function Documentation

◆ draw()

void shkyera::SceneWidget::draw ( )
overridevirtual

Implementation of the abstract draw method to render the scene widget.

Implements shkyera::Widget.

◆ updateWindowCoordinateSystem()

void shkyera::SceneWidget::updateWindowCoordinateSystem ( )
private

◆ Widget()

shkyera::Widget::Widget ( std::string  name)

Constructor to create a widget with a specified name.

Parameters
nameThe name of the widget.

Member Data Documentation

◆ _registry

std::shared_ptr<Registry> shkyera::SceneWidget::_registry
private

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