[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
@@ -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