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
Contains the declaration of the Widget class, an abstract base class for GUI widgets.
A user interface widget for previewing content.
Definition: PreviewWidget.hpp:19
virtual void draw() override
Implementation of the abstract draw method to render the preview widget.
Definition: PreviewWidget.cpp:8
An abstract base class representing a GUI widget.
Definition: Widget.hpp:21
Widget(std::string name)
Constructor to create a widget with a specified name.
Definition: Widget.cpp:5
Definition: Entity.cpp:3