| version 1.2, 2003/11/26 14:55:01 | version 1.4, 2004/07/28 13:53:00 | 
| Line 1 | Line 1 | 
 |  | /*      $Id$    */ | 
 |  |  | 
 | /* | /* | 
 | * Copyright (c) 2003 NONAKA Kimihiro | * Copyright (c) 2003 NONAKA Kimihiro | 
 | * All rights reserved. | * All rights reserved. | 
| Line 31 | Line 33 | 
 | #include <gdk/gdk.h> | #include <gdk/gdk.h> | 
 | #include <gtk/gtk.h> | #include <gtk/gtk.h> | 
 |  |  | 
| extern GtkWidget *window; | #ifdef __cplusplus | 
|  | extern "C" { | 
|  | #endif | 
|  |  | 
|  | 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 gdk_window_set_pointer(GdkWindow *w, 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); | int gdk_window_get_pixmap_format(GdkWindow *w, GdkVisual *visual, pixmap_format_t *fmtp); | 
| GdkPixmap *gdk_pixmap_shpix_new(GdkWindow *window, GdkImage *image, gint width, gint height, gint depth); | GdkPixmap *gdk_pixmap_shpix_new(GdkWindow *w, GdkImage *image, gint width, gint height, gint depth); | 
|  |  | 
|  | #ifdef __cplusplus | 
|  | } | 
|  | #endif | 
 |  |  | 
 | #endif /* NP2_GTK_XNP2_H__ */ | #endif /* NP2_GTK_XNP2_H__ */ |