mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
33 lines
552 B
Plaintext
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
|