OSDN Git Service

SDL_CreateThread サンプルコードを修正 https://wiki.libsdl.org/SDL_CreateThread?action=diff...
[sdl2referencejp/sdl2referencejp.git] / SDL_ShowSimpleMessageBox.html
index f126d5c..9c04baa 100644 (file)
 <a href="index.html">\96Ú\8e\9f</a> - <a href="ApiByCategory.html">API(\8b@\94\\95Ê)</a> - <a href="CategoryVideo.html">\83f\83B\83X\83v\83\8c\83C\82Æ\83E\83B\83\93\83h\83E</a> - SDL_ShowSimpleMessageBox\r
 <hr>\r
 <h1>SDL_ShowSimpleMessageBox</h1>\r
-\92P\8f\83\82È\83\81\83b\83Z\81[\83W\83{\83b\83N\83X\82ð\95\\8e¦\82·\82é\r
+\92P\8f\83\82È\83\82\81[\83_\83\8b\83\81\83b\83Z\81[\83W\83{\83b\83N\83X\82ð\95\\8e¦\82·\82é\r
 <h2>\8d\\95¶</h2>\r
 <code>int SDL_ShowSimpleMessageBox(Uint32 flags, const char* title, const char* message, SDL_Window* window)</code>\r
 <h2>\88ø\90\94</h2>\r
 <table border="1" summary="SDL_ShowSimpleMessageBox">\r
-<tr><td>flags</td><td><a href="SDL_MessageBoxFlag.html">SDL_MessageBoxFlag</a> (\8fÚ\8d×\82ð\8eQ\8fÆ\82·\82é\82±\82Æ)</td></td></tr>\r
+<tr><td>flags</td><td>SDL_MessageBoxFlag (\8fÚ\8d×\82ð\8eQ\8fÆ\82·\82é\82±\82Æ)</td></td></tr>\r
 <tr><td>title</td><td>\83^\83C\83g\83\8b\82ÌUTF-8\95\8e\9a\97ñ</td></tr>\r
 <tr><td>message</td><td>\83\81\83b\83Z\81[\83W\82ÌUTF-8\95\8e\9a\97ñ</td></tr>\r
 <tr><td>window</td><td>\90e\83E\83B\83\93\83h\83E, NULL\82Ì\82Æ\82«\90e\83E\83B\83\93\83h\83E\82ð\8e\9d\82½\82È\82¢</td></tr>\r
 <h2>\96ß\82è\92l</h2>\r
 \90¬\8c÷\82Ì\82Æ\82«0, \8e¸\94s\82Ì\82Æ\82«\95\89\82Ì\90\94\82Ì\83G\83\89\81[\83R\81[\83h\82ð\96ß\82·.\r
 <a href="SDL_GetError.html">SDL_GetError()</a>\82ð\8cÄ\82ñ\82Å\8fÚ\8d×\82ð\92m\82é\82±\82Æ\82ª\82Å\82«\82é.\r
+<h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>\r
+<p>\r
+<code>\r
+<pre>\r
+SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, \r
+                         "\83t\83@\83C\83\8b\82ª\8e¸\82í\82ê\82Ä\82¢\82é",\r
+                         "\83t\83@\83C\83\8b\82ª\8e¸\82í\82ê\82Ä\82¢\82Ü\82·\81B\83v\83\8d\83O\83\89\83\80\82ð\8dÄ\83C\83\93\83X\83g\81[\83\8b\82µ\82Ä\82­\82¾\82³\82¢\81B",\r
+                         NULL);\r
+</pre>\r
+</code>\r
+</p>\r
 <h2>\8fÚ\8d×</h2>\r
 <p>\r
 flag\82Í\88È\89º\82Ì\92l\82Å\82 \82é.\r