2015-08-01 11:43:54 -05:00
|
|
|
// 1 august 2015
|
|
|
|
#import "osxaltest.h"
|
|
|
|
|
|
|
|
@implementation tWindowDelegate {
|
2015-08-01 13:22:45 -05:00
|
|
|
id<tControl> c;
|
2015-08-01 11:43:54 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
- (id)init
|
|
|
|
{
|
|
|
|
self = [super init];
|
|
|
|
if (self)
|
|
|
|
self->c = NULL;
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
2015-08-01 13:22:45 -05:00
|
|
|
- (void)tSetControl:(id<tControl>)cc
|
2015-08-01 11:43:54 -05:00
|
|
|
{
|
|
|
|
self->c = cc;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (void)tRelayout
|
|
|
|
{
|
|
|
|
if (self->c == NULL)
|
|
|
|
return;
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|