| version 1.1, 2004/07/14 16:01:40 | version 1.7, 2011/01/15 18:43:14 | 
| 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 28 | Line 26 | 
 | #ifndef NP2_GTK2_XNP2_H__ | #ifndef NP2_GTK2_XNP2_H__ | 
 | #define NP2_GTK2_XNP2_H__ | #define NP2_GTK2_XNP2_H__ | 
 |  |  | 
 |  | #ifndef G_DISABLE_DEPRECATED | 
 |  | #define G_DISABLE_DEPRECATED | 
 |  | #endif | 
 |  |  | 
 |  | #ifndef GLIB_DISABLE_DEPRECATED | 
 |  | #define GLIB_DISABLE_DEPRECATED | 
 |  | #endif | 
 |  |  | 
 |  | #ifndef GDK_DISABLE_DEPRECATED | 
 |  | #define GDK_DISABLE_DEPRECATED | 
 |  | #endif | 
 |  | #ifndef GTK_DISABLE_DEPRECATED | 
 |  | #define GTK_DISABLE_DEPRECATED | 
 |  | #endif | 
 |  |  | 
 | #include <gdk/gdk.h> | #include <gdk/gdk.h> | 
 | #include <gtk/gtk.h> | #include <gtk/gtk.h> | 
 |  |  | 
 |  | #ifdef __cplusplus | 
 |  | extern "C" { | 
 |  | #endif | 
 |  |  | 
 | extern GtkWidget *main_window; | extern GtkWidget *main_window; | 
 | extern GtkWidget *drawarea; | extern GtkWidget *drawarea; | 
 |  |  | 
 |  | typedef struct { | 
 |  | int depth; | 
 |  | int bits_per_pixel; | 
 |  | int scanline_pad; | 
 |  | } pixmap_format_t; | 
 |  |  | 
 | void install_idle_process(void); | void install_idle_process(void); | 
 | void uninstall_idle_process(void); | void uninstall_idle_process(void); | 
 |  |  | 
 | void gdk_window_set_pointer(GdkWindow *window, gint x, gint y); |  | 
 | void gtk_scale_set_default_values(GtkScale *scale); | void gtk_scale_set_default_values(GtkScale *scale); | 
| int is_32bpp(GdkWindow *window); | void gdk_window_set_pointer(GdkWindow *w, gint x, gint y); | 
|  | gboolean gdk_window_get_pixmap_format(GdkWindow *w, GdkVisual *visual, pixmap_format_t *fmtp); | 
|  | gboolean gtk_window_init_fullscreen(GtkWidget *widget); | 
|  | void gtk_window_fullscreen_mode(GtkWidget *widget); | 
|  | void gtk_window_restore_mode(GtkWidget *widget); | 
|  |  | 
|  | #ifdef __cplusplus | 
|  | } | 
|  | #endif | 
 |  |  | 
 | #endif /* NP2_GTK2_XNP2_H__ */ | #endif /* NP2_GTK2_XNP2_H__ */ |