Tramway SDK
painis
tram-sdk
src
extensions
menu
system.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_SYSTEM_H
5
#define TRAM_SDK_EXTENSIONS_MENU_SYSTEM_H
6
7
#include <
extensions/menu/menu.h
>
8
9
#include <functional>
10
11
namespace
tram
{
12
class
WorldCell;
13
}
14
15
namespace
tram::Ext::Menu
{
16
17
//void InitCallbacks();
18
//void UpdateCallbacks();
19
20
class
SystemMenu
:
public
Menu
{
21
public
:
22
void
Display
();
23
uint32_t
Layer
() {
return
0; }
24
~SystemMenu
() =
default
;
25
protected
:
26
27
};
28
29
class
SettingsMenu
:
public
Menu
{
30
public
:
31
void
Display
();
32
uint32_t
Layer
() {
return
0; }
33
~SettingsMenu
() =
default
;
34
protected
:
35
uint32_t
tab
= 0;
36
uint32_t
binding_action
= 0;
37
bool
binding_state_ready
=
false
;
38
};
39
40
}
41
42
#endif
tram::Ext::Menu::Menu
Definition:
menu.h:20
tram::Ext::Menu::SettingsMenu
Definition:
system.h:29
tram::Ext::Menu::SettingsMenu::Layer
uint32_t Layer()
Definition:
system.h:32
tram::Ext::Menu::SettingsMenu::tab
uint32_t tab
Definition:
system.h:35
tram::Ext::Menu::SettingsMenu::binding_state_ready
bool binding_state_ready
Definition:
system.h:37
tram::Ext::Menu::SettingsMenu::Display
void Display()
Definition:
system.cpp:75
tram::Ext::Menu::SettingsMenu::binding_action
uint32_t binding_action
Definition:
system.h:36
tram::Ext::Menu::SettingsMenu::~SettingsMenu
~SettingsMenu()=default
tram::Ext::Menu::SystemMenu
Definition:
system.h:20
tram::Ext::Menu::SystemMenu::~SystemMenu
~SystemMenu()=default
tram::Ext::Menu::SystemMenu::Layer
uint32_t Layer()
Definition:
system.h:23
tram::Ext::Menu::SystemMenu::Display
void Display()
Definition:
system.cpp:15
menu.h
tram::Ext::Menu
Definition:
debug.cpp:14
tram
Definition:
api.h:9
Generated by
1.9.2