![Logo](../../rorlogo.png) |
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
69 void Show(
const char* title,
const char* text,
bool allow_close,
const char* button1_text,
const char* button2_text);
std::vector< MessageBoxButton > mbc_buttons
Global forward declarations.
void DrawButton(MessageBoxButton const &button)
bool * m_close_handle
If nullptr, close button is hidden. Otherwise visible.
MsgType
Global gameplay message loop, see struct Message in GameContext.h.
Central state/object manager and communications hub.
void Show(MessageBoxConfig const &cfg)
Quake-style console variable, defined in RoR.cfg or crated via Console UI and scripts.
bool * mbc_close_handle
External close handle - not required for mbc_allow_close.
CVar * mbc_always_ask_conf
If set, displays classic checkbox "[x] Always ask".
float mbc_content_width
Parameter to ImGui::SetContentWidth() - hard limit on content size.
bool mbc_allow_close
Show close handle even if dbc_close_handle isn't set.