1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 17:37:33 +01:00
Telegram/Watch/Extension/TGColor.h

19 lines
384 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#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