-
Notifications
You must be signed in to change notification settings - Fork 3
/
Configuration.m
executable file
·48 lines (42 loc) · 1.14 KB
/
Configuration.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//
// Configuration.m
// CustomDropDownList
//
// Created by Nick Marchenko on 21.12.10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import "Configuration.h"
@implementation Configuration
@synthesize buttonActiveBG;
@synthesize buttonNoActiveBG;
@synthesize itemBGHoved;
@synthesize itemBG;
@synthesize openBGTop;
@synthesize openBGMiddle;
@synthesize openBGBottom;
- (id) init
{
if (self = [super init])
{
self.buttonActiveBG = [UIImage imageNamed:@"but-bg-active.png"];
self.buttonNoActiveBG = [UIImage imageNamed:@"but-bg-no-active.png"];
self.itemBGHoved = [UIImage imageNamed:@"dropdown-item-bg-hover.png"];
self.itemBG = [UIImage imageNamed:@"dropdown-item-bg.png"];
self.openBGTop = [UIImage imageNamed:@"open-dropdown-bg-top.png"];
self.openBGMiddle = [UIImage imageNamed:@"open-dropdown-bg-inner.png"];
self.openBGBottom = [UIImage imageNamed:@"open-dropdown-bg-bottom.png"];
}
return self;
}
- (void) dealloc
{
[buttonActiveBG release];
[buttonNoActiveBG release];
[itemBGHoved release];
[itemBG release];
[openBGTop release];
[openBGMiddle release];
[openBGBottom release];
[super dealloc];
}
@end