Graphviz 13.0.0~dev.20241220.2304
|
Go to the source code of this file.
Functions | |
static int | get_mouse_mode (const char *s) |
static int | get_button (const char *s) |
static int | get_view_mode (const char *s) |
static int | get_mouse_button (const char *s) |
static int | get_drag (const char *s) |
void | load_mouse_actions (ViewInfo *v) |
int | get_mode (ViewInfo *v) |
|
static |
Definition at line 47 of file hotkeymap.c.
References B_LCTRL, B_LSHIFT, B_RCTRL, B_RSHIFT, GUI_FULLSCREEN, _ViewInfo::guiMode, and view.
Referenced by load_mouse_actions().
|
static |
Definition at line 108 of file hotkeymap.c.
Referenced by load_mouse_actions().
int get_mode | ( | ViewInfo * | v | ) |
Definition at line 166 of file hotkeymap.c.
References mouse_action_t::action, topview::active, _ViewInfo::active_camera, mouse_action_t::drag, glCompMouse::dragX, glCompMouse::dragY, topview::fisheyeParams, mouse_action_t::hotkey, _ViewInfo::keyVal, mouse_action_t::mode, _ViewInfo::mouse, _ViewInfo::mouse_action_count, _ViewInfo::mouse_actions, SIZE_MAX, smyrna_2D, smyrna_3D, smyrna_all, smyrna_all_but_fisheye, smyrna_fisheye, glCompMouse::t, _ViewInfo::Topview, and mouse_action_t::type.
Referenced by apply_actions(), drawRotatingAxis(), and set_options().
|
static |
Definition at line 96 of file hotkeymap.c.
References glMouseLeftButton, glMouseMiddleButton, and glMouseRightButton.
Referenced by load_mouse_actions().
|
static |
Definition at line 15 of file hotkeymap.c.
References MM_FISHEYE_MAGNIFIER, MM_FISHEYE_PICK, MM_MAGNIFIER, MM_MOVE, MM_PAN, MM_POLYGON_SELECT, MM_RECTANGULAR_SELECT, MM_RECTANGULAR_X_SELECT, MM_ROTATE, MM_SINGLE_SELECT, and MM_ZOOM.
Referenced by load_mouse_actions().
|
static |
Definition at line 81 of file hotkeymap.c.
References smyrna_2D, smyrna_3D, smyrna_all, smyrna_all_but_fisheye, and smyrna_fisheye.
Referenced by load_mouse_actions().
void load_mouse_actions | ( | ViewInfo * | v | ) |
Definition at line 115 of file hotkeymap.c.
References mouse_action_t::action, mouse_action_t::drag, free(), get_button(), get_drag(), get_mouse_button(), get_mouse_mode(), get_view_mode(), gv_recalloc(), mouse_action_t::hotkey, mouse_action_t::index, mouse_action_t::mode, _ViewInfo::mouse_action_count, _ViewInfo::mouse_actions, NULL, smyrnaPath(), and mouse_action_t::type.
Referenced by init_viewport().