]> git.sesse.net Git - vlc/blob - modules/gui/macosx/misc.h
Zoom fullscreen effect on Mac OS X 10.4.
[vlc] / modules / gui / macosx / misc.h
1 /*****************************************************************************
2  * misc.h: code not specific to vlc
3  *****************************************************************************
4  * Copyright (C) 2003 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 /*****************************************************************************
25  * VLCWindow
26  *
27  *  Missing extension to NSWindow
28  *****************************************************************************/
29
30 @interface VLCWindow : NSWindow
31 {
32     BOOL b_canBecomeKeyWindow;
33     BOOL b_isset_canBecomeKeyWindow;
34 }
35
36 - (void)setCanBecomeKeyWindow: (BOOL)canBecomeKey;
37 @end
38
39
40 /*****************************************************************************
41  * VLCControllerWindow
42  *****************************************************************************/
43
44
45 @interface VLCControllerWindow : NSWindow
46 {
47 }
48
49 @end
50
51 /*****************************************************************************
52  * VLCControllerView
53  *****************************************************************************/
54
55 @interface VLCControllerView : NSView
56 {
57 }
58
59 @end
60
61 /*****************************************************************************
62  * VLBrushedMetalImageView
63  *****************************************************************************/
64
65 @interface VLBrushedMetalImageView : NSImageView
66 {
67
68 }
69
70 @end
71
72
73 /*****************************************************************************
74  * MPSlider
75  *****************************************************************************/
76
77 @interface MPSlider : NSSlider
78 {
79 }
80
81 @end
82
83 /*****************************************************************************
84  * ITSliderCell
85  *****************************************************************************/
86  
87 @interface ITSlider : NSSlider
88 {
89 }
90
91 @end
92
93 /*****************************************************************************
94  * ITSliderCell
95  *****************************************************************************/
96  
97 @interface ITSliderCell : NSSliderCell
98 {
99     NSImage *_knobOff;
100     NSImage *_knobOn;
101     BOOL b_mouse_down;
102 }
103
104 @end