Shkyera Engine
Easy to use, game engine for Python
PreviewWidget.hpp
Go to the documentation of this file.
1
7
#pragma once
8
9
#include "
ui/Widget.hpp
"
10
11
namespace
shkyera
{
12
19
class
PreviewWidget
:
public
Widget
{
20
public
:
21
using
Widget::Widget
;
22
26
virtual
void
draw
()
override
;
27
};
28
29
}
// namespace shkyera
Widget.hpp
Contains the declaration of the Widget class, an abstract base class for GUI widgets.
shkyera::PreviewWidget
A user interface widget for previewing content.
Definition:
PreviewWidget.hpp:19
shkyera::PreviewWidget::draw
virtual void draw() override
Implementation of the abstract draw method to render the preview widget.
Definition:
PreviewWidget.cpp:8
shkyera::Widget
An abstract base class representing a GUI widget.
Definition:
Widget.hpp:21
shkyera::Widget::Widget
Widget(std::string name)
Constructor to create a widget with a specified name.
Definition:
Widget.cpp:5
shkyera
Definition:
Entity.cpp:3
src
ui
widgets
PreviewWidget.hpp
Generated by
1.9.1
Franciszek Szewczyk © 2023