sculpto
Main Page
Namespaces
Classes
Files
File List
File Members
core
gui
gui.h
Go to the documentation of this file.
1
/*!****************************************************************/
/*!*
2
* \file gui_layer.h
3
* \brief Application graphics user interface layer class implementation module.
4
* Handles user GUI events and widgets render.
5
*
6
* \author Sabitov Kirill
7
* \date 28 June 2022
8
*********************************************************************/
9
10
#pragma once
11
12
#include "../application/layer.h"
13
14
namespace
scl
15
{
17
class
gui
18
{
19
public
:
20
static
bool
IsDockspace
;
21
22
public
:
24
gui
() =
default
;
25
27
~gui
() =
default
;
28
29
/*!*
30
* Layer initialisation virtual callback function.
31
*
32
* \param None.
33
* \return None.
34
*/
35
static
void
Init
();
36
37
/*!*
38
* Layer deinitialisation virtual callback function.
39
*
40
* \param None.
41
* \return None.
42
*/
43
static
void
Close
();
44
45
/*!*
46
* Begining GUI rendering pipeline function.
47
*
48
* \param None.
49
* \return None.
50
*/
51
static
void
BeginUpdate
();
52
53
/*!*
54
* Submit rendered GUI function.
55
*
56
* \param None.
57
* \return None.
58
*/
59
static
void
SubmitUpdate
();
60
61
private
:
62
/*!*
63
* Draw docking space to window function.
64
*
65
* \param None.
66
* \return None.
67
*/
68
static
void
DrawDockspace();
69
70
/*!*
71
* Setup Dear ImGui color scheme function.
72
*
73
* \param None.
74
* \return None.
75
*/
76
static
void
SetUpTheme();
77
};
78
}
scl::gui
Definition:
gui.h:18
scl::gui::gui
gui()=default
scl::gui::SubmitUpdate
static void SubmitUpdate()
Definition:
gui.cpp:98
scl::gui::Init
static void Init()
Definition:
gui.cpp:23
scl::gui::BeginUpdate
static void BeginUpdate()
Definition:
gui.cpp:89
scl::gui::IsDockspace
static bool IsDockspace
Definition:
gui.h:20
scl::gui::Close
static void Close()
Definition:
gui.cpp:67
scl::gui::~gui
~gui()=default
scl
Definition:
base.h:33
Generated by
1.9.4