1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 09:29:55 +01:00
Telegram/Watch/Extension/TGNeoViewModel.h

19 lines
530 B
C
Raw Normal View History

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