|
Brenta Engine 1.2
|
Gui class. More...
#include <gui.hpp>
Data Structures | |
| class | builder |
Public Member Functions | |
| std::expected< void, subsystem::error > | initialize () override |
| std::expected< void, subsystem::error > | terminate () override |
| std::string | name () override |
| Returns the name of the sybsystem. | |
| bool | is_initialized () override |
| Returns true if the subsystem is initialized. | |
Public Member Functions inherited from brenta::subsystem | |
Static Public Member Functions | |
| static gui & | instance () |
| static void | new_frame (types::framebuffer *fb, std::string name="Game") |
| Start a new frame To be called at each frame before rendering. | |
| static void | render () |
| Render the gui To be called at each frame after rendering. | |
Static Public Attributes | |
| static const std::string | subsystem_name = "gui" |
Additional Inherited Members | |
Public Types inherited from brenta::subsystem | |
| using | error = std::string |
Gui class.
This class contains the GUI functions, It's a wrapper around imgui, providing functions to initialize, update and delete the gui.
|
overridevirtual |
Implements brenta::subsystem.
|
overridevirtual |
Returns true if the subsystem is initialized.
Implements brenta::subsystem.
|
overridevirtual |
Returns the name of the sybsystem.
Implements brenta::subsystem.
|
static |
|
static |
|
overridevirtual |
Implements brenta::subsystem.