From 79a7e18b8da55b4bcec72cc66f9b4e07878e7eee Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 9 Apr 2015 11:12:01 -0400 Subject: Implemented the text functions on Windows. --- new/button_windows.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'new/button_windows.c') diff --git a/new/button_windows.c b/new/button_windows.c index 9d3ae65..4a7620c 100644 --- a/new/button_windows.c +++ b/new/button_windows.c @@ -93,7 +93,15 @@ uiControl *uiNewButton(const char *text) return b->c; } -// TODO text +char *uiButtonText(uiControl *c) +{ + return uiWindowsControlText(c); +} + +void uiButtonSetText(uiControl *c, const char *text) +{ + uiWindowsControlSetText(c, text); +} void uiButtonOnClicked(uiControl *c, void (*f)(uiControl *, void *), void *data) { -- cgit v1.2.3