Mercurial > sdl-ios-xcode
annotate docs/html/sdlshowcursor.html @ 778:8ac3f46f9d09
Date: Tue, 6 Jan 2004 12:42:19 +0100
From: Max Horn
Subject: SDL_HasAltiVec; BUGS file
the attached patch adds SDL_HasAltiVec to SDL CVS. Note that at this
point, this only works on MacOSX (and maybe darwin). I don't know how
to properly add a test for e.g. Linux/PPC at this point. I found an
email which might help in doing so:
http://zebra.fh-weingarten.de/~maxi/html/mplayer-dev-eng/2003-01msg00783.html
However, since I have no way to test on a non-OSX PowerPC system, I am
not comfortable blindly adding such code... I just hope that if
somebody from the Linux/PPC (or FreeBSD/PPC, or whatever) community
notices this, they'll jump up and provide a patch for us ;-)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 06 Jan 2004 17:18:38 +0000 |
parents | e5bc29de3f0a |
children | 355632dca928 |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL_ShowCursor</TITLE | |
5 ><META | |
6 NAME="GENERATOR" | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 |
0 | 8 "><LINK |
9 REL="HOME" | |
10 TITLE="SDL Library Documentation" | |
11 HREF="index.html"><LINK | |
12 REL="UP" | |
13 TITLE="Video" | |
14 HREF="video.html"><LINK | |
15 REL="PREVIOUS" | |
16 TITLE="SDL_GetCursor" | |
17 HREF="sdlgetcursor.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="SDL_GL_LoadLibrary" | |
20 HREF="sdlglloadlibrary.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="sdlgetcursor.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="sdlglloadlibrary.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="SDLSHOWCURSOR" | |
71 >SDL_ShowCursor</A | |
72 ></H1 | |
73 ><DIV | |
74 CLASS="REFNAMEDIV" | |
75 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
76 NAME="AEN2231" |
0 | 77 ></A |
78 ><H2 | |
79 >Name</H2 | |
80 >SDL_ShowCursor -- Toggle whether or not the cursor is shown on the screen.</DIV | |
81 ><DIV | |
82 CLASS="REFSYNOPSISDIV" | |
83 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
84 NAME="AEN2234" |
0 | 85 ></A |
86 ><H2 | |
87 >Synopsis</H2 | |
88 ><DIV | |
89 CLASS="FUNCSYNOPSIS" | |
90 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
91 NAME="AEN2235" |
0 | 92 ></A |
93 ><P | |
94 ></P | |
95 ><PRE | |
96 CLASS="FUNCSYNOPSISINFO" | |
97 >#include "SDL.h"</PRE | |
98 ><P | |
99 ><CODE | |
100 ><CODE | |
101 CLASS="FUNCDEF" | |
102 >int <B | |
103 CLASS="FSFUNC" | |
104 >SDL_ShowCursor</B | |
105 ></CODE | |
106 >(int toggle);</CODE | |
107 ></P | |
108 ><P | |
109 ></P | |
110 ></DIV | |
111 ></DIV | |
112 ><DIV | |
113 CLASS="REFSECT1" | |
114 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
115 NAME="AEN2241" |
0 | 116 ></A |
117 ><H2 | |
118 >Description</H2 | |
119 ><P | |
120 >Toggle whether or not the cursor is shown on the screen. Passing <TT | |
121 CLASS="LITERAL" | |
122 >SDL_ENABLE</TT | |
123 > displays the cursor and passing <TT | |
124 CLASS="LITERAL" | |
125 >SDL_DISABLE</TT | |
126 > hides it. The current state of the mouse cursor can be queried by passing <TT | |
127 CLASS="LITERAL" | |
128 >SDL_QUERY</TT | |
129 >, either <TT | |
130 CLASS="LITERAL" | |
131 >SDL_DISABLE</TT | |
132 > or <TT | |
133 CLASS="LITERAL" | |
134 >SDL_ENABLE</TT | |
135 > will be returned.</P | |
136 ><P | |
137 >The cursor starts off displayed, but can be turned off.</P | |
138 ></DIV | |
139 ><DIV | |
140 CLASS="REFSECT1" | |
141 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
142 NAME="AEN2250" |
0 | 143 ></A |
144 ><H2 | |
145 >Return Value</H2 | |
146 ><P | |
147 >Returns the current state of the cursor.</P | |
148 ></DIV | |
149 ><DIV | |
150 CLASS="REFSECT1" | |
151 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
152 NAME="AEN2253" |
0 | 153 ></A |
154 ><H2 | |
155 >See Also</H2 | |
156 ><P | |
157 ><A | |
158 HREF="sdlcreatecursor.html" | |
159 ><TT | |
160 CLASS="FUNCTION" | |
161 >SDL_CreateCursor</TT | |
162 ></A | |
163 >, | |
164 <A | |
165 HREF="sdlsetcursor.html" | |
166 ><TT | |
167 CLASS="FUNCTION" | |
168 >SDL_SetCursor</TT | |
169 ></A | |
170 ></P | |
171 ></DIV | |
172 ><DIV | |
173 CLASS="NAVFOOTER" | |
174 ><HR | |
175 ALIGN="LEFT" | |
176 WIDTH="100%"><TABLE | |
177 WIDTH="100%" | |
178 BORDER="0" | |
179 CELLPADDING="0" | |
180 CELLSPACING="0" | |
181 ><TR | |
182 ><TD | |
183 WIDTH="33%" | |
184 ALIGN="left" | |
185 VALIGN="top" | |
186 ><A | |
187 HREF="sdlgetcursor.html" | |
188 >Prev</A | |
189 ></TD | |
190 ><TD | |
191 WIDTH="34%" | |
192 ALIGN="center" | |
193 VALIGN="top" | |
194 ><A | |
195 HREF="index.html" | |
196 >Home</A | |
197 ></TD | |
198 ><TD | |
199 WIDTH="33%" | |
200 ALIGN="right" | |
201 VALIGN="top" | |
202 ><A | |
203 HREF="sdlglloadlibrary.html" | |
204 >Next</A | |
205 ></TD | |
206 ></TR | |
207 ><TR | |
208 ><TD | |
209 WIDTH="33%" | |
210 ALIGN="left" | |
211 VALIGN="top" | |
212 >SDL_GetCursor</TD | |
213 ><TD | |
214 WIDTH="34%" | |
215 ALIGN="center" | |
216 VALIGN="top" | |
217 ><A | |
218 HREF="video.html" | |
219 >Up</A | |
220 ></TD | |
221 ><TD | |
222 WIDTH="33%" | |
223 ALIGN="right" | |
224 VALIGN="top" | |
225 >SDL_GL_LoadLibrary</TD | |
226 ></TR | |
227 ></TABLE | |
228 ></DIV | |
229 ></BODY | |
230 ></HTML | |
231 > |