| version 1.2, 2004/01/23 14:35:45 | version 1.5, 2005/03/12 12:36:13 | 
| Line 10 | Line 10 | 
 | * 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 31 | 
 |  |  | 
 | #include "sysmng.h" | #include "sysmng.h" | 
 |  |  | 
| #if (USE_GTK + USE_QT + USE_SDL) > 1 | #if (USE_GTK + USE_GTK2 + USE_QT + USE_SDL + USE_X11) > 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_GTK > 0 || USE_GTK2 > 0 | 
 | { >k_toolkit, }, | { >k_toolkit, }, | 
 |  | #endif | 
 |  | #if USE_QT > 0 | 
 | { &qt_toolkit, }, | { &qt_toolkit, }, | 
 |  | #endif | 
 |  | #if USE_SDL > 0 | 
 | { &sdl_toolkit, }, | { &sdl_toolkit, }, | 
 |  | #endif | 
 |  | #if USE_X11 > 0 | 
 |  | { &x11_toolkit, }, | 
 |  | #endif | 
 | }; | }; | 
 |  |  | 
 | void | void | 
| Line 66  toolkit_initialize(void) | Line 73  toolkit_initialize(void) | 
 | toolkitp = >k_toolkit; | toolkitp = >k_toolkit; | 
 | } | } | 
 |  |  | 
| #endif  /* USE_GTK + USE_QT + USE_SDL > 1 */ | #endif  /* USE_GTK + USE_QT + USE_SDL + USE_X11 > 1 */ | 
 |  |  | 
 | void | void | 
 | toolkit_msgbox(const char *title, const char *msg) | toolkit_msgbox(const char *title, const char *msg) |