forked from rickyzhang82/tethering
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMOGlassButton.h
More file actions
33 lines (27 loc) · 792 Bytes
/
Copy pathMOGlassButton.h
File metadata and controls
33 lines (27 loc) · 792 Bytes
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
//
// MOGlassButton.h
// SimplyTweet
//
// Created by Hwee-Boon Yar on Jan/31/2010.
// Copyright 2010 MotionObj. All rights reserved.
//
// Enhanced by Daniel Sachse on 10/30/10.
// Copyright 2010 coffeecoding. All rights reserved.
//
#import <QuartzCore/QuartzCore.h>
#import <Foundation/Foundation.h>
#import "MOButton.h"
@interface MOGlassButton : MOButton {
CAGradientLayer* gradientLayer1;
CAGradientLayer* gradientLayer2;
CALayer* outlineLayer;
}
@property(nonatomic,strong) CAGradientLayer* gradientLayer1;
@property(nonatomic,strong) CAGradientLayer* gradientLayer2;
@property(nonatomic,strong) CALayer* outlineLayer;
- (void)setupAsGreenButton;
- (void)setupAsRedButton;
- (void)setupAsWhiteButton;
- (void)setupAsSmallGreenButton;
- (void)setupAsSmallRedButton;
@end