rename NS_INLINE
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
}
|
||||
|
||||
/// Label with smaller gray text, non-editable. @c 13px height.
|
||||
NS_INLINE NSTextField* GrayLabel(NSString *text) {
|
||||
static inline NSTextField* GrayLabel(NSString *text) {
|
||||
return [[[NSView label:text] tiny] gray];
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
}
|
||||
|
||||
/// Helper method to generate tab item with image, label, and controller.
|
||||
NS_INLINE NSTabViewItem* TabItem(NSImageName imageName, NSString *text, Class class) {
|
||||
static NSTabViewItem* TabItem(NSImageName imageName, NSString *text, Class class) {
|
||||
NSTabViewItem *item = [NSTabViewItem tabViewItemWithViewController: [class new]];
|
||||
item.image = [NSImage imageNamed:imageName];
|
||||
item.label = text;
|
||||
|
||||
Reference in New Issue
Block a user