|
ELinks 0.19.1
|
Support for mouse interface. More...
#include <stdlib.h>#include <string.h>#include "elinks.h"#include "config/home.h"#include "config/options.h"#include "dialogs/status.h"#include "intl/libintl.h"#include "main/select.h"#include "main/timer.h"#include "osdep/ascii.h"#include "osdep/osdep.h"#include "session/session.h"#include "terminal/hardio.h"#include "terminal/itrm.h"#include "terminal/kbd.h"#include "terminal/mouse.h"#include "terminal/terminal.h"#include "util/error.h"#include "util/memory.h"#include "util/string.h"#include "util/time.h"
Macros | |
| #define | HPUX_PIPE 1 |
| #define | write_sequence(fd, seq) |
| #define | INIT_TWIN_MOUSE_SEQ "\033[?9h" |
| Send MIT Mouse Row & Column on Button Press. | |
| #define | INIT_XWIN_MOUSE_SEQ "\033[?1000h\033[?1002h\033[?1005l\033[?1015l\033[?1006h" |
| Send Mouse X & Y on button press and release. | |
| #define | INIT_WIN32_MOUSE_SEQ "\033[?1000h\033[?1002h\033[?1006h" |
| #define | DONE_TWIN_MOUSE_SEQ "\033[?9l" |
| Don't Send MIT Mouse Row & Column on Button Press. | |
| #define | DONE_XWIN_MOUSE_SEQ "\033[?1000l\033[?1002l\033[?1006l" |
| Don't Send Mouse X & Y on button press and release. | |
| #define | get_mouse_x_position(itrm, esclen) |
| #define | get_mouse_y_position(itrm, esclen) |
| #define | TW_BUTT_LEFT 1 |
| #define | TW_BUTT_MIDDLE 2 |
| #define | TW_BUTT_RIGHT 4 |
Functions | |
| void | send_mouse_init_sequence (int h) |
| void | send_mouse_done_sequence (int h) |
| void | disable_mouse (void) |
| static int | mouse_lock_exists (void) |
| void | enable_mouse (void) |
| void | toggle_mouse (struct session *ses) |
| static int | decode_mouse_position (struct itrm *itrm, int from) |
| int | decode_terminal_mouse_escape_sequence (struct itrm *itrm, struct interlink_event *ev, int el, int v) |
| int | decode_terminal_mouse_escape_sequence_256 (struct itrm *itrm, struct interlink_event *ev, int el, int v) |
Variables | |
| struct itrm * | ditrm |
| int | mouse_enabled |
| static int | xterm_button = -1 |
Support for mouse interface.
| #define DONE_TWIN_MOUSE_SEQ "\033[?9l" |
Don't Send MIT Mouse Row & Column on Button Press.
| #define DONE_XWIN_MOUSE_SEQ "\033[?1000l\033[?1002l\033[?1006l" |
Don't Send Mouse X & Y on button press and release.
| #define get_mouse_x_position | ( | itrm, | |
| esclen ) |
| #define get_mouse_y_position | ( | itrm, | |
| esclen ) |
| #define HPUX_PIPE 1 |
| #define INIT_TWIN_MOUSE_SEQ "\033[?9h" |
Send MIT Mouse Row & Column on Button Press.
| #define INIT_WIN32_MOUSE_SEQ "\033[?1000h\033[?1002h\033[?1006h" |
| #define INIT_XWIN_MOUSE_SEQ "\033[?1000h\033[?1002h\033[?1005l\033[?1015l\033[?1006h" |
Send Mouse X & Y on button press and release.
| #define TW_BUTT_LEFT 1 |
| #define TW_BUTT_MIDDLE 2 |
| #define TW_BUTT_RIGHT 4 |
| #define write_sequence | ( | fd, | |
| seq ) |
|
static |
| int decode_terminal_mouse_escape_sequence | ( | struct itrm * | itrm, |
| struct interlink_event * | ev, | ||
| int | el, | ||
| int | v ) |
| int decode_terminal_mouse_escape_sequence_256 | ( | struct itrm * | itrm, |
| struct interlink_event * | ev, | ||
| int | el, | ||
| int | v ) |
| void disable_mouse | ( | void | ) |
| void enable_mouse | ( | void | ) |
|
static |
| void send_mouse_done_sequence | ( | int | h | ) |
| void send_mouse_init_sequence | ( | int | h | ) |
| void toggle_mouse | ( | struct session * | ses | ) |
|
extern |
| int mouse_enabled |
|
static |