summaryrefslogtreecommitdiff
path: root/new/ui_windows.h
diff options
context:
space:
mode:
Diffstat (limited to 'new/ui_windows.h')
-rw-r--r--new/ui_windows.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/new/ui_windows.h b/new/ui_windows.h
index 22b0a14..cbbe859 100644
--- a/new/ui_windows.h
+++ b/new/ui_windows.h
@@ -41,4 +41,8 @@ void *uiWindowsControlData(uiControl *);
#define uiDlgUnitToX(dlg, baseX) MulDiv((dlg), baseX, 4)
#define uiDlgUnitToY(dlg, baseY) MulDiv((dlg), baseY, 8)
+// and use this if you need the text of the window width
+// TODO really export?
+extern intmax_t uiWindowsWindowTextWidth(HWND hwnd);
+
#endif