 |
FreeRDP
|
Loading...
Searching...
No Matches
10#if __IPHONE_OS_VERSION_MAX_ALLOWED < 60000
11#define NSTextAlignmentCenter UITextAlignmentCenter
12#define NSLineBreakByWordWrapping UILineBreakModeWordWrap
13#define NSLineBreakByClipping UILineBreakModeClip
17#ifndef IOS_LESS_THAN_6
18#define IOS_LESS_THAN_6 \
19 !([[[UIDevice currentDevice] systemVersion] compare:@"6.0" \
20 options:NSNumericSearch] != NSOrderedAscending)
24#define NeedsLandscapePhoneTweaks \
25 (UIInterfaceOrientationIsLandscape( \
26 [[UIApplication sharedApplication] statusBarOrientation]) && \
27 UI_USER_INTERFACE_IDIOM() != UIUserInterfaceIdiomPad)
31#define kActionSheetBounce 10
32#define kActionSheetBorder 10
33#define kActionSheetButtonHeight 45
34#define kActionSheetTopMargin 15
36#define kActionSheetTitleFont [UIFont systemFontOfSize:18]
37#define kActionSheetTitleTextColor [UIColor whiteColor]
38#define kActionSheetTitleShadowColor [UIColor blackColor]
39#define kActionSheetTitleShadowOffset CGSizeMake(0, -1)
41#define kActionSheetButtonFont [UIFont boldSystemFontOfSize:20]
42#define kActionSheetButtonTextColor [UIColor whiteColor]
43#define kActionSheetButtonShadowColor [UIColor blackColor]
44#define kActionSheetButtonShadowOffset CGSizeMake(0, -1)
46#define kActionSheetBackground @"action-sheet-panel.png"
47#define kActionSheetBackgroundCapHeight 30
51#define kAlertViewBounce 20
52#define kAlertViewBorder (NeedsLandscapePhoneTweaks ? 5 : 10)
53#define kAlertButtonHeight (NeedsLandscapePhoneTweaks ? 35 : 44)
55#define kAlertViewTitleFont [UIFont boldSystemFontOfSize:20]
56#define kAlertViewTitleTextColor [UIColor colorWithWhite:244.0 / 255.0 alpha:1.0]
57#define kAlertViewTitleShadowColor [UIColor blackColor]
58#define kAlertViewTitleShadowOffset CGSizeMake(0, -1)
60#define kAlertViewMessageFont [UIFont systemFontOfSize:18]
61#define kAlertViewMessageTextColor [UIColor colorWithWhite:244.0 / 255.0 alpha:1.0]
62#define kAlertViewMessageShadowColor [UIColor blackColor]
63#define kAlertViewMessageShadowOffset CGSizeMake(0, -1)
65#define kAlertViewButtonFont [UIFont boldSystemFontOfSize:18]
66#define kAlertViewButtonTextColor [UIColor whiteColor]
67#define kAlertViewButtonShadowColor [UIColor blackColor]
68#define kAlertViewButtonShadowOffset CGSizeMake(0, -1)
70#define kAlertViewBackground @"alert-window.png"
71#define kAlertViewBackgroundLandscape @"alert-window-landscape.png"
72#define kAlertViewBackgroundCapHeight 38