Mercurial > sdl-ios-xcode
comparison docs/html/sdlsyswmevent.html @ 0:74212992fb08
Initial revision
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 26 Apr 2001 16:45:43 +0000 |
parents | |
children | 55f1f1b3e27d |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:74212992fb08 |
---|---|
1 <HTML | |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL_SysWMEvent</TITLE | |
5 ><META | |
6 NAME="GENERATOR" | |
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.61 | |
8 "><LINK | |
9 REL="HOME" | |
10 TITLE="SDL Library Documentation" | |
11 HREF="index.html"><LINK | |
12 REL="UP" | |
13 TITLE="SDL Event Structures." | |
14 HREF="eventstructures.html"><LINK | |
15 REL="PREVIOUS" | |
16 TITLE="SDL_ResizeEvent" | |
17 HREF="sdlresizeevent.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="SDL_UserEvent" | |
20 HREF="sdluserevent.html"></HEAD | |
21 ><BODY | |
22 CLASS="REFENTRY" | |
23 BGCOLOR="#FFF8DC" | |
24 TEXT="#000000" | |
25 LINK="#0000ee" | |
26 VLINK="#551a8b" | |
27 ALINK="#ff0000" | |
28 ><DIV | |
29 CLASS="NAVHEADER" | |
30 ><TABLE | |
31 WIDTH="100%" | |
32 BORDER="0" | |
33 CELLPADDING="0" | |
34 CELLSPACING="0" | |
35 ><TR | |
36 ><TH | |
37 COLSPAN="3" | |
38 ALIGN="center" | |
39 >SDL Library Documentation</TH | |
40 ></TR | |
41 ><TR | |
42 ><TD | |
43 WIDTH="10%" | |
44 ALIGN="left" | |
45 VALIGN="bottom" | |
46 ><A | |
47 HREF="sdlresizeevent.html" | |
48 >Prev</A | |
49 ></TD | |
50 ><TD | |
51 WIDTH="80%" | |
52 ALIGN="center" | |
53 VALIGN="bottom" | |
54 ></TD | |
55 ><TD | |
56 WIDTH="10%" | |
57 ALIGN="right" | |
58 VALIGN="bottom" | |
59 ><A | |
60 HREF="sdluserevent.html" | |
61 >Next</A | |
62 ></TD | |
63 ></TR | |
64 ></TABLE | |
65 ><HR | |
66 ALIGN="LEFT" | |
67 WIDTH="100%"></DIV | |
68 ><H1 | |
69 ><A | |
70 NAME="SDLSYSWMEVENT" | |
71 >SDL_SysWMEvent</A | |
72 ></H1 | |
73 ><DIV | |
74 CLASS="REFNAMEDIV" | |
75 ><A | |
76 NAME="AEN3995" | |
77 ></A | |
78 ><H2 | |
79 >Name</H2 | |
80 >SDL_SysWMEvent -- Platform-dependent window manager event.</DIV | |
81 ><DIV | |
82 CLASS="REFSECT1" | |
83 ><A | |
84 NAME="AEN3998" | |
85 ></A | |
86 ><H2 | |
87 >Description</H2 | |
88 ><P | |
89 >The system window manager event contains a pointer to system-specific | |
90 information about unknown window manager events. If you enable this event | |
91 using | |
92 <A | |
93 HREF="sdleventstate.html" | |
94 ><TT | |
95 CLASS="FUNCTION" | |
96 >SDL_EventState()</TT | |
97 ></A | |
98 >, | |
99 it will be generated whenever unhandled events are received from the window | |
100 manager. This can be used, for example, to implement cut-and-paste in your | |
101 application. | |
102 | |
103 <PRE | |
104 CLASS="PROGRAMLISTING" | |
105 >typedef struct { | |
106 Uint8 type; /* Always SDL_SysWM */ | |
107 } SDL_SysWMEvent;</PRE | |
108 > | |
109 | |
110 If you want to obtain system-specific information about the window manager, | |
111 you can fill the version member of a <SPAN | |
112 CLASS="STRUCTNAME" | |
113 >SDL_SysWMinfo</SPAN | |
114 > | |
115 structure (details can be found in <TT | |
116 CLASS="FILENAME" | |
117 >SDL_syswm.h</TT | |
118 >, which must be included) using the <TT | |
119 CLASS="FUNCTION" | |
120 >SDL_VERSION()</TT | |
121 > macro found in | |
122 <TT | |
123 CLASS="FILENAME" | |
124 >SDL_version.h</TT | |
125 >, and pass it to the | |
126 function: | |
127 <DIV | |
128 CLASS="FUNCSYNOPSIS" | |
129 ><A | |
130 NAME="AEN4008" | |
131 ></A | |
132 ><P | |
133 ></P | |
134 ><P | |
135 ><CODE | |
136 ><CODE | |
137 CLASS="FUNCDEF" | |
138 >int <B | |
139 CLASS="FSFUNC" | |
140 >SDL_GetWMInfo</B | |
141 ></CODE | |
142 >(SDL_SysWMinfo *info);</CODE | |
143 ></P | |
144 ><P | |
145 ></P | |
146 ></DIV | |
147 ></P | |
148 ></DIV | |
149 ><DIV | |
150 CLASS="REFSECT1" | |
151 ><A | |
152 NAME="AEN4013" | |
153 ></A | |
154 ><H2 | |
155 >See Also</H2 | |
156 ><P | |
157 ><A | |
158 HREF="sdleventstate.html" | |
159 ><TT | |
160 CLASS="FUNCTION" | |
161 >SDL_EventState</TT | |
162 ></A | |
163 ></P | |
164 ></DIV | |
165 ><DIV | |
166 CLASS="NAVFOOTER" | |
167 ><HR | |
168 ALIGN="LEFT" | |
169 WIDTH="100%"><TABLE | |
170 WIDTH="100%" | |
171 BORDER="0" | |
172 CELLPADDING="0" | |
173 CELLSPACING="0" | |
174 ><TR | |
175 ><TD | |
176 WIDTH="33%" | |
177 ALIGN="left" | |
178 VALIGN="top" | |
179 ><A | |
180 HREF="sdlresizeevent.html" | |
181 >Prev</A | |
182 ></TD | |
183 ><TD | |
184 WIDTH="34%" | |
185 ALIGN="center" | |
186 VALIGN="top" | |
187 ><A | |
188 HREF="index.html" | |
189 >Home</A | |
190 ></TD | |
191 ><TD | |
192 WIDTH="33%" | |
193 ALIGN="right" | |
194 VALIGN="top" | |
195 ><A | |
196 HREF="sdluserevent.html" | |
197 >Next</A | |
198 ></TD | |
199 ></TR | |
200 ><TR | |
201 ><TD | |
202 WIDTH="33%" | |
203 ALIGN="left" | |
204 VALIGN="top" | |
205 >SDL_ResizeEvent</TD | |
206 ><TD | |
207 WIDTH="34%" | |
208 ALIGN="center" | |
209 VALIGN="top" | |
210 ><A | |
211 HREF="eventstructures.html" | |
212 >Up</A | |
213 ></TD | |
214 ><TD | |
215 WIDTH="33%" | |
216 ALIGN="right" | |
217 VALIGN="top" | |
218 >SDL_UserEvent</TD | |
219 ></TR | |
220 ></TABLE | |
221 ></DIV | |
222 ></BODY | |
223 ></HTML | |
224 > |