-
Notifications
You must be signed in to change notification settings - Fork 0
/
BadgeAcquisitionView.h
55 lines (44 loc) · 1.27 KB
/
BadgeAcquisitionView.h
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
49
50
51
52
53
54
55
//
// BadgeAcquisitionView.h
// ImIn
//
// Created by Myungjin Choi on 11. 2. 21..
// Copyright 2011 KTH. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "UIImageView+WebCache.h"
#import "ImInProtocol.h"
@class BadgeInfo;
/**
@brief 획득한 뱃지 뷰
*/
@interface BadgeAcquisitionView : UIView<ImInProtocolDelegate> {
id delegate;
BOOL isFrontSide;
NSDictionary* badgeData;
// IBOutlet
IBOutlet UILabel* titleLabel;
IBOutlet UILabel* badgeMessage;
IBOutlet UITextView* getMsgTextView;
IBOutlet UITextView* guideMsgTextView;
IBOutlet UIButton* nextOrCloseBtn;
IBOutlet UILabel* difficulty;
IBOutlet UILabel* since;
IBOutlet UILabel* totalUser;
IBOutlet UIView* badgeRearSide;
// Layers
CALayer* biggerBadgeIconLayer;
// ImInProtocol
BadgeInfo* badgeInfo;
}
@property (nonatomic, retain) NSDictionary* badgeData;
@property (nonatomic, retain) BadgeInfo* badgeInfo;
@property (nonatomic, retain) IBOutlet UILabel* badgeMessage;
@property (nonatomic, retain) IBOutlet UIButton* nextOrCloseBtn;
@property (nonatomic, retain) id delegate;
@property (nonatomic, retain) CALayer* biggerBadgeIconLayer;
- (IBAction) nextBadge;
- (IBAction) closeView;
- (void) requestBadgeInfo;
- (void) startOpeningAnimationFrom:(CGPoint) from to:(CGPoint) to;
@end