aboutsummaryrefslogtreecommitdiff
path: root/GdiRadarLib/GdiRadar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'GdiRadarLib/GdiRadar.cpp')
-rw-r--r--GdiRadarLib/GdiRadar.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/GdiRadarLib/GdiRadar.cpp b/GdiRadarLib/GdiRadar.cpp
index 75f4eca..b62dfd2 100644
--- a/GdiRadarLib/GdiRadar.cpp
+++ b/GdiRadarLib/GdiRadar.cpp
@@ -216,6 +216,11 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM l
return DefWindowProcW(hwnd, message, wparam, lparam);
}
+HWND gdi_radar_get_hwnd(struct gdi_radar_context * const ctx)
+{
+ return ctx->myDrawWnd;
+}
+
struct gdi_radar_context * const
gdi_radar_configure(struct gdi_radar_config const * const cfg,
HINSTANCE hInst)