Shkyera Engine
Easy to use, game engine for Python
shkyera::PreviewWidget Class Reference

A user interface widget for previewing content. More...

#include <PreviewWidget.hpp>

Inheritance diagram for shkyera::PreviewWidget:
[legend]

Public Member Functions

virtual void draw () override
 Implementation of the abstract draw method to render the preview widget. More...
 
 Widget (std::string name)
 Constructor to create a widget with a specified name. More...
 
- Public Member Functions inherited from shkyera::Widget
 Widget (std::string name)
 Constructor to create a widget with a specified name. More...
 

Additional Inherited Members

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

Detailed Description

A user interface widget for previewing content.

The PreviewWidget class provides a graphical user interface widget for previewing various types of content, which may include visual or interactive previews.

Member Function Documentation

◆ draw()

void shkyera::PreviewWidget::draw ( )
overridevirtual

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

Implements shkyera::Widget.

◆ Widget()

shkyera::Widget::Widget

Constructor to create a widget with a specified name.

Parameters
nameThe name of the widget.

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