1 /* $Id$Revision: */ 2 /* vim:set shiftwidth=4 ts=8: */ 3 4 /************************************************************************* 5 * Copyright (c) 2011 AT&T Intellectual Property 6 * All rights reserved. This program and the accompanying materials 7 * are made available under the terms of the Eclipse Public License v1.0 8 * which accompanies this distribution, and is available at 9 * http://www.eclipse.org/legal/epl-v10.html 10 * 11 * Contributors: See CVS logs. Details at http://www.graphviz.org/ 12 *************************************************************************/ 13 14 #ifndef GLMOTION_H 15 #define GLMOTION_H 16 17 #include "viewport.h" 18 19 #ifdef __cplusplus 20 extern "C" { 21 #endif 22 23 #if 0 24 void glmotion_main(ViewInfo * v, GdkEventMotion * event, 25 GtkWidget * widget); 26 void glmotion_rotate(ViewInfo * v); 27 void glmotion_adjust_pan(ViewInfo * v, float panx, float pany); 28 void graph_zoom(float real_zoom); 29 #endif 30 31 void glmotion_zoom(ViewInfo * v); 32 void glmotion_pan(ViewInfo * v); 33 void glmotion_zoom_inc(int zoomin); 34 35 #ifdef __cplusplus 36 } /* end extern "C" */ 37 #endif 38 #endif 39