Definition at line 75 of file GUIManager.h.
◆ MouseCursorVisibility
| Enumerator |
|---|
| VISIBLE | Visible, will be auto-hidden if not moving for a while.
|
| HIDDEN | Hidden as inactive, will re-appear the moment user moves mouse.
|
| SUPRESSED | Hidden manually, will not re-appear until explicitly set VISIBLE.
|
Definition at line 106 of file GUIManager.h.
◆ GUIManager()
| GUIManager::GUIManager |
( |
| ) |
|
◆ ~GUIManager()
| GUIManager::~GUIManager |
( |
| ) |
|
◆ ApplyGuiCaptureKeyboard()
| void GUIManager::ApplyGuiCaptureKeyboard |
( |
| ) |
|
Call after rendered frame to apply queued value.
Definition at line 128 of file GUIManager.cpp.
◆ ApplyImGuiStyle()
| void GUIManager::ApplyImGuiStyle |
( |
| ) |
|
|
private |
Resets style to defaults, applies RoR theme and scales by 'ui_scale_factor'.
Definition at line 377 of file GUIManager.cpp.
◆ ApplyUiPreset()
| void GUIManager::ApplyUiPreset |
( |
| ) |
|
◆ AreStaticMenusAllowed()
| bool GUIManager::AreStaticMenusAllowed |
( |
| ) |
|
◆ DrawCommonGui()
| void GUIManager::DrawCommonGui |
( |
| ) |
|
◆ DrawMainMenuGui()
| void GUIManager::DrawMainMenuGui |
( |
| ) |
|
◆ DrawSimGuiBuffered()
| void GUIManager::DrawSimGuiBuffered |
( |
GfxActor * |
player_gfx_actor | ) |
|
◆ DrawSimulationGui()
| void GUIManager::DrawSimulationGui |
( |
float |
dt | ) |
|
Touches live data; must be called in sync with sim. thread.
Definition at line 160 of file GUIManager.cpp.
◆ eventRequestTag()
| void GUIManager::eventRequestTag |
( |
const MyGUI::UString & |
_tag, |
|
|
MyGUI::UString & |
_result |
|
) |
| |
|
private |
◆ GetImGui()
◆ GetRttLayerManager()
◆ GetTheme()
| GuiTheme & RoR::GUIManager::GetTheme |
( |
| ) |
|
|
inline |
◆ GetUiScaleFactor()
| float GUIManager::GetUiScaleFactor |
( |
| ) |
const |
Reads cvar 'ui_scale_factor', clamped to sane range.
Definition at line 372 of file GUIManager.cpp.
◆ IsGuiCaptureKeyboardRequested()
| bool RoR::GUIManager::IsGuiCaptureKeyboardRequested |
( |
| ) |
const |
|
inline |
◆ IsGuiHidden()
| bool RoR::GUIManager::IsGuiHidden |
( |
| ) |
const |
|
inline |
◆ NewImGuiFrame()
| void GUIManager::NewImGuiFrame |
( |
float |
dt | ) |
|
◆ ReinitUI()
| void GUIManager::ReinitUI |
( |
| ) |
|
Reloads fonts and re-applies style; reads cvar 'ui_scale_factor'. Must be called outside ImGui frame (processing MSG_APP_REINIT_UI_REQUESTED).
Definition at line 354 of file GUIManager.cpp.
◆ RequestGuiCaptureKeyboard()
| void GUIManager::RequestGuiCaptureKeyboard |
( |
bool |
val | ) |
|
Pass true during frame to prevent input passing to application.
Definition at line 514 of file GUIManager.cpp.
◆ SetGuiHidden()
| void GUIManager::SetGuiHidden |
( |
bool |
visible | ) |
|
◆ SetMouseCursorVisibility()
◆ SetSceneManagerForGuiRendering()
| void GUIManager::SetSceneManagerForGuiRendering |
( |
Ogre::SceneManager * |
scene_manager | ) |
|
◆ SetupImGui()
| void GUIManager::SetupImGui |
( |
| ) |
|
|
private |
◆ SetUpMenuWallpaper()
| void GUIManager::SetUpMenuWallpaper |
( |
| ) |
|
◆ ShowMessageBox() [1/2]
| void GUIManager::ShowMessageBox |
( |
const char * |
title, |
|
|
const char * |
text, |
|
|
bool |
allow_close = true, |
|
|
const char * |
btn1_text = "OK", |
|
|
const char * |
btn2_text = nullptr |
|
) |
| |
◆ ShowMessageBox() [2/2]
◆ ShutdownMyGUI()
| void GUIManager::ShutdownMyGUI |
( |
| ) |
|
◆ SupressCursor()
| void GUIManager::SupressCursor |
( |
bool |
do_supress | ) |
|
◆ UpdateInputEvents()
| void GUIManager::UpdateInputEvents |
( |
float |
dt | ) |
|
◆ UpdateMouseCursorVisibility()
| void GUIManager::UpdateMouseCursorVisibility |
( |
| ) |
|
◆ WakeUpGUI()
| void GUIManager::WakeUpGUI |
( |
| ) |
|
◆ ChatBox
◆ CollisionsDebug
◆ ConsoleWindow
◆ DirectionArrow
◆ FlexbodyDebug
◆ FrictionSettings
◆ GameAbout
◆ GameControls
◆ GameMainMenu
◆ GameSettings
◆ LoadingWindow
◆ m_active_ui_scale_factor
| float RoR::GUIManager::m_active_ui_scale_factor = 1.f |
|
private |
Last applied value of cvar 'ui_scale_factor', clamped to sane range.
Definition at line 193 of file GUIManager.h.
◆ m_gui_kb_capture_queued
| bool RoR::GUIManager::m_gui_kb_capture_queued = false |
|
private |
Resets and accumulates every frame.
Definition at line 189 of file GUIManager.h.
◆ m_gui_kb_capture_requested
| bool RoR::GUIManager::m_gui_kb_capture_requested = false |
|
private |
◆ m_imgui
◆ m_is_cursor_supressed
| bool RoR::GUIManager::m_is_cursor_supressed = false |
|
private |
True if cursor was manually hidden.
Definition at line 192 of file GUIManager.h.
◆ m_last_mousemove_time
| Ogre::Timer RoR::GUIManager::m_last_mousemove_time |
|
private |
◆ m_mygui
| MyGUI::Gui* RoR::GUIManager::m_mygui = nullptr |
|
private |
◆ m_mygui_platform
| MyGUI::OgrePlatform* RoR::GUIManager::m_mygui_platform = nullptr |
|
private |
◆ m_rtt_layer_manager
Manages dashboard RTT layers (reusable).
Definition at line 188 of file GUIManager.h.
◆ m_theme
◆ MainSelector
◆ MenuWallpaper
| Ogre::Overlay* RoR::GUIManager::MenuWallpaper = nullptr |
◆ MessageBoxDialog
◆ MpClientList
◆ MultiplayerSelector
◆ NodeBeamUtils
◆ RepositorySelector
◆ SimPerfStats
◆ SurveyMap
◆ TextureToolWindow
◆ TopMenubar
◆ VehicleInfoTPanel
The documentation for this class was generated from the following files: