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.

pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
123456789101112131415161718192021222324252627282930313233
  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 BCBatteryDeviceController
  13. @property (nonatomic, strong) NSArray *sortedDevices;
  14. -(id)_sortedDevices;
  15. +(id)sharedInstance;
  16. @end
  17. @interface BCBatteryDevice : NSObject
  18. -(id)glyph;
  19. @end
  20. @interface KAIBattery : UIView
  21. @property (nonatomic, strong) NSArray *devices;
  22. @property (nonatomic, assign) NSInteger number;
  23. @property (nonatomic, strong) NSLayoutConstraint *heightConstraint;
  24. @property (nonatomic, assign) BOOL isUpdating;
  25. +(KAIBattery *)sharedInstance;
  26. -(void)darkLightMode;
  27. -(instancetype)init;
  28. -(void)updateBattery;
  29. @end