aboutsummaryrefslogtreecommitdiff
path: root/GdiRadarLib/GdiRadar.cpp
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2019-11-20 13:38:26 +0100
committerToni Uhlig <matzeton@googlemail.com>2019-11-20 13:38:26 +0100
commit9252cc719b26bcdc09fccc5aa13f8944f46fe74e (patch)
tree480202bc93116950ac2be853d481d9e7f6062401 /GdiRadarLib/GdiRadar.cpp
parent43804f2dee51a85519cab8472b175165c77f58f7 (diff)
api function to get HWND of the radar window
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)