SDL
2.0
SDL_os2video.h
Go to the documentation of this file.
1
/*
2
Simple DirectMedia Layer
3
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
4
5
This software is provided 'as-is', without any express or implied
6
warranty. In no event will the authors be held liable for any damages
7
arising from the use of this software.
8
9
Permission is granted to anyone to use this software for any purpose,
10
including commercial applications, and to alter it and redistribute it
11
freely, subject to the following restrictions:
12
13
1. The origin of this software must not be misrepresented; you must not
14
claim that you wrote the original software. If you use this software
15
in a product, an acknowledgment in the product documentation would be
16
appreciated but is not required.
17
2. Altered source versions must be plainly marked as such, and must not be
18
misrepresented as being the original software.
19
3. This notice may not be removed or altered from any source distribution.
20
*/
21
#include "../../SDL_internal.h"
22
23
#ifndef SDL_os2video_h_
24
#define SDL_os2video_h_
25
26
#include "../SDL_sysvideo.h"
27
#include "../../core/os2/SDL_os2.h"
28
29
#define INCL_DOS
30
#define INCL_DOSERRORS
31
#define INCL_DOSPROCESS
32
#define INCL_WIN
33
#define INCL_GPI
34
#define INCL_OS2MM
35
#define INCL_DOSMEMMGR
36
#include <os2.h>
37
38
#include "
SDL_os2mouse.h
"
39
#include "
SDL_os2output.h
"
40
41
typedef
struct
SDL_VideoData
{
42
HAB
hab
;
43
HMQ
hmq
;
44
OS2VIDEOOUTPUT
*
pOutput
;
/* Video output routines */
45
}
SDL_VideoData
;
46
47
typedef
struct
_WINDATA {
48
SDL_Window
*
window
;
49
OS2VIDEOOUTPUT
*
pOutput
;
/* Video output routines */
50
HWND
hwndFrame
;
51
HWND
hwnd
;
52
PFNWP
fnUserWndProc
;
53
PFNWP
fnWndFrameProc
;
54
55
PVODATA
pVOData
;
/* Video output data */
56
57
HRGN
hrgnShape
;
58
HPOINTER
hptrIcon
;
59
RECTL
rectlBeforeFS
;
60
61
LONG
lSkipWMSize
;
62
LONG
lSkipWMMove
;
63
LONG
lSkipWMMouseMove
;
64
LONG
lSkipWMVRNEnabled
;
65
LONG
lSkipWMAdjustFramePos
;
66
}
WINDATA
;
67
68
typedef
struct
_DISPLAYDATA {
69
ULONG
ulDPIHor
;
70
ULONG
ulDPIVer
;
71
ULONG
ulDPIDiag
;
72
}
DISPLAYDATA
;
73
74
typedef
struct
_MODEDATA {
75
ULONG
ulDepth
;
76
ULONG
fccColorEncoding
;
77
ULONG
ulScanLineBytes
;
78
}
MODEDATA
;
79
80
#endif
/* SDL_os2video_h_ */
81
82
/* vi: set ts=4 sw=4 expandtab: */
SDL_os2mouse.h
SDL_os2output.h
PVODATA
struct _VODATA * PVODATA
Definition:
SDL_os2output.h:26
DISPLAYDATA
Definition:
SDL_os2video.h:68
DISPLAYDATA::ulDPIDiag
ULONG ulDPIDiag
Definition:
SDL_os2video.h:71
DISPLAYDATA::ulDPIVer
ULONG ulDPIVer
Definition:
SDL_os2video.h:70
DISPLAYDATA::ulDPIHor
ULONG ulDPIHor
Definition:
SDL_os2video.h:69
MODEDATA
Definition:
SDL_os2video.h:74
MODEDATA::ulDepth
ULONG ulDepth
Definition:
SDL_os2video.h:75
MODEDATA::ulScanLineBytes
ULONG ulScanLineBytes
Definition:
SDL_os2video.h:77
MODEDATA::fccColorEncoding
ULONG fccColorEncoding
Definition:
SDL_os2video.h:76
OS2VIDEOOUTPUT
Definition:
SDL_os2output.h:36
SDL_VideoData
Definition:
SDL_androidvideo.h:37
SDL_VideoData::hab
HAB hab
Definition:
SDL_os2video.h:42
SDL_VideoData::pOutput
OS2VIDEOOUTPUT * pOutput
Definition:
SDL_os2video.h:44
SDL_VideoData::hmq
HMQ hmq
Definition:
SDL_os2video.h:43
SDL_Window
The type used to identify a window.
Definition:
SDL_sysvideo.h:75
WINDATA
Definition:
SDL_os2video.h:47
WINDATA::lSkipWMMove
LONG lSkipWMMove
Definition:
SDL_os2video.h:62
WINDATA::hwndFrame
HWND hwndFrame
Definition:
SDL_os2video.h:50
WINDATA::lSkipWMSize
LONG lSkipWMSize
Definition:
SDL_os2video.h:61
WINDATA::pOutput
OS2VIDEOOUTPUT * pOutput
Definition:
SDL_os2video.h:49
WINDATA::lSkipWMVRNEnabled
LONG lSkipWMVRNEnabled
Definition:
SDL_os2video.h:64
WINDATA::lSkipWMMouseMove
LONG lSkipWMMouseMove
Definition:
SDL_os2video.h:63
WINDATA::lSkipWMAdjustFramePos
LONG lSkipWMAdjustFramePos
Definition:
SDL_os2video.h:65
WINDATA::hwnd
HWND hwnd
Definition:
SDL_os2video.h:51
WINDATA::window
SDL_Window * window
Definition:
SDL_os2video.h:48
WINDATA::pVOData
PVODATA pVOData
Definition:
SDL_os2video.h:55
WINDATA::rectlBeforeFS
RECTL rectlBeforeFS
Definition:
SDL_os2video.h:59
WINDATA::hptrIcon
HPOINTER hptrIcon
Definition:
SDL_os2video.h:58
WINDATA::fnUserWndProc
PFNWP fnUserWndProc
Definition:
SDL_os2video.h:52
WINDATA::hrgnShape
HRGN hrgnShape
Definition:
SDL_os2video.h:57
WINDATA::fnWndFrameProc
PFNWP fnWndFrameProc
Definition:
SDL_os2video.h:53
src
video
os2
SDL_os2video.h
Generated by
1.9.1