OSDN Git Service

SDL_Rect サンプルコードを修正 コピー先のwとhは無視されるため0とした https://github.com/libsdl-org/sdlwiki/commit...
[sdl2referencejp/sdl2referencejp.git] / SDL_AndroidShowToast.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="CategorySystem.html" title="1\82Â\8fã">
9 <title>SDL_AndroidShowToast</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="CategorySystem.html">\8aÂ\8b«\8cÅ\97L\82Ì\8b@\94\</a> - SDL_AndroidShowToast
13 <hr>
14 <h1>SDL_AndroidShowToast</h1>
15 Android\83g\81[\83X\83g\92Ê\92m\82ð\95\\8e¦\82·\82é
16 <h2>\8d\\95¶</h2>
17 <code>int SDL_AndroidShowToast(const char* message, int duration, int gravity, int xoffset, int yoffset)</code>
18 <h2>\88ø\90\94</h2>
19 <table border="1" summary="SDL_AndroidShowToast">
20 <tr><td>message</td><td>\95\\8e¦\82·\82é\83e\83L\83X\83g\83\81\83b\83Z\81[\83W</td></tr>
21 <tr><td>duration</td><td>0=\92Z\82¢, 1=\92·\82¢</td></tr>
22 <tr><td>gravity</td><td>\92Ê\92m\82ð\95\\8e¦\82·\82é\89æ\96Ê\8fã\82Ì\88Ê\92u</td></tr>
23 <tr><td>xoffset</td><td>gravity>=0\82Ì\8fê\8d\87\82Ì\82Ý\82±\82Ì\88ø\90\94\82ª\90Ý\92è\82³\82ê\82é</td></tr>
24 <tr><td>yoffset</td><td>gravity>=0\82Ì\8fê\8d\87\82Ì\82Ý\82±\82Ì\88ø\90\94\82ª\90Ý\92è\82³\82ê\82é</td></tr>
25 </table>
26 <h2>\96ß\82è\92l</h2>
27 \90¬\8c÷\82Ì\82Æ\82«0, \8e¸\94s\82Ì\82Æ\82«-1\82ð\96ß\82·.
28 <h2>\8fÚ\8d×</h2>
29 <p>
30 \83g\81[\83X\83g\82ÍAndroid\8cÅ\97L\82Ì\8cy\82¢\92\8d\88Ó\8a«\8bN\82Ì\88ê\8eí\82Å\82 \82é.<br>
31 <a href="https://developer.android.com/guide/topics/ui/notifiers/toasts">https://developer.android.com/guide/topics/ui/notifiers/toasts</a>
32 </p>
33 <p>
34 \83g\81[\83X\83g\82ÍUI\83X\83\8c\83b\83h\82Å\95\\8e¦\82³\82ê\82é.
35 </p>
36 <p>
37 \88ø\90\94<code>gravity</code>\82Í\89º\82Ì\92l\82©\82ç\91I\82Ô\82±\82Æ. \93K\93\96\82È\82à\82Ì\82ª\82È\82¢\8fê\8d\87\82Í-1\82Æ\82·\82é\82±\82Æ.<br>
38 <a href="https://developer.android.com/reference/android/view/Gravity">https://developer.android.com/reference/android/view/Gravity</a>
39 </p>
40 <h2>\83o\81[\83W\83\87\83\93</h2>
41 SDL 2.0.16\88È\8d~
42 <h2>SDL Wiki\82Ö\82Ì\83\8a\83\93\83N</h2>
43 <a href="https://wiki.libsdl.org/SDL_AndroidShowToast">SDL_AndroidShowToast - SDL Wiki</a>
44 <hr>
45 </body>
46 </html>