Mercurial > sdl-ios-xcode
comparison src/video/os2fslib/SDL_os2fslib.h @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | e3242177fe4a |
children | 4da1ee79c9af |
comparison
equal
deleted
inserted
replaced
1661:281d3f4870e5 | 1662:782fd950bd46 |
---|---|
40 #define _THIS SDL_VideoDevice *_this | 40 #define _THIS SDL_VideoDevice *_this |
41 | 41 |
42 /* Private display data */ | 42 /* Private display data */ |
43 struct SDL_PrivateVideoData | 43 struct SDL_PrivateVideoData |
44 { | 44 { |
45 FSLib_VideoMode_p pAvailableFSLibVideoModes; | 45 FSLib_VideoMode_p pAvailableFSLibVideoModes; |
46 SDL_Rect **pListModesResult; // Allocated memory to return list of modes for os2fslib_ListModes() API | 46 SDL_Rect **pListModesResult; // Allocated memory to return list of modes for os2fslib_ListModes() API |
47 | 47 |
48 FSLib_VideoMode SrcBufferDesc; // Description of current source image buffer | 48 FSLib_VideoMode SrcBufferDesc; // Description of current source image buffer |
49 char *pchSrcBuffer; // The source image buffer itself | 49 char *pchSrcBuffer; // The source image buffer itself |
50 SDL_Surface *pSDLSurface; // The SDL surface describing the buffer | 50 SDL_Surface *pSDLSurface; // The SDL surface describing the buffer |
51 HMTX hmtxUseSrcBuffer; // Mutex semaphore to manipulate src buffer | 51 HMTX hmtxUseSrcBuffer; // Mutex semaphore to manipulate src buffer |
52 HWND hwndFrame, hwndClient; // Window handle of frame and client | 52 HWND hwndFrame, hwndClient; // Window handle of frame and client |
53 int iPMThreadStatus; // 0: Not running | 53 int iPMThreadStatus; // 0: Not running |
54 // 1: Running | 54 // 1: Running |
55 // Other: Not running, had an error | 55 // Other: Not running, had an error |
56 int tidPMThread; // Thread ID of PM Thread | 56 int tidPMThread; // Thread ID of PM Thread |
57 int fInFocus; // True if we're in focus! | 57 int fInFocus; // True if we're in focus! |
58 int iSkipWMMOUSEMOVE; // Number of WM_MOUSEMOVE messages to skip! | 58 int iSkipWMMOUSEMOVE; // Number of WM_MOUSEMOVE messages to skip! |
59 int iMouseVisible; // | 59 int iMouseVisible; // |
60 | 60 |
61 PFNWP pfnOldFrameProc; // Old window frame procedure | 61 PFNWP pfnOldFrameProc; // Old window frame procedure |
62 int bProportionalResize; // 0: No proportional resizing | 62 int bProportionalResize; // 0: No proportional resizing |
63 // 1: Do proportional resizing | 63 // 1: Do proportional resizing |
64 ULONG ulResizingFlag; // First resizing flag value | 64 ULONG ulResizingFlag; // First resizing flag value |
65 }; | 65 }; |
66 | 66 |
67 /* OS/2 specific backdoor function to be able to set FrameControlFlags of */ | 67 /* OS/2 specific backdoor function to be able to set FrameControlFlags of */ |
68 /* the SDL window before creating it. */ | 68 /* the SDL window before creating it. */ |
69 extern DECLSPEC void SDLCALL SDL_OS2FSLIB_SetFCFToUse(ULONG ulFCF); | 69 extern DECLSPEC void SDLCALL SDL_OS2FSLIB_SetFCFToUse (ULONG ulFCF); |
70 | 70 |
71 #endif /* _SDL_os2fslib_h */ | 71 #endif /* _SDL_os2fslib_h */ |
72 /* vi: set ts=4 sw=4 expandtab: */ |