~ubuntu-branches/ubuntu/maverick/vlc/maverick

« back to all changes in this revision

Viewing changes to modules/video_output/msw/vout.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler, Reinhard Tartler, Saïvann Carignan
  • Date: 2008-09-27 09:30:04 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20080927093004-f7w0g4mhp402905n
Tags: 0.9.3-0ubuntu1
[ Reinhard Tartler ]
* new upstream bugfix only Releases LP: #274721

Relevant fixes from NEWS file:

  Various bugfixes:
 * Fixed DTS channel order on 5.1 systems
 * Fixed pausing behavior for subtitles and for Audio-CD
 * Multiple subtitles and podcast fixes
 * Various crashes fixed in PS, SSA, mkv, xspf, freetype
 * Fixed update system bugs
 * Other bug fixes (dvd language selection, subtitle colours, HTTP keep-alive...)

Qt4 interface:
 * Added Faster/Slower icons to the controller panel
 * Fixed lost playlist columns when switching the playlist view
 * Added needed options to Simple preferences (to avoid NVIDIA drivers issues)
 * Fullscreen controller: added time label, remembering of last position
 * Fixed drag'n drop behaviour on the playlist
 * Multiple other fixes (Enter hotkey in preferences, Skins selection...)

[ Saïvann Carignan ]
* debian/patches/301_DVD_media.diff: Change %U to %f
  in VLC .desktop file . (LP: #275043) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * vout.h: Windows video output header file
3
3
 *****************************************************************************
4
4
 * Copyright (C) 2001-2004 the VideoLAN team
5
 
 * $Id: 52bf8169cdb6c3828e1ee088e645ae24628a4220 $
 
5
 * $Id: d964c3630007c5479d34ebada27f0a71d985ce12 $
6
6
 *
7
7
 * Authors: Gildas Bazin <gbazin@videolan.org>
8
8
 *          Damien Fouilleul <damienf@videolan.org>
33
33
 
34
34
} event_thread_t;
35
35
 
 
36
#ifdef MODULE_NAME_IS_wingapi
 
37
    typedef struct GXDisplayProperties {
 
38
        DWORD cxWidth;
 
39
        DWORD cyHeight;
 
40
        long cbxPitch;
 
41
        long cbyPitch;
 
42
        long cBPP;
 
43
        DWORD ffFormat;
 
44
    } GXDisplayProperties;
 
45
 
 
46
    typedef struct GXScreenRect {
 
47
        DWORD dwTop;
 
48
        DWORD dwLeft;
 
49
        DWORD dwWidth;
 
50
        DWORD dwHeight;
 
51
    } GXScreenRect;
 
52
 
 
53
#   define GX_FULLSCREEN    0x01
 
54
#   define GX_NORMALKEYS    0x02
 
55
#   define GX_LANDSCAPEKEYS 0x03
 
56
 
 
57
#   ifndef kfLandscape
 
58
#       define kfLandscape      0x8
 
59
#       define kfPalette        0x10
 
60
#       define kfDirect         0x20
 
61
#       define kfDirect555      0x40
 
62
#       define kfDirect565      0x80
 
63
#       define kfDirect888      0x100
 
64
#       define kfDirect444      0x200
 
65
#       define kfDirectInverted 0x400
 
66
#   endif
 
67
#endif
 
68
 
36
69
/*****************************************************************************
37
70
 * vout_sys_t: video output method descriptor
38
71
 *****************************************************************************
219
252
#   define GCL_HBRBACKGROUND (-10)
220
253
#endif
221
254
 
222
 
#define FindWindowEx(a,b,c,d) 0
 
255
//#define FindWindowEx(a,b,c,d) 0
223
256
 
224
257
#define GetWindowPlacement(a,b)
225
258
#define SetWindowPlacement(a,b)
226
 
typedef struct _WINDOWPLACEMENT {
 
259
/*typedef struct _WINDOWPLACEMENT {
227
260
    UINT length;
228
261
    UINT flags;
229
262
    UINT showCmd;
230
263
    POINT ptMinPosition;
231
264
    POINT ptMaxPosition;
232
265
    RECT rcNormalPosition;
233
 
} WINDOWPLACEMENT;
 
266
} WINDOWPLACEMENT;*/
234
267
 
235
268
#ifndef WM_NCMOUSEMOVE
236
269
#   define WM_NCMOUSEMOVE 160
257
290
#define WS_EX_APPWINDOW 0x40000
258
291
#endif
259
292
 
260
 
#define SetWindowLongPtr SetWindowLong
261
 
#define GetWindowLongPtr GetWindowLong
262
 
#define GWLP_USERDATA GWL_USERDATA
 
293
//#define SetWindowLongPtr SetWindowLong
 
294
//#define GetWindowLongPtr GetWindowLong
 
295
//#define GWLP_USERDATA GWL_USERDATA
263
296
 
264
297
#endif //UNDER_CE