RigsofRods
Soft-body Physics Simulation
Data Structures | Namespaces | Functions
GUIUtils.h File Reference
#include "Application.h"
#include "GUIManager.h"
+ Include dependency graph for GUIUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  RoR::ImTextFeeder
 Helper for drawing multiline wrapped & colored text. More...
 

Namespaces

 RoR
 

Functions

void RoR::LoadingIndicatorCircle (const char *label, const float indicator_radius, const ImVec4 &main_color, const ImVec4 &backdrop_color, const int circle_count, const float speed)
 Draws animated loading spinner. More...
 
void RoR::DrawImageRotated (ImTextureID tex_id, ImVec2 center, ImVec2 size, float angle)
 Add rotated textured quad to ImDrawList, source: https://github.com/ocornut/imgui/issues/1982#issuecomment-408834301. More...
 
ImVec2 RoR::DrawColorMarkedText (ImDrawList *drawlist, ImVec2 text_cursor, ImVec4 default_color, float override_alpha, float wrap_width, std::string const &line)
 Draw multiline text with '#rrggbb' color markers. Returns total text size. More...
 
std::string RoR::StripColorMarksFromText (std::string const &text)
 
void RoR::ImTextWrappedColorMarked (std::string const &text)
 Prints multiline text with '#rrggbb' color markers. Behaves like ImGui::Text* functions. More...
 
bool RoR::DrawGCheckbox (CVar *cvar, const char *label)
 
void RoR::DrawGIntCheck (CVar *cvar, const char *label)
 
void RoR::DrawGIntBox (CVar *cvar, const char *label)
 
void RoR::DrawGIntSlider (CVar *cvar, const char *label, int v_min, int v_max)
 
void RoR::DrawGFloatSlider (CVar *cvar, const char *label, float v_min, float v_max)
 
void RoR::DrawGFloatBox (CVar *cvar, const char *label)
 
void RoR::DrawGTextEdit (CVar *cvar, const char *label, Str< 1000 > &buf)
 
void RoR::DrawGCombo (CVar *cvar, const char *label, const char *values)
 
Ogre::TexturePtr RoR::FetchIcon (const char *name)
 
ImDrawList * RoR::GetImDummyFullscreenWindow ()
 
void RoR::ImAddItemToComboboxString (std::string &target, std::string const &item)
 
void RoR::ImTerminateComboboxString (std::string &target)
 
void RoR::ImDrawEventHighlighted (events input_event)
 
void RoR::ImDrawModifierKeyHighlighted (OIS::KeyCode key)
 
bool RoR::ImButtonHoldToConfirm (const std::string &btn_idstr, const bool smallbutton, const float time_limit)