Home
last modified time | relevance | path

Searched refs:fModifiers (Results 1 – 23 of 23) sorted by relevance

/haiku/src/add-ons/input_server/devices/keyboard/
H A DKeyboardInputDevice.cpp382 uint32 oldModifiers = fModifiers; in _ControlThread()
385 || (isKeyDown && !(fModifiers & modifiers))) in _ControlThread()
386 fModifiers |= modifiers; in _ControlThread()
388 fModifiers &= ~modifiers; in _ControlThread()
392 if (fModifiers & (B_LEFT_SHIFT_KEY | B_RIGHT_SHIFT_KEY)) in _ControlThread()
393 fModifiers |= B_SHIFT_KEY; in _ControlThread()
394 if (fModifiers & (B_LEFT_COMMAND_KEY | B_RIGHT_COMMAND_KEY)) in _ControlThread()
395 fModifiers |= B_COMMAND_KEY; in _ControlThread()
396 if (fModifiers & (B_LEFT_CONTROL_KEY | B_RIGHT_CONTROL_KEY)) in _ControlThread()
397 fModifiers |= B_CONTROL_KEY; in _ControlThread()
[all …]
H A DKeyboardInputDevice.h61 uint32 fModifiers; variable
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteEventStream.cpp28 fModifiers(0) in RemoteEventStream()
142 event->AddInt32("modifiers", fModifiers); in EventReceived()
189 event->AddInt32("modifiers", fModifiers); in EventReceived()
205 event->AddInt32("be:old_modifiers", fModifiers); in EventReceived()
206 message.Read(fModifiers); in EventReceived()
207 event->AddInt32("modifiers", fModifiers); in EventReceived()
H A DRemoteEventStream.h42 uint32 fModifiers; variable
/haiku/src/kits/interface/
H A DMenuItem.cpp75 fModifiers = modifiers | B_COMMAND_KEY; in BMenuItem()
77 fModifiers = 0; in BMenuItem()
169 status = data->AddInt32("_mods", fModifiers); in Archive()
279 if (fShortcutChar != 0 && (fModifiers & B_COMMAND_KEY) != 0 in SetShortcut()
281 fWindow->RemoveShortcut(fShortcutChar, fModifiers); in SetShortcut()
287 fModifiers = modifiers | B_COMMAND_KEY; in SetShortcut()
289 fModifiers = 0; in SetShortcut()
291 if (fShortcutChar != 0 && (fModifiers & B_COMMAND_KEY) && fWindow) in SetShortcut()
292 fWindow->AddShortcut(fShortcutChar, fModifiers, this); in SetShortcut()
343 *modifiers = fModifiers; in Shortcut()
[all …]
H A DMenu.cpp2636 if (item->fModifiers && item->fShortcutChar) { in _ComputeColumnLayout()
2638 if ((item->fModifiers & B_COMMAND_KEY) != 0) in _ComputeColumnLayout()
2641 if ((item->fModifiers & B_CONTROL_KEY) != 0) in _ComputeColumnLayout()
2644 if ((item->fModifiers & B_SHIFT_KEY) != 0) in _ComputeColumnLayout()
2647 if ((item->fModifiers & B_OPTION_KEY) != 0) in _ComputeColumnLayout()
H A DWindow.cpp112 uint32 fModifiers; member in BWindow::Shortcut
245 fModifiers(PrepareModifiers(modifiers)), in Shortcut()
257 fModifiers(PrepareModifiers(modifiers)), in Shortcut()
275 return fKey == key && fModifiers == modifiers; in Matches()
/haiku/src/preferences/keymap/
H A DKeyboardLayoutView.cpp88 fModifiers(0), in KeyboardLayoutView()
153 fModifiers = modifiers(); in AttachedToWindow()
335 uint8 deadKey = fKeymap->DeadKey(key->code, fModifiers, &isEnabled); in MouseDown()
337 fKeymap->SetDeadKeyEnabled(key->code, fModifiers, !isEnabled); in MouseDown()
347 fModifiers &= ~modifier; in MouseDown()
352 fModifiers |= fKeymap->Modifier(key->code); in MouseDown()
401 if (_HandleDeadKey(key->code, fModifiers) && fDeadKey != 0) in MouseUp()
486 fKeymap->GetChars(key->code, fModifiers, fDeadKey, &string, in MouseMoved()
495 fDragModifiers = fModifiers; in MouseMoved()
524 (fModifiers & indicator->modifier) != 0); in Draw()
[all …]
H A DKeyboardLayoutView.h113 int32 fModifiers; variable
/haiku/src/apps/icon-o-matic/transformable/
H A DPerspectiveBox.cpp49 fModifiers(0), in PerspectiveBox()
138 fCurrentState->DragTo(fMousePos, fModifiers); in MouseMoved()
209 fModifiers = modifiers; in ModifiersChanged()
211 fCurrentState->DragTo(fMousePos, fModifiers); in ModifiersChanged()
H A DTransformBox.cpp51 fModifiers(0), in TransformBox()
169 fCurrentState->DragTo(fMousePos, fModifiers); in MouseMoved()
251 fModifiers = modifiers; in ModifiersChanged()
253 fCurrentState->DragTo(fMousePos, fModifiers); in ModifiersChanged()
H A DPerspectiveBox.h99 uint32 fModifiers; variable
H A DTransformBox.h120 uint32 fModifiers; variable
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DKeyboardProtocolHandler.h50 HIDReportItem * fModifiers[MAX_MODIFIERS]; variable
H A DKeyboardProtocolHandler.cpp99 fModifiers[fModifierCount++] = item; in KeyboardProtocolHandler()
535 HIDReportItem *modifier = fModifiers[i]; in _ReadReport()
/haiku/src/add-ons/input_server/devices/wacom/
H A DTabletDevice.h102 uint32 fModifiers; variable
H A DTabletDevice.cpp49 fModifiers(0), in TabletDevice()
615 fModifiers = modifiers; in SetStatus()
/haiku/headers/os/interface/
H A DMenuItem.h104 uint32 fModifiers; variable
/haiku/src/apps/terminal/
H A DTermView.h360 int32 fModifiers; variable
H A DTermViewStates.cpp472 _CheckEnterHyperLinkState(fView->fModifiers); in WindowActivated()
1014 _UpdateHighlight(where, fView->fModifiers); in _UpdateHighlight()
H A DTermView.cpp2603 fActiveState->MouseDown(where, buttons, fModifiers); in MouseDown()
2615 fActiveState->MouseMoved(where, transit, message, fModifiers); in MouseMoved()
3207 int32 oldModifiers = fModifiers; in _UpdateModifiers()
3208 fModifiers = modifiers(); in _UpdateModifiers()
3209 if (fModifiers != oldModifiers && fActiveState != NULL) in _UpdateModifiers()
3210 fActiveState->ModifiersChanged(oldModifiers, fModifiers); in _UpdateModifiers()
/haiku/src/kits/debugger/debug_info/
H A DDwarfTypes.cpp1229 fModifiers(modifiers), in DwarfModifiedType()
1245 return fModifiers; in Modifiers()
H A DDwarfTypes.h397 uint32 fModifiers; variable