diff options
Diffstat (limited to 'new/ui_windows.h')
| -rw-r--r-- | new/ui_windows.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/new/ui_windows.h b/new/ui_windows.h index 3a4ebd9..d1a9578 100644 --- a/new/ui_windows.h +++ b/new/ui_windows.h @@ -47,4 +47,9 @@ void *uiWindowsControlData(uiControl *); // TODO really export? extern intmax_t uiWindowsWindowTextWidth(HWND hwnd); +// these functions get and set the window text for such a uiControl +// the value returned should be freed with uiFreeText() +extern char *uiWindowsControlText(uiControl *); +extern void uiWindowsControlSetText(uiControl *, const char *); + #endif |
