[client] overlay/graphs: allow the graph to have a custom title format

This commit is contained in:
Geoffrey McRae
2022-01-17 22:08:56 +11:00
parent 42ed0d7638
commit 464fee3e20
7 changed files with 43 additions and 24 deletions

View File

@@ -43,7 +43,7 @@ extern struct LG_OverlayOps LGOverlayMsg;
void overlayAlert_show(LG_MsgAlert type, const char * fmt, va_list args);
GraphHandle overlayGraph_register(const char * name, RingBuffer buffer,
float min, float max);
float min, float max, GraphFormatFn formatFn);
void overlayGraph_unregister();
void overlayGraph_iterate(void (*callback)(GraphHandle handle, const char * name,
bool * enabled, void * udata), void * udata);