diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-09 11:12:01 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-09 11:12:01 -0400 |
| commit | 79a7e18b8da55b4bcec72cc66f9b4e07878e7eee (patch) | |
| tree | 1c3b3873576e80ee73cc8a6281cef5e0ef03b1be /new/button_windows.c | |
| parent | 1f18d88f565844436fb4487b596175ba48138c05 (diff) | |
Implemented the text functions on Windows.
Diffstat (limited to 'new/button_windows.c')
| -rw-r--r-- | new/button_windows.c | 10 |
1 files changed, 9 insertions, 1 deletions
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) { |
