annotate src/video/win32/SDL_win32window.c @ 1717:e3637569ab86 SDL-1.3

Include sdl.pc in the development RPM
author Sam Lantinga <slouken@libsdl.org>
date Tue, 27 Jun 2006 04:59:10 +0000
parents 3e66ed1690e4
children ed4d4f1ea201
rev   line source
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 /*
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2 SDL - Simple DirectMedia Layer
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3 Copyright (C) 1997-2006 Sam Lantinga
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 This library is free software; you can redistribute it and/or
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 modify it under the terms of the GNU Lesser General Public
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 License as published by the Free Software Foundation; either
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 version 2.1 of the License, or (at your option) any later version.
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
10 This library is distributed in the hope that it will be useful,
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
13 Lesser General Public License for more details.
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
14
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
15 You should have received a copy of the GNU Lesser General Public
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
16 License along with this library; if not, write to the Free Software
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
18
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
19 Sam Lantinga
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
20 slouken@libsdl.org
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
21 */
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
22 #include "SDL_config.h"
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
23
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
24 #include "../SDL_sysvideo.h"
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
25
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
26 #include "SDL_win32video.h"
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
27
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
28
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
29 int
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
30 WIN32_CreateWindow(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
31 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
32 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
33
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
34 int
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
35 WIN32_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
36 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
37 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
38
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
39 void
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
40 WIN32_SetWindowTitle(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
41 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
42 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
43
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
44 void
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
45 WIN32_SetWindowPosition(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
46 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
47 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
48
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
49 void
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
50 WIN32_SetWindowSize(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
51 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
52 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
53
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
54 void
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
55 WIN32_ShowWindow(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
56 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
57 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
58
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
59 void
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
60 WIN32_HideWindow(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
61 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
62 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
63
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
64 void
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
65 WIN32_RaiseWindow(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
66 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
67 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
68
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
69 void
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
70 WIN32_MaximizeWindow(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
71 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
72 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
73
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
74 void
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
75 WIN32_MinimizeWindow(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
76 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
77 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
78
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
79 void
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
80 WIN32_RestoreWindow(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
81 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
82 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
83
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
84 void
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
85 WIN32_SetWindowGrab(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
86 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
87 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
88
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
89 void
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
90 WIN32_DestroyWindow(_THIS, SDL_Window * window)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
91 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
92 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
93
1713
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
94 SDL_bool
3e66ed1690e4 Whoops, forgot to indent
Sam Lantinga <slouken@libsdl.org>
parents: 1712
diff changeset
95 WIN32_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info)
1712
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
96 {
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
97 }
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
98
931d111e737a Started framework for Windows video driver
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
99 /* vi: set ts=4 sw=4 expandtab: */