andlabs-ui/new/util_darwin.m

14 lines
291 B
Mathematica
Raw Normal View History

// 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]]];
}
void uiFreeText(char *s)
{
free(s);
}