[client] imgui: convert help overlay to use imgui

This commit is contained in:
Quantum
2021-07-23 02:36:21 -04:00
committed by Geoffrey McRae
parent 436986d182
commit 036f16b9ef
8 changed files with 152 additions and 59 deletions

View File

@@ -21,6 +21,7 @@
#include "overlay_utils.h"
#include "cimgui.h"
#include "main.h"
void overlayGetImGuiRect(struct Rect * rect)
{
@@ -35,3 +36,8 @@ void overlayGetImGuiRect(struct Rect * rect)
rect->w = size.x;
rect->h = size.y;
}
ImVec2 * overlayGetScreenSize(void)
{
return &g_state.io->DisplaySize;
}