mirror of
https://github.com/danog/Telegram.git
synced 2024-12-11 08:59:48 +01:00
19 lines
384 B
Objective-C
19 lines
384 B
Objective-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
|