Device battery indicators on your Lock Screen
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

37 lines
1.2KB

  1. #import <UIKit/UIKit.h>
  2. #import <substrate.h>
  3. @interface _UIBatteryView : UIView
  4. @property (nonatomic, assign) CGFloat chargePercent;
  5. @property (nonatomic, assign) CGFloat bodyColorAlpha;
  6. @property (nonatomic, assign) CGFloat pinColorAlpha;
  7. @property (nonatomic, assign) BOOL showsPercentage;
  8. @property (nonatomic, assign) BOOL saverModeActive;
  9. @property (nonatomic, assign) BOOL showsInlineChargingIndicator;
  10. @property (nonatomic, assign) NSInteger chargingState;
  11. @end
  12. @interface MTMaterialView : UIView
  13. @property (nonatomic, assign) BOOL recipeDynamic;
  14. -(id)_initWithRecipe:(NSInteger)arg1 configuration:(NSInteger)arg2 initialWeighting:(CGFloat)arg3 scaleAdjustment:(id)arg4;
  15. @end
  16. @interface BCBatteryDeviceController
  17. @property (nonatomic, strong) NSArray *sortedDevices;
  18. -(id)_sortedDevices;
  19. +(id)sharedInstance;
  20. @end
  21. @interface BCBatteryDevice : NSObject
  22. -(id)glyph;
  23. @end
  24. @interface KAIBattery : UIView
  25. @property (nonatomic, strong) NSArray *devices;
  26. @property (nonatomic, assign) NSInteger number;
  27. @property (nonatomic, strong) NSLayoutConstraint *heightConstraint;
  28. @property (nonatomic, assign) BOOL isUpdating;
  29. +(KAIBattery *)sharedInstance;
  30. -(instancetype)init;
  31. -(void)updateBattery;
  32. @end