libui/redo/osxaltest/windelegate.m

29 lines
301 B
Mathematica
Raw Normal View History

// 1 august 2015
#import "osxaltest.h"
@implementation tWindowDelegate {
2015-08-01 13:22:45 -05:00
id<tControl> c;
}
- (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
{
self->c = cc;
}
- (void)tRelayout
{
if (self->c == NULL)
return;
// TODO
}
@end