|
|
| version 1.2, 2004/01/23 14:35:45 | version 1.7, 2007/01/10 18:02:21 |
|---|---|
| Line 1 | Line 1 |
| /* $Id$ */ | |
| /* | /* |
| * Copyright (c) 2003 NONAKA Kimihiro | * Copyright (c) 2003 NONAKA Kimihiro |
| * All rights reserved. | * All rights reserved. |
| Line 10 | Line 12 |
| * 2. Redistributions in binary form must reproduce the above copyright | * 2. Redistributions in binary form must reproduce the above copyright |
| * notice, this list of conditions and the following disclaimer in the | * notice, this list of conditions and the following disclaimer in the |
| * documentation and/or other materials provided with the distribution. | * documentation and/or other materials provided with the distribution. |
| * 3. The name of the author may not be used to endorse or promote products | |
| * derived from this software without specific prior written permission. | |
| * | * |
| * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| Line 33 | Line 33 |
| #include "sysmng.h" | #include "sysmng.h" |
| #if (USE_GTK + USE_QT + USE_SDL) > 1 | #if (USE_GTK2 + USE_SDL) > 1 |
| gui_toolkit_t* toolkitp; | gui_toolkit_t* toolkitp; |
| static struct { | static struct { |
| gui_toolkit_t* toolkit; | gui_toolkit_t* toolkit; |
| } toolkit[] = { | } toolkit[] = { |
| #if USE_GTK2 > 0 | |
| { >k_toolkit, }, | { >k_toolkit, }, |
| { &qt_toolkit, }, | #endif |
| #if USE_SDL > 0 | |
| { &sdl_toolkit, }, | { &sdl_toolkit, }, |
| #endif | |
| }; | }; |
| void | void |
| Line 66 toolkit_initialize(void) | Line 69 toolkit_initialize(void) |
| toolkitp = >k_toolkit; | toolkitp = >k_toolkit; |
| } | } |
| #endif /* USE_GTK + USE_QT + USE_SDL > 1 */ | #endif /* USE_GTK2 + USE_SDL > 1 */ |
| void | void |
| toolkit_msgbox(const char *title, const char *msg) | toolkit_msgbox(const char *title, const char *msg) |