HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UI_KeyBindings.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COMMAND_KEY_BIT   0x40000000
 
#define OTHER_KEY_BIT   0x20000000
 
#define ARROW_KEY_BIT   0x10000000
 
#define FUNCTION_KEY_BIT   0x08000000
 
#define ALT_KEY_BIT   0x04000000
 
#define CTRL_KEY_BIT   0x02000000
 
#define SHIFT_KEY_BIT   0x01000000
 
#define CONFLICT_KEY_BIT   0x00800000
 
#define CONFLICT_ANCESTOR_KEY_BIT   0x00400000
 
#define CONFLICT_DESCENDANT_KEY_BIT   0x00200000
 
#define CHARACTER_BITS   0x001FFFFF
 
#define SPECIAL_BITS   (~CHARACTER_BITS)
 
#define MODIFIER_BITS   (SHIFT_KEY_BIT|CTRL_KEY_BIT|ALT_KEY_BIT|COMMAND_KEY_BIT)
 
#define KEY_IS_ALTED(key)   ((key) & ALT_KEY_BIT)
 
#define KEY_IS_CTRLED(key)   ((key) & CTRL_KEY_BIT)
 
#define KEY_IS_SHIFTED(key)   ((key) & SHIFT_KEY_BIT)
 
#define KEY_IS_COMMANDED(key)   ((key) & COMMAND_KEY_BIT)
 
#define KEY_IS_ARROW(key)   ((key) & ARROW_KEY_BIT)
 
#define KEY_IS_OTHER(key)   ((key) & OTHER_KEY_BIT)
 
#define KEY_IS_FUNCTION(key)   ((key) & FUNCTION_KEY_BIT)
 
#define KEY_CHAR_ONLY(key)   ((key) & CHARACTER_BITS)
 
#define KEY_SPECIAL_ONLY(key)   ((key) & SPECIAL_BITS)
 
#define KEY_NO_CONFLICT(key)   ((key) & ~(CONFLICT_KEY_BIT | CONFLICT_ANCESTOR_KEY_BIT | CONFLICT_DESCENDANT_KEY_BIT))
 
#define KEY_HAS_MODIFIERS(key)   (((key) & MODIFIER_BITS)!=0)
 
#define ALT_KEY(key)   ((key) | ALT_KEY_BIT)
 
#define CTRL_KEY(key)   ((key) | CTRL_KEY_BIT)
 
#define SHIFT_KEY(key)   ((key) | SHIFT_KEY_BIT)
 
#define COMMAND_KEY(key)   ((key) | COMMAND_KEY_BIT)
 
#define OTHER_KEY(key)   ((key) | OTHER_KEY_BIT)
 
#define ARROW_KEY(key)   ((key) | ARROW_KEY_BIT)
 
#define FUNCTION_KEY(key)   ((key) | FUNCTION_KEY_BIT)
 
#define NO_ALT_KEY(key)   ((key) & ~ALT_KEY_BIT)
 
#define NO_CTRL_KEY(key)   ((key) & ~CTRL_KEY_BIT)
 
#define NO_SHIFT_KEY(key)   ((key) & ~SHIFT_KEY_BIT)
 
#define NO_COMMAND_KEY(key)   ((key) & ~COMMAND_KEY_BIT)
 
#define NO_MODIFIER_KEY(key)   (((key) & MODIFIER_BITS)==0)
 
#define BACKSPACE_KEY   0x08
 
#define DELETE_KEY   0x7F
 
#define RETURN_KEY   0x0A
 
#define ENTER_KEY   0x0D
 
#define ESC_KEY   0x1B
 
#define TAB_KEY   0x09
 
#define KEYCMP(symbol)   (UI_Object::keycmp(symbol,key))
 
#define KEYCMP_SILENT(symbol)   (UI_Object::keycmp(symbol, key, UI_HotkeyEcho::theNullEcho))
 
#define KEYCMP_CUSTOM_ECHO(symbol, echo)   (UI_Object::keycmp(symbol, key, echo))
 
#define UI_CMD_CUT   "h.cut"
 
#define UI_CMD_COPY   "h.copy"
 
#define UI_CMD_PASTE   "h.paste"
 
#define UI_CMD_UNDO   "h.undo"
 
#define UI_CMD_REDO   "h.redo"
 
#define UI_CMD_FIND   "h.find"
 
#define UI_CMD_IFIELD_EDITOR   "inputfield.editor"
 
#define UI_CMD_IFIELD_UNDO   "inputfield.undo"
 
#define UI_CMD_IFIELD_HOME   "inputfield.home"
 
#define UI_CMD_IFIELD_END   "inputfield.end"
 
#define UI_CMD_IFIELD_UP   "inputfield.up"
 
#define UI_CMD_IFIELD_DOWN   "inputfield.down"
 
