 |
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
57 #include <Bites/OgreWindowEventUtilities.h>
59 #include <MyGUI_OgrePlatform.h>
60 #include <MyGUI_UString.h>
61 #include <OgreOverlay.h>
139 void ShowMessageBox(
const char* title,
const char* text,
bool allow_close =
true,
const char* btn1_text =
"OK",
const char* btn2_text =
nullptr);
175 void eventRequestTag(
const MyGUI::UString& _tag, MyGUI::UString& _result);
GUI::VehicleInfoTPanel VehicleInfoTPanel
ImVec4 selected_entry_text_color
std::string uip_values[(int) UiPreset::Count]
MyGUI::OgrePlatform * m_mygui_platform
Overlay showing chat/console messages on screen, with optional entry field.
ImVec4 value_red_text_color
GUI::FrictionSettings FrictionSettings
Generic UI dialog (not modal). Invocable from scripting. Any number of buttons. Configurable to fire ...
ImVec4 in_progress_text_color
ImVec4 value_blue_text_color
void ApplyGuiCaptureKeyboard()
Call after rendered frame to apply queued value.
void eventRequestTag(const MyGUI::UString &_tag, MyGUI::UString &_result)
GUI::SimPerfStats SimPerfStats
GUI::TextureToolWindow TextureToolWindow
GUI::GameControls GameControls
GUI::MpClientList MpClientList
Race direction arrow and text info (using OGRE Overlay)
ImVec4 semitrans_text_bg_color
GUI::GameSettings GameSettings
ImVec4 semitransparent_window_bg
GUI::DirectionArrow DirectionArrow
GUI::LoadingWindow LoadingWindow
GUI::RepositorySelector RepositorySelector
void SupressCursor(bool do_supress)
void NewImGuiFrame(float dt)
void UpdateMouseCursorVisibility()
GUI::MultiplayerSelector MultiplayerSelector
Flexbody and prop diagnostic.
Ogre::Overlay * MenuWallpaper
void SetMouseCursorVisibility(MouseCursorVisibility visi)
void UpdateInputEvents(float dt)
GUI::CollisionsDebug CollisionsDebug
void DrawSimGuiBuffered(GfxActor *player_gfx_actor)
Reads data from simbuffer.
bool m_gui_kb_capture_queued
Resets and accumulates every frame.
ImVec4 warning_text_color
bool AreStaticMenusAllowed()
i.e. top menubar / vehicle UI buttons
bool IsGuiCaptureKeyboardRequested() const
Central state/object manager and communications hub.
ImVec4 color_mark_max_darkness
If all RGB components are darker than this, text is auto-lightened.
@ SUPRESSED
Hidden manually, will not re-appear until explicitly set VISIBLE.
void RequestGuiCaptureKeyboard(bool val)
Pass true during frame to prevent input passing to application.
void ApplyUiPreset()
reads cvar 'ui_preset'
ImVec4 no_entries_text_color
ImVec4 success_text_color
GUI::NodeBeamUtils NodeBeamUtils
GUI::ConsoleWindow ConsoleWindow
void DrawSimulationGui(float dt)
Touches live data; must be called in sync with sim. thread.
GUI::TopMenubar TopMenubar
void SetSceneManagerForGuiRendering(Ogre::SceneManager *scene_manager)
void ShowMessageBox(const char *title, const char *text, bool allow_close=true, const char *btn1_text="OK", const char *btn2_text=nullptr)
ImVec2 screen_edge_padding
GUI::FlexbodyDebug FlexbodyDebug
Ogre::Timer m_last_mousemove_time
ImVec4 highlight_text_color
Diagnostic view for static terrain collisions and script event-boxes.
GUI::MessageBoxDialog MessageBoxDialog
GUI::MainSelector MainSelector
void SetUpMenuWallpaper()
ImVec2 semitrans_text_bg_padding
bool m_gui_kb_capture_requested
Effective value, persistent.
@ HIDDEN
Hidden as inactive, will re-appear the moment user moves mouse.
bool m_is_cursor_supressed
True if cursor was manually hidden.
UiPresetEntry UiPresets[]
Global list of UI Presets, selectable via Settings menu in TopMenubar.
In-game map widget Has 3 display modes (see SurveyMapMode), cycled using input SURVEY_MAP_TOGGLE_VIEW
void SetGuiHidden(bool visible)
GUI::GameMainMenu GameMainMenu
@ VISIBLE
Visible, will be auto-hidden if not moving for a while.
CVar * ui_hide_gui
bool; The 'hide GUI' hotkey state