-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathoverlay.h
More file actions
26 lines (22 loc) · 681 Bytes
/
overlay.h
File metadata and controls
26 lines (22 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once
#include <GL/gl3w.h>
#include <imgui.h>
#include <imgui_impl_opengl3.h>
#include <imgui_impl_win32.h>
#include <imgui_internal.h>
#define STATUS_WINDOW_NAME "IGDL - Status"
#define SETTING_WINDOW_NAME "IGDL - Settings"
extern LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
namespace Overlay {
extern bool showStatus;
extern bool showSetting;
extern int statusPinned;
void HelpMarker(const char *desc);
bool isShowingSettings();
void ReverseShowSettings();
bool isShowingStatus();
void ShowStatus();
void HideStatus();
void InitOverlay(HDC hdc);
void RenderOverlay(HDC hdc);
}