#define UI_CMD_IFIELD_PREV   "inputfield.prev"
 
#define UI_CMD_IFIELD_NEXT   "inputfield.next"
 
#define UI_CMD_IFIELD_SELECT_HOME   "inputfield.select_home"
 
#define UI_CMD_IFIELD_SELECT_END   "inputfield.select_end"
 
#define UI_CMD_IFIELD_SELECT_UP   "inputfield.select_up"
 
#define UI_CMD_IFIELD_SELECT_DOWN   "inputfield.select_down"
 
#define UI_CMD_IFIELD_SELECT_PREV   "inputfield.select_prev"
 
#define UI_CMD_IFIELD_SELECT_NEXT   "inputfield.select_next"
 
#define UI_CMD_IFIELD_SELECT_ALL   "inputfield.select_all"
 
#define UI_CMD_IFIELD_BACKTAB   "inputfield.backtab"
 
#define UI_CMD_IFIELD_JUMP_TO_MATCH   "inputfield.jump_match"
 
#define UI_CMD_IFIELD_CONTEXT_HELP   "inputfield.context_help"
 
#define UI_CMD_IFIELD_PREV_WORD   "inputfield.prev_word"
 
#define UI_CMD_IFIELD_NEXT_WORD   "inputfield.next_word"
 
#define UI_CMD_IFIELD_SELECT_PREV_WORD   "inputfield.select_prev_word"
 
#define UI_CMD_IFIELD_SELECT_NEXT_WORD   "inputfield.select_next_word"
 
#define UI_CMD_IFIELD_AUTOCOMPLETE   "inputfield.autocomplete"
 
#define UI_CMD_TXTPORT_PAGEUP   "h.pane.textport.pageup"
 
#define UI_CMD_TXTPORT_PAGEDOWN   "h.pane.textport.pagedown"
 
#define UI_CMD_TXTPORT_TOP   "h.pane.textport.top"
 
#define UI_CMD_TXTPORT_BOTTOM   "h.pane.textport.bottom"
 
#define UI_CMD_TXTPORT_FIRSTLINE   "h.pane.textport.firstline"
 
#define UI_CMD_TXTPORT_LASTLINE   "h.pane.textport.lastline"
 
#define UI_CMD_TXTPORT_SELECTPAGEUP   "h.pane.textport.selectpageup"
 
#define UI_CMD_TXTPORT_SELECTPAGEDOWN   "h.pane.textport.selectpagedown"
 
#define UI_CMD_TXTPORT_SELECTTOP   "h.pane.textport.selecttop"
 
#define UI_CMD_TXTPORT_SELECTBOTTOM   "h.pane.textport.selectbottom"
 
#define UI_CMD_TXTPORT_SELECTFIRSTLINE   "h.pane.textport.selectfirstline"
 
#define UI_CMD_TXTPORT_SELECTLASTLINE   "h.pane.textport.selectlastline"
 
#define UI_CMD_TXTPORT_EDITOR   "h.pane.textport.editor"
 
#define UI_CMD_TXTPORT_MATCH_PAREN   "h.pane.textport.match_paren"
 
#define UI_CMD_TXTPORT_SEARCH_AND_REPLACE   "h.pane.textport.search_and_replace"
 
#define UI_CMD_TXTPORT_JUMP_TO_LINE   "h.pane.textport.jump_to_line"
 
#define UI_CMD_TXTPORT_COMMENT_OUT   "h.pane.textport.comment_out"
 
#define UI_CMD_TXTPORT_UNCOMMENT   "h.pane.textport.uncomment"
 
#define UI_CMD_CONTEXT_HELP   "h.context_help"
 

Macro Definition Documentation

#define ALT_KEY (   key)    ((key) | ALT_KEY_BIT)

Definition at line 41 of file UI_KeyBindings.h.

#define ALT_KEY_BIT   0x04000000

Definition at line 18 of file UI_KeyBindings.h.

#define ARROW_KEY (   key)    ((key) | ARROW_KEY_BIT)

Definition at line 46 of file UI_KeyBindings.h.

#define ARROW_KEY_BIT   0x10000000

Definition at line 16 of file UI_KeyBindings.h.

#define BACKSPACE_KEY   0x08

Definition at line 56 of file UI_KeyBindings.h.

#define CHARACTER_BITS   0x001FFFFF

Definition at line 24 of file UI_KeyBindings.h.

#define COMMAND_KEY (   key)    ((key) | COMMAND_KEY_BIT)

Definition at line 44 of file UI_KeyBindings.h.

#define COMMAND_KEY_BIT   0x40000000

Definition at line 14 of file UI_KeyBindings.h.

#define CONFLICT_ANCESTOR_KEY_BIT   0x00400000

Definition at line 22 of file UI_KeyBindings.h.

