forked from ttscoff/nv
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
226 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// FullscreenWindow.h | ||
// FullscreenImage | ||
// | ||
// Created by Matt Gallagher on 2009/08/14. | ||
// Copyright 2009 Matt Gallagher. All rights reserved. | ||
// | ||
// Permission is given to use this source code file, free of charge, in any | ||
// project, commercial or otherwise, entirely at your risk, with the condition | ||
// that any redistribution (in part or whole) of source code must retain | ||
// this copyright and permission notice. Attribution in compiled projects is | ||
// appreciated but not required. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
@interface FullscreenWindow : NSWindow | ||
{ | ||
|
||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// | ||
// FullscreenWindow.m | ||
// FullscreenImage | ||
// | ||
// Created by Matt Gallagher on 2009/08/14. | ||
// Copyright 2009 Matt Gallagher. All rights reserved. | ||
// | ||
// Permission is given to use this source code file, free of charge, in any | ||
// project, commercial or otherwise, entirely at your risk, with the condition | ||
// that any redistribution (in part or whole) of source code must retain | ||
// this copyright and permission notice. Attribution in compiled projects is | ||
// appreciated but not required. | ||
// | ||
|
||
#import "FullscreenWindow.h" | ||
|
||
|
||
@implementation FullscreenWindow | ||
|
||
- (BOOL)makeFirstResponder:(NSResponder *)aResponder | ||
{ | ||
BOOL result = [super makeFirstResponder:aResponder]; | ||
return result; | ||
} | ||
|
||
|
||
- (BOOL)canBecomeKeyWindow | ||
{ | ||
return YES; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.