diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-07 16:12:28 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-07 16:12:28 -0400 |
| commit | 3969095a33a518023564ec32f8373bbad913b6c3 (patch) | |
| tree | 70151d144d7bb03bc7e7f51edb915e6142c06d5b /new/util_darwin.m | |
| parent | 96e25cf50293d2c8f33bbd4d2578a4e2b63441f9 (diff) | |
Implemented uiButton on Mac OS X. Now to fix build issues and test...
Diffstat (limited to 'new/util_darwin.m')
| -rw-r--r-- | new/util_darwin.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/new/util_darwin.m b/new/util_darwin.m new file mode 100644 index 0000000..d8166e9 --- /dev/null +++ b/new/util_darwin.m @@ -0,0 +1,8 @@ +// 7 april 2015 +#import "uipriv_darwin.h" + +// also fine for NSCells and NSTexts (NSTextViews) +void setStandardControlFont(NSControl *control) +{ + [control setFont:[NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:NSRegularControlSize]]]; +} |
