#include <cio.h>

Public Types | |
| enum | button_state_type { BUTTON1 = 0x1, BUTTON1_DBL = 0x2, BUTTON2 = 0x4, BUTTON2_DBL = 0x8, BUTTON3 = 0x10, BUTTON3_DBL = 0x20, BUTTON4 = 0x40, BUTTON4_DBL = 0x80, BUTTON_SCRL_UP = 0x100, BUTTON_SCRL_DN = 0x200 } |
Public Member Functions | |
| c_mouse_event () | |
| c_mouse_event (const coord_def &c, int state=0) | |
| operator bool () const | |
| bool | left_clicked () const |
| bool | right_clicked () const |
| bool | scroll_up () const |
| bool | scroll_down () const |
Public Attributes | |
| coord_def | pos |
| int | bstate |
| c_mouse_event::c_mouse_event | ( | ) | [inline] |
| c_mouse_event::c_mouse_event | ( | const coord_def & | c, | |
| int | state = 0 | |||
| ) | [inline] |
| c_mouse_event::operator bool | ( | ) | const [inline] |
| bool c_mouse_event::left_clicked | ( | ) | const [inline] |
| bool c_mouse_event::right_clicked | ( | ) | const [inline] |
| bool c_mouse_event::scroll_up | ( | ) | const [inline] |
| bool c_mouse_event::scroll_down | ( | ) | const [inline] |
1.5.6