ekg2  GIT master
Definicje | Funkcje | Zmienne
Dokumentacja pliku mouse.c
#include "ekg2.h"
#include <gpm.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "nc-stuff.h"
#include "bindings.h"
#include "contacts.h"
#include "input.h"
#include "mouse.h"
#include "statusbar.h"
Wykres zależności załączania dla mouse.c:

Definicje

#define MAGIC_ENABLE_MOUSE_SEQUENCE   "\033[?1001s\033[?1000h"
 
#define MAGIC_DISABLE_MOUSE_SEQUENCE   "\033[?1000l\033[?1001r"
 

Funkcje

void binding_previous_only_history (const char *arg)
 
void binding_next_only_history (const char *arg)
 
static void show_mouse_pointer (void)
 
static gint ncurses_mouse_timer (gint type, gpointer data)
 
static void ncurses_mouse_move_handler (int x, int y)
 
void ncurses_lastlog_mouse_handler (int x, int y, int mouse_state)
 
void ncurses_main_window_mouse_handler (int x, int y, int mouse_state)
 
void ncurses_mouse_clicked_handler (int x, int y, int mouse_flag)
 
static int ncurses_gpm_watch_handler (int type, int fd, watch_type_t watch, void *data)
 
static int ncurses_has_mouse_support (const char *term)
 
static void ncurses_emergency_disable_mouse (void)
 
void ncurses_enable_mouse (const char *env)
 
void ncurses_disable_mouse (void)
 

Zmienne

int mouse_initialized = 0
 

Dokumentacja definicji

◆ MAGIC_DISABLE_MOUSE_SEQUENCE

#define MAGIC_DISABLE_MOUSE_SEQUENCE   "\033[?1000l\033[?1001r"

◆ MAGIC_ENABLE_MOUSE_SEQUENCE

#define MAGIC_ENABLE_MOUSE_SEQUENCE   "\033[?1001s\033[?1000h"

Dokumentacja funkcji

◆ binding_next_only_history()

void binding_next_only_history ( const char *  arg)

◆ binding_previous_only_history()

void binding_previous_only_history ( const char *  arg)

◆ ncurses_disable_mouse()

void ncurses_disable_mouse ( void  )

◆ ncurses_emergency_disable_mouse()

static void ncurses_emergency_disable_mouse ( void  )
static

◆ ncurses_enable_mouse()

void ncurses_enable_mouse ( const char *  env)

◆ ncurses_gpm_watch_handler()

static int ncurses_gpm_watch_handler ( int  type,
int  fd,
watch_type_t  watch,
void *  data 
)
static

◆ ncurses_has_mouse_support()

static int ncurses_has_mouse_support ( const char *  term)
static

◆ ncurses_lastlog_mouse_handler()

void ncurses_lastlog_mouse_handler ( int  x,
int  y,
int  mouse_state 
)

◆ ncurses_main_window_mouse_handler()

void ncurses_main_window_mouse_handler ( int  x,
int  y,
int  mouse_state 
)

◆ ncurses_mouse_clicked_handler()

void ncurses_mouse_clicked_handler ( int  x,
int  y,
int  mouse_flag 
)

◆ ncurses_mouse_move_handler()

static void ncurses_mouse_move_handler ( int  x,
int  y 
)
static

◆ ncurses_mouse_timer()

static gint ncurses_mouse_timer ( gint  type,
gpointer  data 
)
static

◆ show_mouse_pointer()

static void show_mouse_pointer ( void  )
static

Dokumentacja zmiennych

◆ mouse_initialized

int mouse_initialized = 0