mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
osx: Get rid of direct instance variables in settings interfaces
The properties already do the same thing
This commit is contained in:
parent
080a79d9c5
commit
cc4714ea70
@ -24,11 +24,6 @@
|
|||||||
static void* const associated_name_tag = (void*)&associated_name_tag;
|
static void* const associated_name_tag = (void*)&associated_name_tag;
|
||||||
|
|
||||||
@interface RAInputBinder : NSWindow
|
@interface RAInputBinder : NSWindow
|
||||||
{
|
|
||||||
NSTimer* _timer;
|
|
||||||
const rarch_setting_t* _setting;
|
|
||||||
}
|
|
||||||
|
|
||||||
@property (nonatomic, retain) NSTimer* timer;
|
@property (nonatomic, retain) NSTimer* timer;
|
||||||
@property (nonatomic, assign) const rarch_setting_t* setting;
|
@property (nonatomic, assign) const rarch_setting_t* setting;
|
||||||
@end
|
@end
|
||||||
@ -93,15 +88,6 @@ static void* const associated_name_tag = (void*)&associated_name_tag;
|
|||||||
NSOutlineViewDataSource, NSOutlineViewDelegate,
|
NSOutlineViewDataSource, NSOutlineViewDelegate,
|
||||||
NSWindowDelegate>
|
NSWindowDelegate>
|
||||||
#endif
|
#endif
|
||||||
{
|
|
||||||
RAInputBinder* _binderWindow;
|
|
||||||
NSButtonCell* _booleanCell;
|
|
||||||
NSTextFieldCell* _binderCell;
|
|
||||||
NSTableView* _table;
|
|
||||||
NSOutlineView* _outline;
|
|
||||||
NSMutableArray* _settings;
|
|
||||||
NSMutableArray* _currentGroup;
|
|
||||||
}
|
|
||||||
|
|
||||||
@property (nonatomic, retain) RAInputBinder IBOutlet* binderWindow;
|
@property (nonatomic, retain) RAInputBinder IBOutlet* binderWindow;
|
||||||
@property (nonatomic, retain) NSButtonCell IBOutlet* booleanCell;
|
@property (nonatomic, retain) NSButtonCell IBOutlet* booleanCell;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user