Main Page | Class List | Directories | File List | Class Members | File Members

gocr_gui.h

Go to the documentation of this file.
00001 /*
00002 GOCR Copyright (C) 2000  Joerg Schulenburg Joerg.Schulenburg@physik.uni-magdeburg.de 
00003 GOCR API Copyright (C) 2001 Bruno Barberi Gnecco <brunobg@sourceforge.net>
00004 
00005 This program is free software; you can redistribute it and/or
00006 modify it under the terms of the GNU General Public License
00007 as published by the Free Software Foundation; either version 2
00008 of the License, or (at your option) any later version.
00009 
00010 This program is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 GNU General Public License for more details.
00014 
00015 You should have received a copy of the GNU General Public License
00016 along with this program; if not, write to the Free Software
00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00018 
00019 */
00020 
00021 #ifndef _GOCR_GUI_H
00022 #define _GOCR_GUI_H
00023 
00024 #ifndef _GOCR_MODULE_H
00025 # error "Do not call gocr_gui.h directly; call gocr_module.h instead."
00026 #endif.
00027 
00028 #ifdef __cplusplus
00029 extern "C" {
00030 #endif
00031 
00040 extern int gocr_guiBeginWindow ( wchar_t *title, wchar_t **buttons );
00041 extern int gocr_guiEndWindow ( void );
00042 extern int gocr_guiDisplayCheckButton ( wchar_t *description, wchar_t *value,
00043                int *result );
00044 extern int gocr_guiDisplayImage ( gocr_Image *image );
00045 extern int gocr_guiDisplayRadioButtons ( wchar_t *description, wchar_t **values,
00046                int *result );
00047 extern int gocr_guiDisplaySpinButton ( wchar_t *description, float min, 
00048                 float max, float step, float *result );
00049 extern int gocr_guiDisplayText ( wchar_t *text );
00050 extern int gocr_guiDisplayTextField ( wchar_t *description, wchar_t **result );
00051 
00053 #ifdef __cplusplus
00054 }
00055 #endif
00056 
00057 #endif

Generated on Tue Oct 25 04:13:04 2005 for GOCR API by  doxygen 1.4.4