Tramway SDK
painis
tram-sdk
src
extensions
menu
menu.h
Go to the documentation of this file.
1
// TRAMWAY DRIFT AND DUNGEON EXPLORATION SIMULATOR 2022
2
// All rights reserved.
3
4
#ifndef TRAM_SDK_EXTENSIONS_MENU_MENU_H
5
#define TRAM_SDK_EXTENSIONS_MENU_MENU_H
6
7
#include <
framework/gui.h
>
8
9
namespace
tram::Ext::Menu
{
10
11
void
Init
();
12
void
Update
();
13
14
extern
GUI::font_t
FONT_WIDGETS
;
15
extern
GUI::font_t
FONT_TEXT
;
16
extern
GUI::font_t
FONT_TEXT_BOLD
;
17
extern
GUI::font_t
FONT_HEADER
;
18
extern
GUI::font_t
FONT_PIXELART
;
19
20
class
Menu
{
21
public
:
22
virtual
void
Display
() = 0;
23
virtual
uint32_t
Layer
() = 0;
24
virtual
~Menu
() =
default
;
25
26
static
void
Push
(
Menu
*);
27
static
bool
Pop
();
28
static
bool
Empty
();
29
static
void
Clear
();
30
31
static
void
Add
(
Menu
*);
32
static
void
Remove
(
Menu
*);
33
};
34
35
}
36
37
#endif
tram::Ext::Menu::Menu
Definition:
menu.h:20
tram::Ext::Menu::Menu::Pop
static bool Pop()
Definition:
menu.cpp:168
tram::Ext::Menu::Menu::Clear
static void Clear()
Definition:
menu.cpp:182
tram::Ext::Menu::Menu::Add
static void Add(Menu *)
Definition:
menu.cpp:189
tram::Ext::Menu::Menu::~Menu
virtual ~Menu()=default
tram::Ext::Menu::Menu::Empty
static bool Empty()
Definition:
menu.cpp:178
tram::Ext::Menu::Menu::Layer
virtual uint32_t Layer()=0
tram::Ext::Menu::Menu::Display
virtual void Display()=0
tram::Ext::Menu::Menu::Remove
static void Remove(Menu *)
Definition:
menu.cpp:193
tram::Ext::Menu::Menu::Push
static void Push(Menu *)
Definition:
menu.cpp:163
gui.h
tram::Ext::Menu
Definition:
debug.cpp:14
tram::Ext::Menu::FONT_PIXELART
font_t FONT_PIXELART
Definition:
menu.cpp:31
tram::Ext::Menu::Init
void Init()
Definition:
menu.cpp:97
tram::Ext::Menu::FONT_WIDGETS
font_t FONT_WIDGETS
Definition:
menu.cpp:27
tram::Ext::Menu::FONT_TEXT
font_t FONT_TEXT
Definition:
menu.cpp:28
tram::Ext::Menu::FONT_TEXT_BOLD
font_t FONT_TEXT_BOLD
Definition:
menu.cpp:29
tram::Ext::Menu::Update
void Update()
Definition:
menu.cpp:134
tram::Ext::Menu::FONT_HEADER
font_t FONT_HEADER
Definition:
menu.cpp:30
tram::GUI::font_t
uint32_t font_t
Definition:
gui.h:15
Generated by
1.9.2