mirror of
https://github.com/danog/Telegram.git
synced 2024-12-13 09:57:23 +01:00
28 lines
982 B
C
28 lines
982 B
C
|
#import "TGNeoMessageViewModel.h"
|
||
|
#import "TGNeoLabelViewModel.h"
|
||
|
#import "TGNeoForwardHeaderViewModel.h"
|
||
|
#import "TGNeoReplyHeaderViewModel.h"
|
||
|
|
||
|
@class TGBridgeMessage;
|
||
|
@class TGBridgeUser;
|
||
|
|
||
|
@interface TGNeoBubbleMessageViewModel : TGNeoMessageViewModel
|
||
|
|
||
|
@property (nonatomic, readonly) TGNeoLabelViewModel *authorNameModel;
|
||
|
|
||
|
@property (nonatomic, strong) TGNeoForwardHeaderViewModel *forwardHeaderModel;
|
||
|
@property (nonatomic, readonly) TGNeoReplyHeaderViewModel *replyHeaderModel;
|
||
|
|
||
|
- (CGSize)contentContainerSizeWithContainerSize:(CGSize)containerSize;
|
||
|
- (CGSize)layoutHeaderModelsWithContainerSize:(CGSize)containerSize;
|
||
|
|
||
|
- (UIColor *)normalColorForMessage:(TGBridgeMessage *)message;
|
||
|
- (UIColor *)subtitleColorForMessage:(TGBridgeMessage *)message;
|
||
|
- (UIColor *)accentColorForMessage:(TGBridgeMessage *)message;
|
||
|
|
||
|
@end
|
||
|
|
||
|
extern const UIEdgeInsets TGNeoBubbleMessageViewModelInsets;
|
||
|
extern const CGFloat TGNeoBubbleMessageMetaSpacing;
|
||
|
extern const CGFloat TGNeoBubbleHeaderSpacing;
|