summaryrefslogtreecommitdiffstats
path: root/libvo/vo_macosx.h
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_macosx.h')
-rw-r--r--libvo/vo_macosx.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/libvo/vo_macosx.h b/libvo/vo_macosx.h
index 046cdf1b60..fc57dd1937 100644
--- a/libvo/vo_macosx.h
+++ b/libvo/vo_macosx.h
@@ -12,7 +12,7 @@
#import <QuartzCore/QuartzCore.h>
#import <QuickTime/QuickTime.h>
-@interface CustomOpenGLView : NSOpenGLView
+@interface MPlayerOpenGLView : NSOpenGLView
{
//Cocoa
NSWindow *window;
@@ -49,19 +49,23 @@
- (BOOL) resignFirstResponder;
//window & rendering
-- (void) initOpenGLView;
-- (void) initMenu;
-- (void) menuAction:(id)sender;
+- (void) initView;
- (void) prepareOpenGL;
- (void) render;
- (void) reshape;
- (void) setCurrentTexture;
- (void) drawRect: (NSRect *) bounds;
+
+//vo control
- (void) fullscreen: (BOOL) animate;
- (void) ontop;
- (void) panscan;
- (void) rootwin;
+//menu
+- (void) initMenu;
+- (void) menuAction:(id)sender;
+
//event
- (void) keyDown: (NSEvent *) theEvent;
- (void) mouseMoved: (NSEvent *) theEvent;