changeset 3996 | eb549fd864a5 |
parent 3983 | aa24192417a8 |
child 4000 | ddc4a09889e7 |
--- a/project_files/HedgewarsMobile/Classes/CommodityFunctions.h Mon Oct 25 17:39:50 2010 +0200 +++ b/project_files/HedgewarsMobile/Classes/CommodityFunctions.h Mon Oct 25 22:19:00 2010 +0200 @@ -53,6 +53,7 @@ #define UICOLOR_HW_ALPHABLUE [UIColor colorWithRed:(CGFloat)0x0F/255 green:0 blue:(CGFloat)0x42/255 alpha:0.58f] #define IS_DUALHEAD() ([[UIScreen screens] count] > 1) +#define IS_IPAD() (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) #define DEFAULT_NETGAME_PORT 46631