00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
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