~ubuntu-branches/ubuntu/wily/mpv/wily

« back to all changes in this revision

Viewing changes to video/out/cocoa/view.h

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2013-10-16 12:38:59 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20131016123859-wj70wr6n3mzimx3e
Tags: 0.2.0-1
* New upstream release
* Install sample configuration files as examples
* Enable Lua scripting support
* Remove copyright for talloc (not used anymore)
* Update installed docs list
* Update 01_spelling.patch
* Enable VAAPI support

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of mpv.
 
3
 *
 
4
 * mpv is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as published by
 
6
 * the Free Software Foundation; either version 2 of the License, or
 
7
 * (at your option) any later version.
 
8
 *
 
9
 * mpv is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License along
 
15
 * with mpv.  If not, see <http://www.gnu.org/licenses/>.
 
16
 */
 
17
 
 
18
#import <Cocoa/Cocoa.h>
 
19
#import "video/out/cocoa/mpvadapter.h"
 
20
 
 
21
@interface MpvVideoView : NSView {
 
22
    BOOL hasMouseDown;
 
23
}
 
24
@property(nonatomic, retain) MpvCocoaAdapter *adapter;
 
25
@property(nonatomic, retain) NSTrackingArea *tracker;
 
26
- (void)setFullScreen:(BOOL)willBeFullscreen;
 
27
- (NSRect)frameInPixels;
 
28
- (BOOL)canHideCursor;
 
29
- (void)signalMousePosition;
 
30
@end