RigsofRods
Soft-body Physics Simulation
Functions | Variables
GUIUtils.cpp File Reference
#include "GUIUtils.h"
#include "Actor.h"
#include "imgui_internal.h"
#include <regex>
#include <stdio.h>
+ Include dependency graph for GUIUtils.cpp:

Go to the source code of this file.

Functions

void ColorToInts (ImVec4 v, int &r, int &g, int &b)
 

Variables

static const std::regex TEXT_COLOR_REGEX = std::regex(R"(#[a-fA-F\d]{6})")
 
static const int TEXT_COLOR_MAX_LEN = 5000
 

Function Documentation

◆ ColorToInts()

void ColorToInts ( ImVec4  v,
int &  r,
int &  g,
int &  b 
)
inline

Definition at line 128 of file GUIUtils.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ TEXT_COLOR_MAX_LEN

const int TEXT_COLOR_MAX_LEN = 5000
static

Definition at line 29 of file GUIUtils.cpp.

◆ TEXT_COLOR_REGEX

const std::regex TEXT_COLOR_REGEX = std::regex(R"(#[a-fA-F\d]{6})")
static

Definition at line 28 of file GUIUtils.cpp.