#include <GUIManager.h>
Definition at line 64 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 92 of file GUIManager.h.
◆ GUIManager()
RoR::GUIManager::GUIManager |
( |
| ) |
|
◆ ~GUIManager()
RoR::GUIManager::~GUIManager |
( |
| ) |
|
◆ ApplyGuiCaptureKeyboard()
void RoR::GUIManager::ApplyGuiCaptureKeyboard |
( |
| ) |
|
Call after rendered frame to apply queued value.
Definition at line 110 of file GUIManager.cpp.
◆ AreStaticMenusAllowed()
bool RoR::GUIManager::AreStaticMenusAllowed |
( |
| ) |
|
◆ DrawCommonGui()
void RoR::GUIManager::DrawCommonGui |
( |
| ) |
|
◆ DrawMainMenuGui()
void RoR::GUIManager::DrawMainMenuGui |
( |
| ) |
|
◆ DrawSimGuiBuffered()
void RoR::GUIManager::DrawSimGuiBuffered |
( |
GfxActor * |
player_gfx_actor | ) |
|
◆ DrawSimulationGui()
void RoR::GUIManager::DrawSimulationGui |
( |
float |
dt | ) |
|
Touches live data; must be called in sync with sim. thread.
Definition at line 129 of file GUIManager.cpp.
◆ eventRequestTag()
void RoR::GUIManager::eventRequestTag |
( |
const MyGUI::UString & |
_tag, |
|
|
MyGUI::UString & |
_result |
|
) |
| |
|
private |
◆ GetImGui()
◆ GetTheme()
◆ IsGuiCaptureKeyboardRequested()
bool RoR::GUIManager::IsGuiCaptureKeyboardRequested |
( |
| ) |
const |
|
inline |
◆ IsGuiHidden()
bool RoR::GUIManager::IsGuiHidden |
( |
| ) |
const |
|
inline |
◆ NewImGuiFrame()
void RoR::GUIManager::NewImGuiFrame |
( |
float |
dt | ) |
|
◆ RequestGuiCaptureKeyboard()
void RoR::GUIManager::RequestGuiCaptureKeyboard |
( |
bool |
val | ) |
|
Pass true during frame to prevent input passing to application.
Definition at line 439 of file GUIManager.cpp.
◆ SetGuiHidden()
void RoR::GUIManager::SetGuiHidden |
( |
bool |
visible | ) |
|
◆ SetMouseCursorVisibility()
◆ SetSceneManagerForGuiRendering()
void RoR::GUIManager::SetSceneManagerForGuiRendering |
( |
Ogre::SceneManager * |
scene_manager | ) |
|
◆ SetupImGui()
void RoR::GUIManager::SetupImGui |
( |
| ) |
|
|
private |
◆ SetUpMenuWallpaper()
void RoR::GUIManager::SetUpMenuWallpaper |
( |
| ) |
|
◆ ShowMessageBox() [1/2]
void RoR::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 RoR::GUIManager::ShutdownMyGUI |
( |
| ) |
|
◆ SupressCursor()
void RoR::GUIManager::SupressCursor |
( |
bool |
do_supress | ) |
|
◆ UpdateInputEvents()
void RoR::GUIManager::UpdateInputEvents |
( |
float |
dt | ) |
|
◆ UpdateMouseCursorVisibility()
void RoR::GUIManager::UpdateMouseCursorVisibility |
( |
| ) |
|
◆ WakeUpGUI()
void RoR::GUIManager::WakeUpGUI |
( |
| ) |
|
◆ ChatBox
◆ CollisionsDebug
◆ ConsoleWindow
◆ DirectionArrow
◆ FlexbodyDebug
◆ FrictionSettings
◆ GameAbout
◆ GameControls
◆ GameMainMenu
◆ GameSettings
◆ LoadingWindow
◆ m_gui_kb_capture_queued
bool RoR::GUIManager::m_gui_kb_capture_queued = false |
|
private |
Resets and accumulates every frame.
Definition at line 170 of file GUIManager.h.
◆ m_gui_kb_capture_requested
bool RoR::GUIManager::m_gui_kb_capture_requested = false |
|
private |
◆ m_hide_gui
bool RoR::GUIManager::m_hide_gui = 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 173 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_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: