mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 12:29:31 +00:00
IconSelectionView now can be used to set default icons. Setting other Icons is broken for now. Setting custom icons doesn't work at all.
This commit is contained in:
@@ -8,11 +8,20 @@
|
||||
|
||||
#import "MPViewController.h"
|
||||
|
||||
extern NSInteger const kMPDefaultIcon;
|
||||
|
||||
@interface MPIconSelectViewController : MPViewController <NSCollectionViewDelegate>
|
||||
|
||||
/**
|
||||
* Is the selected Icon, kMPDefaultIcon if the default icons was selected
|
||||
*/
|
||||
@property (nonatomic, assign) NSInteger selectedIcon;
|
||||
|
||||
@property (weak) IBOutlet NSCollectionView *iconCollectionView;
|
||||
@property (weak) IBOutlet NSButton *imageButton;
|
||||
@property (weak) NSPopover *popover;
|
||||
|
||||
- (void)reset;
|
||||
- (IBAction)useDefault:(id)sender;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user