_UIBackdropView.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. @class _UIBackdropViewSettings, _UIBackdropEffectView;
  2. /*
  3. _UIBackdropViewSettingsCombiner -3
  4. _UIBackdropViewSettingsNone -2
  5. _UIBackdropViewSettingsLight 0,
  6. 1000,
  7. 1003,
  8. 2020,
  9. 10090,
  10. 10100
  11. _UIBackdropViewSettingsDark 1, iOS 7 Notification Center (?), leopard
  12. 1001,
  13. 1100,
  14. 2030,
  15. 11050,
  16. 11060
  17. _UIBackdropViewSettingsBlur 2 Common blurring
  18. _UIBackdropViewSettingsColorSample 2000
  19. _UIBackdropViewSettingsUltraLight 2010 Some alert views in Settings app & many white UIs
  20. _UIBackdropViewSettingsLightLow 2029
  21. _UIBackdropViewSettingsDarkWithZoom 2031
  22. _UIBackdropViewSettingsDarkLow 2039
  23. _UIBackdropViewSettingsColored 2040 rgba(0.0196078,0.0196078,0.0196078,1)
  24. 10091 rgba(0.160784,1,0.301961,1)
  25. 10092 rgba(1,0.0980392,0.0470588,1)
  26. 10120 rgba(0.0313725,0.262745,0.560784,1)
  27. _UIBackdropViewSettingsUltraDark 2050,
  28. 11070
  29. _UIBackdropViewSettingsAdaptiveLight 2060 iOS 7 Control Center
  30. _UIBackdropViewSettingsSemiLight 2070
  31. _UIBackdropViewSettingsFlatSemiLight 2071
  32. _UIBackdropViewSettingsUltraColored 2080
  33. _UIBackdropViewSettingsPasscodePaddle 3900 iOS 7.1+
  34. _UIBackdropViewSettingsLightLeopard 3901 iOS 7.1+
  35. */
  36. typedef NS_ENUM(NSUInteger, _UIBackdropViewStyle) {
  37. _UIBackdropViewStyleNone = -2,
  38. _UIBackdropViewStyleLight = 0,
  39. _UIBackdropViewStyleDark,
  40. _UIBackdropViewStyleBlur
  41. };
  42. @interface _UIBackdropView : UIView
  43. - (instancetype)initWithFrame:(CGRect)frame autosizesToFitSuperview:(BOOL)autosizes settings:(_UIBackdropViewSettings *)settings;
  44. - (void)transitionToSettings:(_UIBackdropViewSettings *)settings;
  45. - (void)transitionToStyle:(_UIBackdropViewStyle)style;
  46. - (void)transitionToPrivateStyle:(NSUInteger)privateStyle; // currently calls the above method
  47. @property (nonatomic, retain) _UIBackdropEffectView *backdropEffectView;
  48. @end