[client] imgui: support registering new graphs
Currently, our struct ll doesn't support removing elements from the middle, so we will not be removing anything for now.
This commit is contained in:
1 parent
a4bf3c8088
commit
15bc6a1509
4 files changed
+68
-54
No files matched your search
@@ -24,6 +24,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <linux/input.h>
|
||||
|
||||
#include "common/ringbuffer.h"
|
||||
#include "common/types.h"
|
||||
#include "interface/displayserver.h"
|
||||
|
||||
@@ -78,6 +79,9 @@ void app_glSetSwapInterval(int interval);
|
||||
void app_glSwapBuffers(void);
|
||||
#endif
|
||||
|
||||
typedef struct ImGuiGraph * GraphHandle;
|
||||
GraphHandle app_registerGraph(const char * name, RingBuffer buffer);
|
||||
void app_unregisterGraph(GraphHandle handle);
|
||||
bool app_renderImGui(void);
|
||||
|
||||
void app_clipboardRelease(void);
|
||||
|
||||
Reference in new issue
Block a user