mirror of
https://github.com/danog/Telegram.git
synced 2024-12-12 17:37:33 +01:00
19 lines
384 B
C
19 lines
384 B
C
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
@interface UIColor (TGColor)
|
||
|
|
||
|
+ (UIColor *)hexColor:(NSInteger)hex;
|
||
|
+ (UIColor *)hexColor:(NSInteger)hex withAlpha:(CGFloat)alpha;
|
||
|
|
||
|
@end
|
||
|
|
||
|
@interface TGColor : NSObject
|
||
|
|
||
|
+ (UIColor *)colorForUserId:(int32_t)userId myUserId:(int32_t)myUserId;
|
||
|
+ (UIColor *)colorForGroupId:(int64_t)groupId;
|
||
|
|
||
|
+ (UIColor *)accentColor;
|
||
|
+ (UIColor *)subtitleColor;
|
||
|
|
||
|
@end
|