summaryrefslogtreecommitdiff
path: root/new/ui_windows.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-09 11:12:01 -0400
committerPietro Gagliardi <[email protected]>2015-04-09 11:12:01 -0400
commit79a7e18b8da55b4bcec72cc66f9b4e07878e7eee (patch)
tree1c3b3873576e80ee73cc8a6281cef5e0ef03b1be /new/ui_windows.h
parent1f18d88f565844436fb4487b596175ba48138c05 (diff)
Implemented the text functions on Windows.
Diffstat (limited to 'new/ui_windows.h')
-rw-r--r--new/ui_windows.h5
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