0bdf35a461
Funciones C++/ImGui para dashboards (grid, panel, docking, sidebar, tabs), visualizaciones (candlestick, gauge, histogram, pie, sparkline, heatmap, scatter, line, bar, surface3d, kpi, table), grafos (force layout, renderer, viewport, spatial hash, types) y utilidades (time series buffer, tracy zones, memory/fps overlay, plot theme). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
7 lines
291 B
C
7 lines
291 B
C
#pragma once
|
|
|
|
// Renders a circular gauge/speedometer indicator using ImGui draw primitives.
|
|
// Call within an ImGui frame.
|
|
// color is interpolated green->yellow->red based on normalized value.
|
|
void gauge(const char* label, float value, float min_val, float max_val, float radius = 60.0f);
|