Text Utilities
CalcTextSize
const char*
Text to measure
const char*
default:"NULL"
End of text (NULL for null-terminated)
bool
default:"false"
Hide text after ## (useful for labels)
float
default:"-1.0f"
Width for text wrapping (-1.0f = no wrapping)
ImVec2
Text size in pixels
Color Utilities
ColorConvertU32ToFloat4
ColorConvertFloat4ToU32
ColorConvertRGBtoHSV / ColorConvertHSVtoRGB
ID Functions
PushID
PopID
GetID
Clipboard
GetClipboardText
const char*
Clipboard text, or empty string if unavailable
SetClipboardText
Version Information
GetVersion
IMGUI_CHECKVERSION
Memory Management
SetAllocatorFunctions
MemAlloc / MemFree
These functions use the allocator set via
SetAllocatorFunctions(), or the default allocator.Storage
GetStateStorage
ImGuiStorage
Debug Tools
ShowMetricsWindow
ShowDebugLogWindow
ShowIDStackToolWindow
ShowAboutWindow
DebugTextEncoding
Settings (.ini) Management
LoadIniSettingsFromDisk
CreateContext() and before first NewFrame(). NewFrame() automatically calls this with io.IniFilename.
SaveIniSettingsToDisk
io.IniFilename is not empty) a few seconds after any modification.
LoadIniSettingsFromMemory
CreateContext() and before first NewFrame() to provide .ini data from your own data source.
SaveIniSettingsToMemory
io.WantSaveIniSettings is set, then save by your own means and clear io.WantSaveIniSettings.
Example: