Files
MacPass/MacPass/MPIconSelectViewController.m
2013-07-30 00:23:25 +02:00

41 lines
991 B
Objective-C

//
// MPIconSelectViewController.m
// MacPass
//
// Created by Michael Starke on 10.03.13.
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
//
#import "MPIconSelectViewController.h"
#import "MPIconHelper.h"
@interface MPIconSelectViewController ()
@end
@implementation MPIconSelectViewController
- (id)init {
return [self initWithNibName:@"IconSelection" bundle:nil];
}
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
}
return self;
}
- (void)didLoadView {
//[[self.imageButton cell] setBackgroundStyle:NSBackgroundStyleLowered];
[self.iconCollectionView setBackgroundColors:@[[NSColor clearColor]]];
[self.iconCollectionView setSelectable:YES];
[self.iconCollectionView setAllowsMultipleSelection:NO];
[self.iconCollectionView setContent:[MPIconHelper databaseIcons]];
}
- (IBAction)useDefault:(id)sender {
}
@end