|
|
| version 1.10, 2007/01/10 15:55:27 | version 1.11, 2007/01/10 18:02:21 |
|---|---|
| Line 43 typedef struct { | Line 43 typedef struct { |
| void toolkit_msgbox(const char *title, const char *msg); | void toolkit_msgbox(const char *title, const char *msg); |
| #if (USE_GTK + USE_GTK2 + USE_SDL) > 1 | #if (USE_GTK2 + USE_SDL) > 1 |
| extern gui_toolkit_t* toolkitp; | extern gui_toolkit_t* toolkitp; |
| Line 58 void toolkit_initialize(void); | Line 58 void toolkit_initialize(void); |
| #define toolkit_set_window_title(s) (*toolkitp->set_window_title)(s) | #define toolkit_set_window_title(s) (*toolkitp->set_window_title)(s) |
| #define toolkit_messagebox(t,m) (*toolkitp->messagebox)(t,m) | #define toolkit_messagebox(t,m) (*toolkitp->messagebox)(t,m) |
| #elif USE_GTK > 0 || USE_GTK2 > 0 | #elif USE_GTK2 > 0 |
| #if USE_GTK2 > 0 | |
| #include "gtk2/gtk_toolkit.h" | #include "gtk2/gtk_toolkit.h" |
| #elif USE_GTK > 0 | |
| #include "gtk/gtk_toolkit.h" | |
| #endif | |
| #define toolkit_initialize() | #define toolkit_initialize() |
| #define toolkit_terminate() | #define toolkit_terminate() |
| Line 94 void toolkit_initialize(void); | Line 90 void toolkit_initialize(void); |
| #else | #else |
| #error need to defined USE_GTK or USE_SDL !!! | #error need to defined USE_GTK2 or USE_SDL !!! |
| #endif | #endif |