mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-06-21 14:14:28 +00:00
[client] imgui: convert help overlay to use imgui
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user