MobileIcons.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #include <sys/cdefs.h>
  2. __BEGIN_DECLS
  3. CGImageRef LICreateDefaultIcon(NSInteger a, NSInteger b, NSInteger c);
  4. __END_DECLS
  5. #if __IPHONE_7_0
  6. typedef NS_ENUM(NSUInteger, MIIconVariant) {
  7. // iphone ipad
  8. MIIconVariantSmall, // 29x29 29x29
  9. MIIconVariantSpotlight, // 40x40 40x40
  10. MIIconVariantDefault, // 62x62 78x78
  11. MIIconVariantGameCenter, // 42x42 78x78
  12. MIIconVariantDocumentFull, // 37x48 37x48
  13. MIIconVariantDocumentSmall, // 37x48 37z48
  14. MIIconVariantSquareBig, // 82x82 128x128
  15. MIIconVariantSquareDefault, // 62x62 78x78
  16. MIIconVariantTiny, // 20x20 20x20
  17. MIIconVariantDocument, // 37x48 247x320
  18. MIIconVariantDocumentLarge, // 37x48 247x320
  19. MIIconVariantUnknownGradient, // 300x150 300x150
  20. MIIconVariantSquareGameCenter, // 42x42 42x42
  21. MIIconVariantUnknownDefault, // 62x62 78x78
  22. /*
  23. todo: find out what UnknownGradient and UnknownDefault are for.
  24. UnknownGradient is a static gradient on iphone, and half of the
  25. icon on ipad. UnknownDefault is the same thing as Default.
  26. */
  27. };
  28. #else
  29. typedef NS_ENUM(NSUInteger, MIIconVariant) {
  30. // iphone ipad
  31. MIIconVariantSmall, // 29x29 29x29
  32. MIIconVariantSpotlight, // 29x29 50x50
  33. MIIconVariantDefault, // 59x62 74x78
  34. MIIconVariantGameCenter, // 44x45 74x78
  35. MIIconVariantDefaultGrayscale, // 59x62 74x78
  36. MIIconVariantDocumentFull, // 31x37 64x64
  37. MIIconVariantDocumentSmall, // 31x37 64x64
  38. MIIconVariantSquareBig, // 104x104 145x148
  39. MIIconVariantSquareSmall, // 71x71 92x94
  40. MIIconVariantTiny, // 20x20 20x20
  41. MIIconVariantDocument, // 31x37 320x320
  42. MIIconVariantDocumentLarge, // 31x37 320x320
  43. };
  44. #endif