bool CWindowListener::OnRButtonDown( guint32 nFlags, double x, double y ){
	if ( CanProcess() ) {
		g_2DView.OnRButtonDown( (int)x, (int)y );
		return true;
	}
	return false;
}
static void button_press( GtkWidget *widget, GdkEventButton *event, gpointer data ){
	if ( CanProcess() ) {
		switch ( event->button )
		{
		case 1:
			g_pManager->OnLButtonDown( event->x, event->y ); break;
		case 3:
			g_2DView.OnRButtonDown( event->x, event->y ); break;
		}
	}
}