Renamed package to ion1, and made it conflict with package 'ion'.
[ion1.git] / src / input.h
blob3c7fb79f787b2c7bf42ddb36738efc4f50e89fe6
1 /*
2 * ion/input.h
4 * Copyright (c) Tuomo Valkonen 1999-2001.
5 * See the included file LICENSE for details.
6 */
8 #ifndef INPUT_H
9 #define INPUT_H
11 #include "common.h"
13 INTROBJ(WInput)
14 INTRSTRUCT(WInputFuntab)
16 #include "window.h"
18 DECLOBJ(WInput){
19 WWindow win;
20 WRectangle max_geom;
23 extern bool init_input(WInput *input, WWindow *parent, WRectangle geom);
24 extern void deinit_input(WInput *input);
26 extern void input_resize(WInput *input, WRectangle max_geom);
27 extern void input_refit(WInput *input);
28 extern void input_draw(WInput *input, bool complete);
29 extern void input_cancel(WInput *input);
30 extern void input_scrollup(WInput *input);
31 extern void input_scrolldown(WInput *input);
33 #endif /* INPUT_H */