diff options
author | handbrake <[email protected]> | 2006-01-14 13:05:49 +0000 |
---|---|---|
committer | handbrake <[email protected]> | 2006-01-14 13:05:49 +0000 |
commit | 5824c4979fbc54ae3d3015c07cbf6fa4aea7516d (patch) | |
tree | 49ba3bbe1f8d8166fa4f7f964055d4011d2deca0 /macosx/PictureGLView.h | |
parent | f013e3544c0bdf17348d617a467af0e4fde0f545 (diff) |
HandBrake 0.5
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureGLView.h')
-rw-r--r-- | macosx/PictureGLView.h | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/macosx/PictureGLView.h b/macosx/PictureGLView.h index 06e5a16e1..c558c3c0f 100644 --- a/macosx/PictureGLView.h +++ b/macosx/PictureGLView.h @@ -1,20 +1,34 @@ -/* PictureGLView */ +/* $Id: PictureGLView.h,v 1.1.1.1 2003/11/03 12:03:51 titer Exp $ + + This file is part of the HandBrake source code. + Homepage: <http://handbrake.m0k.org/>. + It may be used under the terms of the GNU General Public License. */ #include <Cocoa/Cocoa.h> -#include "Manager.h" +#include "HandBrake.h" + +#define HB_ANIMATE_NONE 0 +#define HB_ANIMATE_LEFT 1 +#define HB_ANIMATE_RIGHT 2 @interface HBPictureGLView : NSOpenGLView { - HBManager * fManager; + HBHandle * fHandle; HBTitle * fTitle; uint8_t * fPicture; + uint8_t * fOldPicture; } -- (void) SetManager: (HBManager*) manager; +- (id) initWithFrame: (NSRect) frame; +- (void) reshape; +- (void) drawRect: (NSRect) rect; +- (void) drawAnimation: (int) how; + +- (void) SetHandle: (HBHandle*) handle; - (void) SetTitle: (HBTitle*) title; -- (void) ShowPicture: (int) picture; +- (void) ShowPicture: (int) index animate: (int) how; @end |