forked from hboon/GlassButtons
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMOGlassButton.h
More file actions
33 lines (27 loc) · 800 Bytes
/
MOGlassButton.h
File metadata and controls
33 lines (27 loc) · 800 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.
//
#import <QuartzCore/QuartzCore.h>
#import <Foundation/Foundation.h>
#import "MOButton.h"
@interface MOGlassButton : MOButton {
CAGradientLayer* gradientLayer1;
CAGradientLayer* gradientLayer2;
CALayer* outlineLayer;
}
@property(nonatomic,retain) CAGradientLayer* gradientLayer1;
@property(nonatomic,retain) CAGradientLayer* gradientLayer2;
@property(nonatomic,retain) CALayer* outlineLayer;
- (void)setupAsGreenButton;
- (void)setupAsRedButton;
- (void)setupAsLightGrayButton;
- (void)setupAsDarkGrayButton;
- (void)setupAsSmallGreenButton;
- (void)setupAsSmallRedButton;
- (void)setupAsSmallLightGrayButton;
- (void)setupAsSmallDarkGrayButton;
@end