]> git.sesse.net Git - vlc/blob - projects/macosx/vlc_app/Sources/VLCFullScreenControllerWindow.h
3a2ee041fce7a7a858ee897bced69249f862eea2
[vlc] / projects / macosx / vlc_app / Sources / VLCFullScreenControllerWindow.h
1 /*****************************************************************************
2  * VLCFullScreenControllerWindow.m: class that allow media controlling in
3  * fullscreen (with the mouse)
4  *****************************************************************************
5  * Copyright (C) 2007 Pierre d'Herbemont
6  * Copyright (C) 2007 the VideoLAN team
7  * $Id$
8  *
9  * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
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.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24  *****************************************************************************/
25
26 #import <Cocoa/Cocoa.h>
27 #import <VLCKit/VLCKit.h>
28 #import "VLCAppAdditions.h"
29 #import "VLCMainWindowController.h"
30
31
32 @interface VLCFullScreenControllerWindow : NSPanel
33 {
34     /* IBOutlets */
35     IBOutlet VLCImageCustomizedSlider * volumeSlider;
36     IBOutlet VLCImageCustomizedSlider * mediaPositionSlider;
37
38     IBOutlet NSButton * mediaPlayerForwardNextButton;
39     IBOutlet NSButton * mediaPlayerBackwardPrevButton;
40     IBOutlet NSButton * mediaPlayerPlayPauseStopButton;
41
42     IBOutlet id fillScreenButton;
43     IBOutlet id fullScreenButton;
44     IBOutlet NSTextField * mediaReadingProgressText;
45     IBOutlet NSTextField * mediaDescriptionText;
46
47     NSTimer * hideWindowTimer;
48     NSTrackingArea * videoViewTrackingArea;
49     BOOL active;
50     
51     /* Owner */
52     IBOutlet VLCMainWindowController   * mainWindowController;
53
54     /* Draging the window using its content */
55     NSPoint mouseClic;
56 }
57 @end