tmp: inline macos
This commit is contained in:
parent
a6d95ad2cc
commit
bda3862f0e
|
@ -1,6 +1,5 @@
|
||||||
// 13 august 2015
|
// 13 august 2015
|
||||||
#import "uipriv_darwin.h"
|
#import "uipriv_darwin.h"
|
||||||
#import "../common/general.h"
|
|
||||||
|
|
||||||
@interface libui_NSButton : NSButton
|
@interface libui_NSButton : NSButton
|
||||||
@property int minWidth;
|
@property int minWidth;
|
||||||
|
@ -8,6 +7,11 @@
|
||||||
- (id)initWithFrame:(NSRect)frameRect;
|
- (id)initWithFrame:(NSRect)frameRect;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
static int max(int first, int second)
|
||||||
|
{
|
||||||
|
return (first < second) ? second : first;
|
||||||
|
}
|
||||||
|
|
||||||
@implementation libui_NSButton
|
@implementation libui_NSButton
|
||||||
|
|
||||||
- (id)initWithFrame:(NSRect)frameRect
|
- (id)initWithFrame:(NSRect)frameRect
|
||||||
|
|
Loading…
Reference in New Issue