1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Watch/Extension/TGNeoViewModel.h
2015-10-01 19:19:52 +03:00

19 lines
530 B
Objective-C

#import <Foundation/Foundation.h>
@interface TGNeoViewModel : NSObject
@property (nonatomic, assign) CGRect frame;
@property (nonatomic, readonly) CGRect bounds;
@property (nonatomic, assign) bool hidden;
@property (nonatomic, readonly) NSArray *submodels;
- (void)addSubmodel:(TGNeoViewModel *)viewModel;
- (void)removeSubmodel:(TGNeoViewModel *)viewModel;
- (void)drawInContext:(CGContextRef)context;
- (void)drawSubmodelsInContext:(CGContextRef)context;
- (CGSize)contentSizeWithContainerSize:(CGSize)containerSize;
@end