| 1 | /*************************************************************************** |
| 2 | PluginWindowController.h |
| 3 | PeopsSoftGPU |
| 4 | |
| 5 | Created by Gil Pedersen on Mon April 11 2004. |
| 6 | Copyright (c) 2004 Gil Pedersen. |
| 7 | ***************************************************************************/ |
| 8 | |
| 9 | /*************************************************************************** |
| 10 | * * |
| 11 | * This program is free software; you can redistribute it and/or modify * |
| 12 | * it under the terms of the GNU General Public License as published by * |
| 13 | * the Free Software Foundation; either version 2 of the License, or * |
| 14 | * (at your option) any later version. See also the license.txt file for * |
| 15 | * additional informations. * |
| 16 | * * |
| 17 | ***************************************************************************/ |
| 18 | |
| 19 | #define PluginWindowController NetSfPeopsSoftGPUPluginWindowController |
| 20 | |
| 21 | #import <Cocoa/Cocoa.h> |
| 22 | #import "PluginGLView.h" |
| 23 | |
| 24 | @class PluginWindowController; |
| 25 | |
| 26 | extern NSWindow *gameWindow; |
| 27 | extern PluginWindowController *gameController; |
| 28 | |
| 29 | @interface PluginWindowController : NSWindowController |
| 30 | { |
| 31 | IBOutlet NSOpenGLView *glView; |
| 32 | |
| 33 | NSWindow *fullWindow; |
| 34 | } |
| 35 | |
| 36 | + (id)openGameView; |
| 37 | - (PluginGLView *)getOpenGLView; |
| 38 | - (BOOL)fullscreen; |
| 39 | - (void)setFullscreen:(BOOL)flag; |
| 40 | |
| 41 | @end |