viewer/evnts.h

Go to the documentation of this file.
00001 
00019 #ifndef           EVNTS_H
00020 #define           EVNTS_H
00021 
00022 #include          "grphics.h"
00023 
00024 extern DLLSYM EVENT_HANDLER win_selection_handler;
00025 
00026 DLLSYM WINDOW await_selection(              /*wait for selection */
00027                               WINDOW win,   /*window to wait on */
00028                               BOOL8 wait,   /*waiting flag */
00029                               float &xmin,  /*coords of selection */
00030                               float &ymin,  /*coords of selection */
00031                               float &xmax,  /*coords of selection */
00032                               float &ymax   /*coords of selection */
00033                              );
00034 DLLSYM WINDOW await_click(             /*wait for click */
00035                           WINDOW win,  /*window to wait on */
00036                           BOOL8 wait,  /*waiting flag */
00037                           float &x,    /*coords of click */
00038                           float &y     /*coords of click */
00039                          );
00040 DLLSYM WINDOW await_key(             /*wait for key */
00041                         WINDOW win,  /*window to wait on */
00042                         BOOL8 wait,  /*waiting flag */
00043                         char &c      /*return character */
00044                        );
00045 DLLSYM WINDOW def_await_event(                           /*wait for event */
00046                               WINDOW win,                /*window to wait on */
00047                               BOOL8 wait,                /*waiting flag */
00048                               INT8 event_type,           /*type to wait for */
00049                               GRAPHICS_EVENT *out_event  /*output event */
00050                              );
00051 #endif

Generated on Wed Feb 28 19:49:12 2007 for Tesseract by  doxygen 1.5.1