OSDN Git Service

SDL_atomic_t サンプルコードを修正 https://wiki.libsdl.org/SDL_atomic_t?action=diff&rev1=3&rev2=4
[sdl2referencejp/sdl2referencejp.git] / SDL_GetGlobalMouseState.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html lang="ja-JP">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">
7 <link rel="top" href="index.html" title="\83z\81[\83\80">
8 <link rel="parent" href="CategoryMouse.html" title="1\82Â\8fã">
9 <title>SDL_GetGlobalMouseState</title>
10 </head>
11 <body>
12 <a href="index.html">\96Ú\8e\9f</a> - <a href="ApiByCategory.html">API(\8b@\94\\95Ê)</a> - <a href="CategoryMouse.html">\83}\83E\83X</a> - SDL_GetGlobalMouseState
13 <hr>
14 <h1>SDL_GetGlobalMouseState</h1>
15 \83}\83E\83X\82Ì\83f\83X\83N\83g\83b\83v\82©\82ç\82Ì\8dÀ\95W\82ð\93¾\82é
16 <h2>\8d\\95¶</h2>
17 <code>Uint32 SDL_GetGlobalMouseState(int* x, int* y)</code>
18 <h2>\88ø\90\94</h2>
19 <table border="1" summary="SDL_GetGlobalMouseState">
20 <tr><td>x</td><td>\8c»\8dÝ\82Ì\83f\83X\83N\83g\83b\83v\82©\82ç\82ÌX\8dÀ\95W\82ð\91ã\93ü\82·\82é\83|\83C\83\93\83^. NULL\82à\89Â\94\</td></tr>
21 <tr><td>y</td><td>\8c»\8dÝ\82Ì\83f\83X\83N\83g\83b\83v\82©\82ç\82ÌY\8dÀ\95W\82ð\91ã\93ü\82·\82é\83|\83C\83\93\83^. NULL\82à\89Â\94\</td></tr>
22 </table>
23 <h2>\96ß\82è\92l</h2>
24 \83{\83^\83\93\82Ì\8fó\91Ô\82ðSDL_BUTTON(X)\83}\83N\83\8d\82Å\83e\83X\83g\82Å\82«\82é\83r\83b\83g\83}\83X\83N\82Å\96ß\82·.
25 <h2>\8fÚ\8d×</h2>
26 <p>
27 \82±\82ê\82Í<a href="SDL_GetMouseState.html">SDL_GetMouseState()</a>\82Æ\93¯\82\82æ\82¤\82È\93­\82«\82ð\82·\82é. \82µ\82©\82µ, \83f\83X\83N\83g\83b\83v\82Ì\8d\8fã\82©\82ç\82Ì\91\8a\91Î\8dÀ\95W\82ª\95ñ\8d\90\82³\82ê\82é.
28 \82±\82ê\82Í, \83E\83B\83\93\83h\83E\82Ì\8aO\82Ì\83}\83E\83X\82ð\92Ç\90Õ\82·\82é\95K\97v\82ª\82 \82é\82ª, <a href="SDL_CaptureMouse.html">SDL_CaptureMouse()</a>\82ª\93K\82³\82È\82¢\82Æ\82«\82É\97L\97p\82Å\82 \82é.
29 \97á\82¦\82Î, \83E\83B\83\93\83h\83E\82ð\83h\83\89\83b\83O\82µ\82Ä\82¢\82é\8dÅ\92\86\82É\83}\83E\83X\82ð\92Ç\90Õ\82·\82é\95K\97v\82ª\82 \82é\8fê\8d\87\82»\82Ì\83E\83B\83\93\83h\83E\82©\82ç\82Ì\91\8a\91Î\8dÀ\95W\82Í\8fí\82É\93¯\8aú\82µ\82Ä\82¢\82é\82Æ\82Í\8cÀ\82ç\82È\82¢\82½\82ß, \82±\82Ì\8aÖ\90\94\82ª\97L\97p\82Å\82 \82ë\82¤.
30 </p>
31 <p>
32 <em>\92\8d\88Ó:</em> <a href="SDL_GetMouseState.html">SDL_GetMouseState()</a>\82ÍSDL\82Ì\83C\83x\83\93\83g\83L\83\85\81[\82©\82ç\8dÅ\8cã\82É\93¾\82½\83}\83E\83X\82Ì\8dÀ\95W\82ð\96ß\82·.\82µ\82©\82µ, \82±\82Ì\8aÖ\90\94\82ÍOS\82É\8c»\8dÝ\82Ì\83}\83E\83X\82Ì\88Ê\92u\82ð\96â\82¢\8d\87\82í\82¹\82é. \82»\82ê\82ä\82¦\82É\82±\82Ì\8aÖ\90\94\82Í\82 \82Ü\82è\8cø\97¦\93I\82Å\82È\82¢.
33 \8e©\95ª\82ª\89½\82ð\82µ\82Ä\82¢\82é\82Ì\82©\82í\82©\82Á\82Ä\82¢\82Ä, \82±\82Ì\8aÖ\90\94\82ð\8eg\82í\82È\82¯\82ê\82Î\82È\82ç\82È\82¢\97\9d\97R\82ª\82È\82¢\8cÀ\82è, \91ã\82í\82è\82É<a href="SDL_GetMouseState.html">SDL_GetMouseState()</a>\82ð\8eg\82¤\82Ù\82¤\82ª\82æ\82¢\82¾\82ë\82¤.
34 </p>
35 <h2>\83o\81[\83W\83\87\83\93</h2>
36 SDL 2.0.4\88È\8d~
37 <h2>\8aÖ\98A\8d\80\96Ú(\8aÖ\90\94)</h2>
38 <a href="SDL_CaptureMouse.html">SDL_CaptureMouse</a><br>
39 <h2>SDL Wiki\82Ö\82Ì\83\8a\83\93\83N</h2>
40 <a href="https://wiki.libsdl.org/SDL_GetGlobalMouseState">SDL_GetGlobalMouseState - SDL Wiki</a>
41 <hr>
42 </body>
43 </html>