comparison docs/html/sdlgetmodstate.html @ 803:355632dca928

Updated SDL HTML documentation
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Feb 2004 15:15:40 +0000
parents e5bc29de3f0a
children
comparison
equal deleted inserted replaced
802:3c609d54f100 803:355632dca928
2 ><HEAD 2 ><HEAD
3 ><TITLE 3 ><TITLE
4 >SDL_GetModState</TITLE 4 >SDL_GetModState</TITLE
5 ><META 5 ><META
6 NAME="GENERATOR" 6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
8 "><LINK 8 "><LINK
9 REL="HOME" 9 REL="HOME"
10 TITLE="SDL Library Documentation" 10 TITLE="SDL Library Documentation"
11 HREF="index.html"><LINK 11 HREF="index.html"><LINK
12 REL="UP" 12 REL="UP"
26 VLINK="#551a8b" 26 VLINK="#551a8b"
27 ALINK="#ff0000" 27 ALINK="#ff0000"
28 ><DIV 28 ><DIV
29 CLASS="NAVHEADER" 29 CLASS="NAVHEADER"
30 ><TABLE 30 ><TABLE
31 SUMMARY="Header navigation table"
31 WIDTH="100%" 32 WIDTH="100%"
32 BORDER="0" 33 BORDER="0"
33 CELLPADDING="0" 34 CELLPADDING="0"
34 CELLSPACING="0" 35 CELLSPACING="0"
35 ><TR 36 ><TR
43 WIDTH="10%" 44 WIDTH="10%"
44 ALIGN="left" 45 ALIGN="left"
45 VALIGN="bottom" 46 VALIGN="bottom"
46 ><A 47 ><A
47 HREF="sdlgetkeystate.html" 48 HREF="sdlgetkeystate.html"
49 ACCESSKEY="P"
48 >Prev</A 50 >Prev</A
49 ></TD 51 ></TD
50 ><TD 52 ><TD
51 WIDTH="80%" 53 WIDTH="80%"
52 ALIGN="center" 54 ALIGN="center"
56 WIDTH="10%" 58 WIDTH="10%"
57 ALIGN="right" 59 ALIGN="right"
58 VALIGN="bottom" 60 VALIGN="bottom"
59 ><A 61 ><A
60 HREF="sdlsetmodstate.html" 62 HREF="sdlsetmodstate.html"
63 ACCESSKEY="N"
61 >Next</A 64 >Next</A
62 ></TD 65 ></TD
63 ></TR 66 ></TR
64 ></TABLE 67 ></TABLE
65 ><HR 68 ><HR
66 ALIGN="LEFT" 69 ALIGN="LEFT"
67 WIDTH="100%"></DIV 70 WIDTH="100%"></DIV
68 ><H1 71 ><H1
69 ><A 72 ><A
70 NAME="SDLGETMODSTATE" 73 NAME="SDLGETMODSTATE"
71 >SDL_GetModState</A 74 ></A
72 ></H1 75 >SDL_GetModState</H1
73 ><DIV 76 ><DIV
74 CLASS="REFNAMEDIV" 77 CLASS="REFNAMEDIV"
75 ><A 78 ><A
76 NAME="AEN5333" 79 NAME="AEN5721"
77 ></A 80 ></A
78 ><H2 81 ><H2
79 >Name</H2 82 >Name</H2
80 >SDL_GetModState&nbsp;--&nbsp;Get the state of modifier keys.</DIV 83 >SDL_GetModState&nbsp;--&nbsp;Get the state of modifier keys.</DIV
81 ><DIV 84 ><DIV
82 CLASS="REFSYNOPSISDIV" 85 CLASS="REFSYNOPSISDIV"
83 ><A 86 ><A
84 NAME="AEN5336" 87 NAME="AEN5724"
85 ></A 88 ></A
86 ><H2 89 ><H2
87 >Synopsis</H2 90 >Synopsis</H2
88 ><DIV 91 ><DIV
89 CLASS="FUNCSYNOPSIS" 92 CLASS="FUNCSYNOPSIS"
90 ><A 93 ><A
91 NAME="AEN5337" 94 NAME="AEN5725"
92 ></A 95 ></A
93 ><P 96 ><P
94 ></P 97 ></P
95 ><PRE 98 ><PRE
96 CLASS="FUNCSYNOPSISINFO" 99 CLASS="FUNCSYNOPSISINFO"
110 ></DIV 113 ></DIV
111 ></DIV 114 ></DIV
112 ><DIV 115 ><DIV
113 CLASS="REFSECT1" 116 CLASS="REFSECT1"
114 ><A 117 ><A
115 NAME="AEN5343" 118 NAME="AEN5731"
116 ></A 119 ></A
117 ><H2 120 ><H2
118 >Description</H2 121 >Description</H2
119 ><P 122 ><P
120 >Returns the current state of the modifier keys (CTRL, ALT, etc.).</P 123 >Returns the current state of the modifier keys (CTRL, ALT, etc.).</P
121 ></DIV 124 ></DIV
122 ><DIV 125 ><DIV
123 CLASS="REFSECT1" 126 CLASS="REFSECT1"
124 ><A 127 ><A
125 NAME="AEN5346" 128 NAME="AEN5734"
126 ></A 129 ></A
127 ><H2 130 ><H2
128 >Return Value</H2 131 >Return Value</H2
129 ><P 132 ><P
130 >The return value can be an OR'd combination of the SDLMod enum.</P 133 >The return value can be an OR'd combination of the SDLMod enum.</P
131 ><P 134 ><P
132 ><A 135 ><A
133 NAME="AEN5350" 136 NAME="AEN5738"
134 ></A 137 ></A
135 ><BLOCKQUOTE 138 ><BLOCKQUOTE
136 CLASS="BLOCKQUOTE" 139 CLASS="BLOCKQUOTE"
137 ><P 140 ><P
138 ><B 141 ><B
156 } SDLMod;</PRE 159 } SDLMod;</PRE
157 ></BLOCKQUOTE 160 ></BLOCKQUOTE
158 > 161 >
159 SDL also defines the following symbols for convenience: 162 SDL also defines the following symbols for convenience:
160 <A 163 <A
161 NAME="AEN5353" 164 NAME="AEN5741"
162 ></A 165 ></A
163 ><BLOCKQUOTE 166 ><BLOCKQUOTE
164 CLASS="BLOCKQUOTE" 167 CLASS="BLOCKQUOTE"
165 ><PRE 168 ><PRE
166 CLASS="PROGRAMLISTING" 169 CLASS="PROGRAMLISTING"
172 ></P 175 ></P
173 ></DIV 176 ></DIV
174 ><DIV 177 ><DIV
175 CLASS="REFSECT1" 178 CLASS="REFSECT1"
176 ><A 179 ><A
177 NAME="AEN5355" 180 NAME="AEN5743"
178 ></A 181 ></A
179 ><H2 182 ><H2
180 >See Also</H2 183 >See Also</H2
181 ><P 184 ><P
182 ><A 185 ><A
190 ><DIV 193 ><DIV
191 CLASS="NAVFOOTER" 194 CLASS="NAVFOOTER"
192 ><HR 195 ><HR
193 ALIGN="LEFT" 196 ALIGN="LEFT"
194 WIDTH="100%"><TABLE 197 WIDTH="100%"><TABLE
198 SUMMARY="Footer navigation table"
195 WIDTH="100%" 199 WIDTH="100%"
196 BORDER="0" 200 BORDER="0"
197 CELLPADDING="0" 201 CELLPADDING="0"
198 CELLSPACING="0" 202 CELLSPACING="0"
199 ><TR 203 ><TR
201 WIDTH="33%" 205 WIDTH="33%"
202 ALIGN="left" 206 ALIGN="left"
203 VALIGN="top" 207 VALIGN="top"
204 ><A 208 ><A
205 HREF="sdlgetkeystate.html" 209 HREF="sdlgetkeystate.html"
210 ACCESSKEY="P"
206 >Prev</A 211 >Prev</A
207 ></TD 212 ></TD
208 ><TD 213 ><TD
209 WIDTH="34%" 214 WIDTH="34%"
210 ALIGN="center" 215 ALIGN="center"
211 VALIGN="top" 216 VALIGN="top"
212 ><A 217 ><A
213 HREF="index.html" 218 HREF="index.html"
219 ACCESSKEY="H"
214 >Home</A 220 >Home</A
215 ></TD 221 ></TD
216 ><TD 222 ><TD
217 WIDTH="33%" 223 WIDTH="33%"
218 ALIGN="right" 224 ALIGN="right"
219 VALIGN="top" 225 VALIGN="top"
220 ><A 226 ><A
221 HREF="sdlsetmodstate.html" 227 HREF="sdlsetmodstate.html"
228 ACCESSKEY="N"
222 >Next</A 229 >Next</A
223 ></TD 230 ></TD
224 ></TR 231 ></TR
225 ><TR 232 ><TR
226 ><TD 233 ><TD
232 WIDTH="34%" 239 WIDTH="34%"
233 ALIGN="center" 240 ALIGN="center"
234 VALIGN="top" 241 VALIGN="top"
235 ><A 242 ><A
236 HREF="eventfunctions.html" 243 HREF="eventfunctions.html"
244 ACCESSKEY="U"
237 >Up</A 245 >Up</A
238 ></TD 246 ></TD
239 ><TD 247 ><TD
240 WIDTH="33%" 248 WIDTH="33%"
241 ALIGN="right" 249 ALIGN="right"