Tramway SDK
Classes | Functions | Variables
tram::Ext::Menu Namespace Reference

Classes

class  DebugMenu
 
class  EntityPicker
 
class  EntityProperties
 
class  EventEmit
 
struct  EventIntercept
 
struct  Intercept
 
class  InterceptMenu
 
class  ListSelection
 
struct  LogIntercept
 
class  Menu
 
struct  MessageIntercept
 
class  MessageSend
 
class  SettingsMenu
 
class  SignalMenu
 
class  StatisticsMenu
 
class  SystemMenu
 
class  WorldCellProperties
 

Functions

void InitCallbacks ()
 
void UpdateCallbacks ()
 
void ToggleMenuState ()
 
void CloseAll ()
 
void EscapeMenuKeyboard ()
 
void DebugMenuKeyboard ()
 
void Init ()
 
void Update ()
 
void DebugMenue ()
 
std::string string_float (float value)
 

Variables

std::vector< Intercept * > intercepts
 
font_t FONT_WIDGETS = 0
 
font_t FONT_TEXT = 0
 
font_t FONT_TEXT_BOLD = 0
 
font_t FONT_HEADER = 0
 
font_t FONT_PIXELART = 0
 
uint32_t MENU_SYSTEM = -1
 
DebugMenudebug_menu = nullptr
 
std::vector< Menu * > menu_stack
 
std::vector< Menu * > menu_list
 

Function Documentation

◆ CloseAll()

void tram::Ext::Menu::CloseAll ( )

◆ DebugMenue()

void tram::Ext::Menu::DebugMenue ( )

◆ DebugMenuKeyboard()

void tram::Ext::Menu::DebugMenuKeyboard ( )

◆ EscapeMenuKeyboard()

void tram::Ext::Menu::EscapeMenuKeyboard ( )

◆ Init()

void tram::Ext::Menu::Init ( )

◆ InitCallbacks()

void tram::Ext::Menu::InitCallbacks ( )

◆ string_float()

std::string tram::Ext::Menu::string_float ( float  value)

◆ ToggleMenuState()

void tram::Ext::Menu::ToggleMenuState ( )

◆ Update()

void tram::Ext::Menu::Update ( )

◆ UpdateCallbacks()

void tram::Ext::Menu::UpdateCallbacks ( )

Variable Documentation

◆ debug_menu

DebugMenu* tram::Ext::Menu::debug_menu = nullptr

◆ FONT_HEADER

GUI::font_t tram::Ext::Menu::FONT_HEADER = 0

◆ FONT_PIXELART

GUI::font_t tram::Ext::Menu::FONT_PIXELART = 0

◆ FONT_TEXT

GUI::font_t tram::Ext::Menu::FONT_TEXT = 0

◆ FONT_TEXT_BOLD

GUI::font_t tram::Ext::Menu::FONT_TEXT_BOLD = 0

◆ FONT_WIDGETS

GUI::font_t tram::Ext::Menu::FONT_WIDGETS = 0

◆ intercepts

std::vector<Intercept*> tram::Ext::Menu::intercepts

◆ menu_list

std::vector<Menu*> tram::Ext::Menu::menu_list

◆ menu_stack

std::vector<Menu*> tram::Ext::Menu::menu_stack

◆ MENU_SYSTEM

uint32_t tram::Ext::Menu::MENU_SYSTEM = -1