[client] overlay/graphs: allow the graph to have a custom title format
This commit is contained in:
1 parent
42ed0d7638
commit
464fee3e20
7 files changed
+43
-24
No files matched your search
+3
-2
@@ -695,9 +695,10 @@ void app_releaseAllKeybinds(void)
|
||||
}
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
return overlayGraph_register(name, buffer, min, max);
|
||||
return overlayGraph_register(name, buffer, min, max, formatFn);
|
||||
}
|
||||
|
||||
void app_unregisterGraph(GraphHandle handle)
|
||||
|
||||
Reference in new issue
Block a user