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(
00027 WINDOW win,
00028 BOOL8 wait,
00029 float &xmin,
00030 float &ymin,
00031 float &xmax,
00032 float &ymax
00033 );
00034 DLLSYM WINDOW await_click(
00035 WINDOW win,
00036 BOOL8 wait,
00037 float &x,
00038 float &y
00039 );
00040 DLLSYM WINDOW await_key(
00041 WINDOW win,
00042 BOOL8 wait,
00043 char &c
00044 );
00045 DLLSYM WINDOW def_await_event(
00046 WINDOW win,
00047 BOOL8 wait,
00048 INT8 event_type,
00049 GRAPHICS_EVENT *out_event
00050 );
00051 #endif