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

25 lines
720 B
C
Raw Normal View History

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