|
|
| version 1.1, 2004/07/14 16:01:40 | version 1.2, 2004/07/15 14:24:33 |
|---|---|
| Line 39 typedef struct { | Line 39 typedef struct { |
| int lastmouse; // working | int lastmouse; // working |
| short mousex; | short mousex; |
| short mousey; | short mousey; |
| BYTE mouseb; | UINT8 mouseb; |
| BYTE mouse_move_ratio; | UINT8 mouse_move_ratio; |
| BYTE mouse_move_mul; | UINT8 mouse_move_mul; |
| BYTE mouse_move_div; | UINT8 mouse_move_div; |
| GdkPixmap *cursor_pixmap; | GdkPixmap *cursor_pixmap; |
| GdkCursor *cursor; | GdkCursor *cursor; |
| Line 118 mouseonoff(int flag) | Line 118 mouseonoff(int flag) |
| } | } |
| } | } |
| BYTE | UINT8 |
| mouse_flag(void) | mouse_flag(void) |
| { | { |
| Line 126 mouse_flag(void) | Line 126 mouse_flag(void) |
| } | } |
| void | void |
| mouse_running(BYTE flg) | mouse_running(UINT8 flg) |
| { | { |
| BYTE mf = ms.mouserunning; | UINT8 mf = ms.mouserunning; |
| switch (flg & 0xc0) { | switch (flg & 0xc0) { |
| case 0x00: | case 0x00: |
| Line 165 mousemng_callback(void) | Line 165 mousemng_callback(void) |
| } | } |
| } | } |
| BYTE | UINT8 |
| mouse_btn(BYTE button) | mouse_btn(UINT8 button) |
| { | { |
| if ((ms.lastmouse & 1) == 0) | if ((ms.lastmouse & 1) == 0) |
| Line 192 mouse_btn(BYTE button) | Line 192 mouse_btn(BYTE button) |
| return 1; | return 1; |
| } | } |
| BYTE | UINT8 |
| mousemng_getstat(short *x, short *y, int clear) | mousemng_getstat(short *x, short *y, int clear) |
| { | { |
| Line 214 mousemng_getstat(short *x, short *y, int | Line 214 mousemng_getstat(short *x, short *y, int |
| } | } |
| void | void |
| mousemng_set_ratio(BYTE new_ratio) | mousemng_set_ratio(UINT8 new_ratio) |
| { | { |
| np2oscfg.mouse_move_ratio = new_ratio; | np2oscfg.mouse_move_ratio = new_ratio; |