1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGMediaPickerAssetItemView.h
2015-10-01 19:19:52 +03:00

25 lines
720 B
Objective-C

#import "TGModernMediaListItemContentView.h"
@class TGMediaPickerItem;
@class TGAssetImageView;
@class TGMediaPickerAsset;
@class TGImagePickerCellCheckButton;
@interface TGMediaPickerAssetItemView : TGModernMediaListItemContentView
{
TGImagePickerCellCheckButton *_checkButton;
bool (^_isItemSelected)(id<TGModernMediaListItem>);
bool (^_isItemHidden)(id<TGModernMediaListItem>);
void (^_changeItemSelection)(id<TGModernMediaListItem>, bool);
}
@property (nonatomic, strong, readonly) TGAssetImageView *imageView;
- (void)setImage:(UIImage *)image;
- (void)setAsset:(TGMediaPickerAsset *)asset;
- (void)updateHiddenAnimated:(bool)animated;
- (void)updateSelectionAnimated:(bool)animated;
@end