30 lines
477 B
Matlab
30 lines
477 B
Matlab
|
//
|
||
|
// InfoWindowController.m
|
||
|
// Cog
|
||
|
//
|
||
|
// Created by Vincent Spader on 3/7/09.
|
||
|
// Copyright 2009 __MyCompanyName__. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "InfoWindowController.h"
|
||
|
|
||
|
|
||
|
@implementation InfoWindowController
|
||
|
|
||
|
@synthesize playlistSelectionController;
|
||
|
|
||
|
- (id)init
|
||
|
{
|
||
|
return [super initWithWindowNibName:@"InfoInspector"];
|
||
|
}
|
||
|
|
||
|
- (IBAction)toggleWindow:(id)sender
|
||
|
{
|
||
|
if ([[self window] isVisible])
|
||
|
[[self window] orderOut:self];
|
||
|
else
|
||
|
[self showWindow:self];
|
||
|
}
|
||
|
|
||
|
@end
|