#define CONFLICT_DESCENDANT_KEY_BIT   0x00200000

Definition at line 23 of file UI_KeyBindings.h.

#define CONFLICT_KEY_BIT   0x00800000

Definition at line 21 of file UI_KeyBindings.h.

#define CTRL_KEY (   key)    ((key) | CTRL_KEY_BIT)

Definition at line 42 of file UI_KeyBindings.h.

#define CTRL_KEY_BIT   0x02000000

Definition at line 19 of file UI_KeyBindings.h.

#define DELETE_KEY   0x7F

Definition at line 57 of file UI_KeyBindings.h.

#define ENTER_KEY   0x0D

Definition at line 59 of file UI_KeyBindings.h.

#define ESC_KEY   0x1B

Definition at line 60 of file UI_KeyBindings.h.

#define FUNCTION_KEY (   key)    ((key) | FUNCTION_KEY_BIT)

Definition at line 47 of file UI_KeyBindings.h.

#define FUNCTION_KEY_BIT   0x08000000

Definition at line 17 of file UI_KeyBindings.h.

#define KEY_CHAR_ONLY (   key)    ((key) & CHARACTER_BITS)

Definition at line 36 of file UI_KeyBindings.h.

#define KEY_HAS_MODIFIERS (   key)    (((key) & MODIFIER_BITS)!=0)

Definition at line 39 of file UI_KeyBindings.h.

#define KEY_IS_ALTED (   key)    ((key) & ALT_KEY_BIT)

Definition at line 28 of file UI_KeyBindings.h.

#define KEY_IS_ARROW (   key)    ((key) & ARROW_KEY_BIT)

Definition at line 33 of file UI_KeyBindings.h.

#define KEY_IS_COMMANDED (   key)    ((key) & COMMAND_KEY_BIT)

Definition at line 31 of file UI_KeyBindings.h.

#define KEY_IS_CTRLED (   key)    ((key) & CTRL_KEY_BIT)

Definition at line 29 of file UI_KeyBindings.h.

#define KEY_IS_FUNCTION (   key)    ((key) & FUNCTION_KEY_BIT)

Definition at line 35 of file UI_KeyBindings.h.

#define KEY_IS_OTHER (   key)    ((key) & OTHER_KEY_BIT)

Definition at line 34 of file UI_KeyBindings.h.

#define KEY_IS_SHIFTED (   key)    ((key) & SHIFT_KEY_BIT)

Definition at line 30 of file UI_KeyBindings.h.

#define KEY_NO_CONFLICT (   key)    ((key) & ~(CONFLICT_KEY_BIT | CONFLICT_ANCESTOR_KEY_BIT | CONFLICT_DESCENDANT_KEY_BIT))

Definition at line 38 of file UI_KeyBindings.h.

#define KEY_SPECIAL_ONLY (   key)    ((key) & SPECIAL_BITS)

Definition at line 37 of file UI_KeyBindings.h.

#define KEYCMP (   symbol)    (UI_Object::keycmp(symbol,key))
Examples:
SOP/MSS_BrushHairLen.C.

Definition at line 63 of file UI_KeyBindings.h.

#define KEYCMP_CUSTOM_ECHO (   symbol,
  echo 
)    (UI_Object::keycmp(symbol, key, echo))

Definition at line 71 of file UI_KeyBindings.h.

#define KEYCMP_SILENT (   symbol)    (UI_Object::keycmp(symbol, key, UI_HotkeyEcho::theNullEcho))

Definition at line 67 of file UI_KeyBindings.h.

#define MODIFIER_BITS   (SHIFT_KEY_BIT|CTRL_KEY_BIT|ALT_KEY_BIT|COMMAND_KEY_BIT)

Definition at line 26 of file UI_KeyBindings.h.

#define NO_ALT_KEY (   key)    ((key) & ~ALT_KEY_BIT)

Definition at line 49 of file UI_KeyBindings.h.

#define NO_COMMAND_KEY (   key)    ((key) & ~COMMAND_KEY_BIT)

Definition at line 52 of file UI_KeyBindings.h.

#define NO_CTRL_KEY (   key)    ((key) & ~CTRL_KEY_BIT)

Definition at line 50 of file UI_KeyBindings.h.

#define NO_MODIFIER_KEY (   key)    (((key) & MODIFIER_BITS)==0)

Definition at line 53 of file UI_KeyBindings.h.

#define NO_SHIFT_KEY (   key)    ((key) & ~SHIFT_KEY_BIT)

Definition at line 51 of file UI_KeyBindings.h.

#define OTHER_KEY (   key)    ((key) | OTHER_KEY_BIT)

Definition at line 45 of file UI_KeyBindings.h.

#define OTHER_KEY_BIT   0x20000000

