1 |
|
2005-01-06 Marco Gerards <metgerards@student.han.nl> |
2 |
|
|
3 |
|
* Makefile (SRCS): Add `vcons-move-mouse.c' and `vcons-event.c'. |
4 |
|
* cons.h (mouse_movement): New enum. |
5 |
|
(mouse_button): Likewise. |
6 |
|
(mouse_event): New struct. |
7 |
|
(mouse_event_t): New type. |
8 |
|
(cons_vcons_set_mousecursor_pos): New prototype. |
9 |
|
(cons_vcons_set_mousecursor_status): Likewise. |
10 |
|
(cons_vcons_move_mouse): Likewise. |
11 |
|
* file-changed.c (cons_S_file_changed): Generate the |
12 |
|
`CONS_EVT_OUTPUT' event, in case there was output. |
13 |
|
* opts-std-startup.c (OPT_MOUSE_SHOW, OPT_MOUSE_HIDE) |
14 |
|
(OPT_MOUSE_SENS, DEFAULT_MOUSE_SENS, DEFAULT_MOUSE_SENS_STRING): |
15 |
|
New macros. |
16 |
|
(_cons_show_mouse, _cons_hide_mouse, _cons_mouse_sens): New |
17 |
|
variables. |
18 |
|
(startup_options): Add the options `--mouse-show-on', |
19 |
|
`--mouse-hide-on' and `--mouse-sensitivity'. |
20 |
|
(parse_startup_opt): Parse the options that were added to |
21 |
|
`startup_options' using the new local function `parse_events'. |
22 |
|
* priv.h (CONS_EVT_MOUSE_MOVE, CONS_EVT_MOUSE_BUTTON) |
23 |
|
(CONS_EVT_KEYPRESS, CONS_EVT_OUTPUT): New macros. |
24 |
|
(_cons_show_mouse, _cons_hide_mouse, _cons_mouse_sens): New |
25 |
|
declarations. |
26 |
|
(_cons_vcons_input): New prototype. |
27 |
|
(_cons_vcons_console_event): Likewise. |
28 |
|
* vcons-event.c: New file. |
29 |
|
* vcons-move-mouse.c: Likewise. |
30 |
|
* vcons-input.c (_cons_vcons_input): New function. |
31 |
|
(cons_vcons_input): Rewritten to use _cons_vcons_input and report |
32 |
|
the `CONS_EVT_KEYPRESS' event. |
33 |
|
* vcons-refresh.c: Include "priv.h". |
34 |
|
(cons_vcons_refresh): Report the `CONS_EVT_OUTPUT' event. |
35 |
|
* vcons-scrollback.c: Include "priv.h". |
36 |
|
(cons_vcons_scrollback): Report the `CONS_EVT_OUTPUT' event. |
37 |
|
|
38 |
2003-08-16 Marco Gerards <metgerards@student.han.nl> |
2003-08-16 Marco Gerards <metgerards@student.han.nl> |
39 |
|
|
40 |
* cons.h (cons_vcons_set_dimension): Fix typo. |
* cons.h (cons_vcons_set_dimension): Fix typo. |