pcb 4.1.1
An interactive printed circuit board layout editor.
|
#include "resource.h"
Go to the source code of this file.
Defines | |
#define | M_Shift 1 |
#define | M_Ctrl 2 |
#define | M_Mod(n) (1<<(n+1)) |
#define | M_Alt M_Mod(1) |
#define | M_Multi M_Mod(2) |
#define | M_Release (~((unsigned)-1>>1)) |
Functions | |
void | load_mouse_resource (const Resource *res) |
void | do_mouse_action (int button, int mods) |
#define M_Alt M_Mod(1) |
Definition at line 10 of file hid_resource.h.
Referenced by DumpKeys2(), lesstif_key_event(), note_accelerator(), parse_mods(), and work_area_input().
#define M_Ctrl 2 |
Definition at line 8 of file hid_resource.h.
Referenced by DumpKeys2(), lesstif_key_event(), note_accelerator(), parse_mods(), and work_area_input().
Definition at line 9 of file hid_resource.h.
Referenced by parse_mods().
#define M_Multi M_Mod(2) |
Definition at line 11 of file hid_resource.h.
Referenced by acc_sort(), acc_sort_rev(), find_or_create_acc(), lesstif_key_event(), and note_accelerator().
#define M_Release (~((unsigned)-1>>1)) |
Definition at line 12 of file hid_resource.h.
Referenced by find_best_action(), ghid_port_button_release_cb(), parse_mods(), and work_area_input().
#define M_Shift 1 |
Definition at line 7 of file hid_resource.h.
Referenced by DumpKeys2(), lesstif_key_event(), note_accelerator(), parse_mods(), and work_area_input().
void do_mouse_action | ( | int | button, |
int | mods | ||
) |
Definition at line 184 of file hid_resource.c.
References action, button_count, button_nums, Resource::c, find_best_action(), hid_parse_actions(), mod_count, Resource::v, and ResourceVal::value.
Referenced by ghid_port_button_press_cb(), ghid_port_button_release_cb(), ghid_port_window_mouse_scroll_cb(), and work_area_input().
void load_mouse_resource | ( | const Resource * | res | ) |
Definition at line 83 of file hid_resource.c.
References action_count, button_count, button_name_to_num(), button_nums, Resource::c, m, malloc(), mod_count, mods, ResourceVal::name, parse_mods(), res_wrap(), resource_dump(), resource_type, ResourceVal::subres, Resource::v, and ResourceVal::value.
Referenced by ghid_load_menus(), and lesstif_menu().