Searched refs:mods (Results 1 – 6 of 6) sorted by relevance
175 uint32 mods = modifiers(); in print_modifiers() local176 if (mods & B_SHIFT_KEY) in print_modifiers()178 if (mods & B_COMMAND_KEY) in print_modifiers()180 if (mods & B_CONTROL_KEY) in print_modifiers()182 if (mods & B_CAPS_LOCK) in print_modifiers()184 if (mods & B_SCROLL_LOCK) in print_modifiers()186 if (mods & B_NUM_LOCK) in print_modifiers()188 if (mods & B_OPTION_KEY) in print_modifiers()190 if (mods & B_MENU_KEY) in print_modifiers()192 if (mods & B_LEFT_SHIFT_KEY) in print_modifiers()[all …]
53 list_modifiers(int mods) in list_modifiers() argument58 if (mods & modifier_bits[i]) { in list_modifiers()74 int32 mods; in main() local79 mods = modifiers(); in main()86 return list_modifiers(mods); in main()103 return (((mods & mask_and) ^ mask_xor) != 0); in main()
179 uint32 mods; in MessageReceived() local180 if (message->FindInt32("modifiers", (int32*)&mods) != B_OK) in MessageReceived()181 mods = modifiers(); in MessageReceived()182 fCurrentState->ModifiersChanged(mods); in MessageReceived()183 fMouseInfo.modifiers = mods; in MessageReceived()
176 uint32 mods = modifiers(); in Invoke() local177 if (mods & B_CONTROL_KEY) { in Invoke()178 TShowHideMenuItem::TeamShowHideCommon((mods & B_SHIFT_KEY) in Invoke()
113 int32 shortcut, mods; in BMenuItem() local116 data->FindInt32("_mods", &mods); in BMenuItem()118 SetShortcut(shortcut, mods); in BMenuItem()
892 uint32 mods; in KeyDown() local897 mods = msg->FindInt32("modifiers"); in KeyDown()943 if ((key[0] == B_DELETE) || (mods & B_CONTROL_KEY)) { in KeyDown()968 if (IsSelectable() && (mods & B_CONTROL_KEY)) { in KeyDown()1019 if (mods & B_CONTROL_KEY) { // ^k kill text from cursor to e-o-line in KeyDown()