Definition at line 15 of file UI_KeyBindings.h.

#define RETURN_KEY   0x0A

Definition at line 58 of file UI_KeyBindings.h.

#define SHIFT_KEY (   key)    ((key) | SHIFT_KEY_BIT)

Definition at line 43 of file UI_KeyBindings.h.

#define SHIFT_KEY_BIT   0x01000000

Definition at line 20 of file UI_KeyBindings.h.

#define SPECIAL_BITS   (~CHARACTER_BITS)

Definition at line 25 of file UI_KeyBindings.h.

#define TAB_KEY   0x09

Definition at line 61 of file UI_KeyBindings.h.

#define UI_CMD_CONTEXT_HELP   "h.context_help"

Definition at line 131 of file UI_KeyBindings.h.

#define UI_CMD_COPY   "h.copy"

Definition at line 79 of file UI_KeyBindings.h.

#define UI_CMD_CUT   "h.cut"

Definition at line 78 of file UI_KeyBindings.h.

#define UI_CMD_FIND   "h.find"

Definition at line 83 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_AUTOCOMPLETE   "inputfield.autocomplete"

Definition at line 108 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_BACKTAB   "inputfield.backtab"

Definition at line 101 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_CONTEXT_HELP   "inputfield.context_help"

Definition at line 103 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_DOWN   "inputfield.down"

Definition at line 91 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_EDITOR   "inputfield.editor"

Definition at line 86 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_END   "inputfield.end"

Definition at line 89 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_HOME   "inputfield.home"

Definition at line 88 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_JUMP_TO_MATCH   "inputfield.jump_match"

Definition at line 102 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_NEXT   "inputfield.next"

Definition at line 93 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_NEXT_WORD   "inputfield.next_word"

Definition at line 105 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_PREV   "inputfield.prev"

Definition at line 92 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_PREV_WORD   "inputfield.prev_word"

Definition at line 104 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_SELECT_ALL   "inputfield.select_all"

Definition at line 100 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_SELECT_DOWN   "inputfield.select_down"

Definition at line 97 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_SELECT_END   "inputfield.select_end"

Definition at line 95 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_SELECT_HOME   "inputfield.select_home"

Definition at line 94 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_SELECT_NEXT   "inputfield.select_next"

Definition at line 99 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_SELECT_NEXT_WORD   "inputfield.select_next_word"

Definition at line 107 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_SELECT_PREV   "inputfield.select_prev"

Definition at line 98 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_SELECT_PREV_WORD   "inputfield.select_prev_word"

Definition at line 106 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_SELECT_UP   "inputfield.select_up"

Definition at line 96 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_UNDO   "inputfield.undo"

Definition at line 87 of file UI_KeyBindings.h.

#define UI_CMD_IFIELD_UP   "inputfield.up"

Definition at line 90 of file UI_KeyBindings.h.

#define UI_CMD_PASTE   "h.paste"

Definition at line 80 of file UI_KeyBindings.h.

#define UI_CMD_REDO   "h.redo"

Definition at line 82 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_BOTTOM   "h.pane.textport.bottom"

Definition at line 114 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_COMMENT_OUT   "h.pane.textport.comment_out"

Definition at line 127 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_EDITOR   "h.pane.textport.editor"

Definition at line 123 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_FIRSTLINE   "h.pane.textport.firstline"

Definition at line 115 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_JUMP_TO_LINE   "h.pane.textport.jump_to_line"

Definition at line 126 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_LASTLINE   "h.pane.textport.lastline"

Definition at line 116 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_MATCH_PAREN   "h.pane.textport.match_paren"

Definition at line 124 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_PAGEDOWN   "h.pane.textport.pagedown"

Definition at line 112 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_PAGEUP   "h.pane.textport.pageup"

Definition at line 111 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_SEARCH_AND_REPLACE   "h.pane.textport.search_and_replace"

Definition at line 125 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_SELECTBOTTOM   "h.pane.textport.selectbottom"

Definition at line 120 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_SELECTFIRSTLINE   "h.pane.textport.selectfirstline"

Definition at line 121 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_SELECTLASTLINE   "h.pane.textport.selectlastline"

Definition at line 122 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_SELECTPAGEDOWN   "h.pane.textport.selectpagedown"

Definition at line 118 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_SELECTPAGEUP   "h.pane.textport.selectpageup"

Definition at line 117 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_SELECTTOP   "h.pane.textport.selecttop"

Definition at line 119 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_TOP   "h.pane.textport.top"

Definition at line 113 of file UI_KeyBindings.h.

#define UI_CMD_TXTPORT_UNCOMMENT   "h.pane.textport.uncomment"

Definition at line 128 of file UI_KeyBindings.h.

#define UI_CMD_UNDO   "h.undo"

Definition at line 81 of file UI_KeyBindings.h.