Added cancel button to icon selection view

This commit is contained in:
michael starke
2013-12-13 01:13:52 +01:00
parent 6b1aff9449
commit 21355101ed
5 changed files with 38 additions and 20 deletions

View File

@@ -16,12 +16,14 @@ extern NSInteger const kMPDefaultIcon;
* Is the selected Icon, kMPDefaultIcon if the default icons was selected
*/
@property (nonatomic, assign) NSInteger selectedIcon;
@property (nonatomic, assign) BOOL didCancel;
@property (weak) IBOutlet NSCollectionView *iconCollectionView;
@property (weak) IBOutlet NSButton *imageButton;
@property (weak) NSPopover *popover;
- (void)reset;
- (IBAction)cancel:(id)sender;
- (IBAction)useDefault:(id)sender;
@end