VocalEasel/Sources/VLMirrorWindow.mm
Matthias Neeracher ea49604fb0 Add mirror window
2007-05-16 06:47:08 +00:00

33 lines
552 B
Plaintext

//
// File: VLMirrorWindow.mm - Control video "Mirror"
//
// Author(s):
//
// (MN) Matthias Neeracher
//
// Copyright © 2007 Matthias Neeracher
//
#import "VLMirrorWindow.h"
@implementation VLMirrorWindow
- (id)init
{
return [super initWithWindowNibName:@"VLMirrorWindow"];
}
- (void)showWindow:(id)sender
{
[super showWindow:sender];
[mirrorComposition start:sender];
[[self window] setContentAspectRatio:NSMakeSize(20.0, 15.0)];
}
- (void)windowWillClose:(NSNotification *)notification
{
[mirrorComposition stop:self];
}
@end