mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +00:00
[client] overlay/graphs: allow the graph to have a custom title format
This commit is contained in:
@@ -110,8 +110,11 @@ void app_invalidateOverlay(bool renderTwice);
|
||||
|
||||
struct OverlayGraph;
|
||||
typedef struct OverlayGraph * GraphHandle;
|
||||
typedef const char * (*GraphFormatFn)(const char * name,
|
||||
float min, float max, float avg, float freq, float last);
|
||||
|
||||
GraphHandle app_registerGraph(const char * name, RingBuffer buffer, float min, float max);
|
||||
GraphHandle app_registerGraph(const char * name, RingBuffer buffer,
|
||||
float min, float max, GraphFormatFn formatFn);
|
||||
void app_unregisterGraph(GraphHandle handle);
|
||||
|
||||
void app_overlayConfigRegister(const char * title,
|
||||
|
Reference in New Issue
Block a user