Device battery indicators on your Lock Screen
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

38 rindas
1.3KB

  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. +(id)materialViewWithRecipe:(NSInteger)arg1 options:(NSInteger)arg2 initialWeighting:(CGFloat)arg3 scaleAdjustment:(id)arg4;
  16. @end
  17. @interface BCBatteryDeviceController
  18. @property (nonatomic, strong) NSArray *sortedDevices;
  19. -(id)_sortedDevices;
  20. +(id)sharedInstance;
  21. @end
  22. @interface BCBatteryDevice : NSObject
  23. -(id)glyph;
  24. @end
  25. @interface KAIBattery : UIView
  26. @property (nonatomic, strong) NSArray *devices;
  27. @property (nonatomic, assign) NSInteger number;
  28. @property (nonatomic, strong) NSLayoutConstraint *heightConstraint;
  29. @property (nonatomic, assign) BOOL isUpdating;
  30. +(KAIBattery *)sharedInstance;
  31. -(instancetype)init;
  32. -(void)updateBattery;
  33. @end