static void quit(
void *wid, gpointer data){
gtk_main_quit();
}
static void drawArrow(void *wid, gpointer data){
#ifdef PIXMAP_ORIG_VER
cairo_t *cr=gdk_cairo_create(surface->getPixmap());
#else
cairo_t *cr=cairo_create(surface->getSurface());
#endif
cairo_set_source_rgb(cr, 1.,1.,1.);
cairo_set_line_width (cr, 3.);
ca.
draw(cr, 10, 150, 550, 100, .2, 20, 0, 1);
ca.
draw(cr, 250, 380, 200, 200, .2, 20, 0, 0);
ca.
draw(cr, 550, 200, 350, 350, .2, 20, 1, 0);
cairo_destroy(cr);
gtk_widget_queue_draw(surface->getWidget());
}
int main(
int argc,
char *argv[]){
gtk_init( &argc, &argv );
#ifdef PIXMAP_ORIG_VER
#else
#endif
gtk_main();
}