--- np2/x11/gtk2/xnp2.h 2004/07/27 17:07:50 1.2 +++ np2/x11/gtk2/xnp2.h 2007/02/04 11:51:14 1.5 @@ -1,4 +1,4 @@ -/* $Id: xnp2.h,v 1.2 2004/07/27 17:07:50 monaka Exp $ */ +/* $Id: xnp2.h,v 1.5 2007/02/04 11:51:14 monaka Exp $ */ /* * Copyright (c) 2003 NONAKA Kimihiro @@ -12,8 +12,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * 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 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -30,6 +28,17 @@ #ifndef NP2_GTK2_XNP2_H__ #define NP2_GTK2_XNP2_H__ +#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 #include @@ -49,9 +58,12 @@ typedef struct { void install_idle_process(void); void uninstall_idle_process(void); -void gdk_window_set_pointer(GdkWindow *w, gint x, gint y); void gtk_scale_set_default_values(GtkScale *scale); -int gdk_window_get_pixmap_format(GdkWindow *w, GdkVisual *visual, pixmap_format_t *fmtp); +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 }