Home
last modified time | relevance | path

Searched refs:mods (Results 1 – 6 of 6) sorted by relevance

/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport_ui.cpp175 uint32 mods = modifiers(); in print_modifiers() local
176 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 …]
/haiku/src/bin/
H A Dmodifiers.cpp53 list_modifiers(int mods) in list_modifiers() argument
58 if (mods & modifier_bits[i]) { in list_modifiers()
74 int32 mods; in main() local
79 mods = modifiers(); in main()
86 return list_modifiers(mods); in main()
103 return (((mods & mask_and) ^ mask_xor) != 0); in main()
/haiku/src/apps/icon-o-matic/generic/gui/stateview/
H A DStateView.cpp179 uint32 mods; in MessageReceived() local
180 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()
/haiku/src/apps/deskbar/
H A DTeamMenuItem.cpp176 uint32 mods = modifiers(); in Invoke() local
177 if (mods & B_CONTROL_KEY) { in Invoke()
178 TShowHideMenuItem::TeamShowHideCommon((mods & B_SHIFT_KEY) in Invoke()
/haiku/src/kits/interface/
H A DMenuItem.cpp113 int32 shortcut, mods; in BMenuItem() local
116 data->FindInt32("_mods", &mods); in BMenuItem()
118 SetShortcut(shortcut, mods); in BMenuItem()
/haiku/src/apps/mail/
H A DContent.cpp892 uint32 mods; in KeyDown() local
897 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()