Main Page   Modules   Compound List   File List   Compound Members   File Members  

image_display.h

Go to the documentation of this file.
00001 
00014 /* This library is free software; you can redistribute it and/or
00015    modify it under the terms of the GNU Lesser General Public
00016    License as published by the Free Software Foundation; either
00017    version 2.1 of the License, or (at your option) any later version.
00018 
00019    This library is distributed in the hope that it will be useful,
00020    but WITHOUT ANY WARRANTY; without even the implied warranty of
00021    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00022    Lesser General Public License for more details.
00023 
00024    You should have received a copy of the GNU Lesser General Public
00025    License along with this library; if not, write to the Free Software
00026    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00027 */
00028 
00029 #ifndef _GAN_IMAGE_GL_DISPLAY_H
00030 #define _GAN_IMAGE_GL_DISPLAY_H
00031 
00032 #include <gandalf/image/image_defs.h>
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037 
00038 #ifdef HAVE_GLUT
00039 
00040 Gan_Bool gan_image_display ( Gan_Image *img );
00041 Gan_Bool gan_display_new_window ( int height, int width, double zoom,
00042                                   char *name, int offset_r, int offset_c,
00043                                   int *window_id );
00044 Gan_Bool gan_display_new_window_array ( int rows, int cols,
00045                                         int height, int width, double zoom,
00046                                         char *name, int offset_r, int offset_c,
00047                                         int *window_id, int **subwindow_id );
00048 Gan_Bool gan_image_display_new_window ( Gan_Image *img, double zoom,
00049                                         char *name, int offset_r, int offset_c,
00050                                         int *window_id );
00051 void gan_image_display_free_windows(void);
00052 
00053 #endif /* #ifdef HAVE_GLUT */
00054 
00055 #ifdef __cplusplus
00056 }
00057 #endif
00058 
00059 #endif /* #ifndef _GAN_IMAGE_GL_DISPLAY_H */

Generated on Mon Oct 13 16:14:32 2003 by doxygen1.3-rc1