public
Description: iPhone FriendFeed client
Homepage:
Clone URL: git://github.com/shanev/friendfeed-iphone.git
Click here to lend your support to: friendfeed-iphone and make a donation at www.pledgie.com !
friendfeed-iphone / Constants.h
100644 46 lines (40 sloc) 1.22 kb
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
/*
* Constants.h
* FriendFeed
*
* Created by Shane Vitarana on 4/7/08.
* Copyright 2008 __MyCompanyName__. All rights reserved.
*
*/
 
// these are the various screen placement constants used across all the UIViewControllers
 
// padding for margins
#define kLeftMargin 20.0
#define kTopMargin 20.0
#define kRightMargin 20.0
#define kBottomMargin 20.0
#define kTweenMargin 10.0
 
// control dimensions
#define kStdButtonWidth 106.0
#define kStdButtonHeight 40.0
#define kSegmentedControlHeight 44.0
#define kPageControlHeight 20.0
#define kPageControlWidth 160.0
#define kSliderHeight 7.0
#define kSwitchButtonWidth 94.0
#define kSwitchButtonHeight 27.0
#define kTextFieldHeight 30.0
#define kLabelHeight 20.0
#define kProgressIndicatorSize 40.0
#define kToolbarHeight 40.0
#define kUIProgressBarWidth 160.0
#define kUIProgressBarHeight 18.0
 
// specific font metrics used in our text fields and text views
#define kFontName @"Arial"
#define kTextFieldFontSize 18.0
#define kTextViewFontSize 18.0
 
// UITableView row heights
#define kUIRowHeight 50.0
#define kUIRowLabelHeight 22.0
 
// table view cell content offsets
#define kCellLeftOffset 8.0
#define kCellTopOffset 12.0