1
0
mirror of https://github.com/danog/Telegram.git synced 2025-01-22 05:52:06 +01:00
Telegram/Telegraph/TGWebpageFooterModel.h
2015-10-01 19:19:52 +03:00

27 lines
1.0 KiB
Objective-C

#import "TGModernViewModel.h"
@interface TGWebpageFooterModel : TGModernViewModel
- (instancetype)initWithWithIncoming:(bool)incoming;
- (void)layoutForContainerSize:(CGSize)containerSize contentSize:(CGSize)contentSize needsContentUpdate:(bool *)needsContentUpdate;
- (CGSize)contentSizeForContainerSize:(CGSize)containerSize contentSize:(CGSize)contentSize needsContentsUpdate:(bool *)needsContentsUpdate;
- (void)layoutContentInRect:(CGRect)rect bottomInset:(CGFloat *)bottomInset;
- (void)bindSpecialViewsToContainer:(UIView *)container viewStorage:(TGModernViewStorage *)viewStorage atItemPosition:(CGPoint)itemPosition;
- (void)updateSpecialViewsPositions:(CGPoint)itemPosition;
- (bool)preferWebpageSize;
+ (UIColor *)colorForAccentText:(bool)incoming;
- (bool)hasWebpageActionAtPoint:(CGPoint)point;
- (bool)activateWebpageContents;
- (bool)webpageContentsActivated;
- (NSString *)linkAtPoint:(CGPoint)point regionData:(__autoreleasing NSArray **)regionData;
- (UIView *)referenceViewForImageTransition;
- (void)setMediaVisible:(bool)mediaVisible;
@end