mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-12 18:38:12 +00:00
[client] imgui: make graph y-axis configurable
The default of [0, 50] makes sense for FPS/UPS graphs, but does not for things like the import graph. The latter should not take more than 5 ms for sure. This commit allows the min/max y-axis value to be specified when registering the graph.
This commit is contained in:
@@ -28,7 +28,7 @@ extern struct LG_OverlayOps LGOverlayFPS;
|
||||
extern struct LG_OverlayOps LGOverlayGraphs;
|
||||
extern struct LG_OverlayOps LGOverlayHelp;
|
||||
|
||||
GraphHandle overlayGraph_register(const char * name, RingBuffer buffer);
|
||||
GraphHandle overlayGraph_register(const char * name, RingBuffer buffer, float min, float max);
|
||||
void overlayGraph_unregister();
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user