Searched refs:buttons (Results 1 - 25 of 201) sorted by relevance

123456789

/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DViewContainer.cpp59 // get mouse buttons and modifiers
60 uint32 buttons; local
62 _GetButtonsAndModifiers(buttons, modifiers);
65 if (!fMouseFocus && (buttons & B_PRIMARY_MOUSE_BUTTON)) {
74 buttons, modifiers);
85 // get mouse buttons and modifiers
86 uint32 buttons;
88 _GetButtonsAndModifiers(buttons, modifiers);
93 buttons, modifiers);
97 if (!(buttons
148 MouseDown(BPoint where, uint32 buttons, int32 modifiers) argument
154 MouseUp(BPoint where, uint32 buttons, int32 modifiers) argument
160 MouseMoved(BPoint where, uint32 buttons, int32 modifiers) argument
166 _GetButtonsAndModifiers(uint32& buttons, int32& modifiers) argument
[all...]
H A DTwoDimensionalSliderView.h29 virtual void MouseDown(BPoint where, uint32 buttons,
31 virtual void MouseUp(BPoint where, uint32 buttons,
33 virtual void MouseMoved(BPoint where, uint32 buttons,
H A DViewContainer.h39 virtual void MouseDown(BPoint where, uint32 buttons,
41 virtual void MouseUp(BPoint where, uint32 buttons,
43 virtual void MouseMoved(BPoint where, uint32 buttons,
47 void _GetButtonsAndModifiers(uint32& buttons,
H A DTwoDimensionalSliderView.cpp88 TwoDimensionalSliderView::MouseDown(BPoint where, uint32 buttons, argument
101 TwoDimensionalSliderView::MouseUp(BPoint where, uint32 buttons, int32 modifiers) argument
103 if (!fDragging || (buttons & B_PRIMARY_MOUSE_BUTTON))
111 TwoDimensionalSliderView::MouseMoved(BPoint where, uint32 buttons, argument
H A DAbstractButton.h36 virtual void MouseDown(BPoint where, uint32 buttons,
38 virtual void MouseUp(BPoint where, uint32 buttons,
40 virtual void MouseMoved(BPoint where, uint32 buttons,
H A DAbstractButton.cpp84 AbstractButton::MouseDown(BPoint where, uint32 buttons, int32 modifiers) argument
95 AbstractButton::MouseUp(BPoint where, uint32 buttons, int32 modifiers) argument
97 if (!fPressed || (buttons & B_PRIMARY_MOUSE_BUTTON))
126 AbstractButton::MouseMoved(BPoint where, uint32 buttons, int32 modifiers) argument
/haiku/src/apps/icon-o-matic/generic/gui/stateview/
H A DViewState.h21 uint32 buttons; member in struct:mouse_info
43 uint32 buttons,
64 { return fMouseInfo->buttons; }
67 { return fMouseInfo->buttons & B_PRIMARY_MOUSE_BUTTON; }
69 { return fMouseInfo->buttons & B_SECONDARY_MOUSE_BUTTON; }
71 { return fMouseInfo->buttons & B_TERTIARY_MOUSE_BUTTON; }
H A DViewState.cpp14 : buttons(0),
73 ViewState::MouseDown(BPoint where, uint32 buttons, uint32 clicks) argument
H A DStateView.cpp196 uint32 buttons;
199 if (!message || message->FindInt32("buttons", (int32*)&buttons) != B_OK)
200 buttons = B_PRIMARY_MOUSE_BUTTON;
205 fCurrentState->MouseDown(where, buttons, clicks);
208 fMouseInfo.buttons = buttons;
240 if (fMouseInfo.buttons != 0)
277 fMouseInfo.buttons = 0;
387 if (fMouseInfo.buttons !
[all...]
/haiku/src/tests/kits/interface/
H A DGetMouseTest.cpp20 ulong buttons; local
22 GetMouse(&mouseWhere, &buttons);
24 } while (buttons != 0);
/haiku/src/apps/cortex/support/
H A DMouseTrackingHelpers.cpp90 uint32 buttons;
91 GetMouse(&point, &buttons);
102 m_pDest->mouseTrackingBegin(this, buttons, point);
112 uint32 buttons; local
113 GetMouse(&point, &buttons, false);
126 m_pDest->mouseTrackingUpdate(buttons, xDelta, yDelta, point);
H A DMouseTrackingHelpers.h65 uint32 buttons,
71 uint32 buttons,
/haiku/src/preferences/shortcuts/
H A DPopUpColumn.cpp40 BRect fieldRect, BPoint point, uint32 buttons)
42 if ((buttons & B_SECONDARY_MOUSE_BUTTON)
43 || (buttons & B_PRIMARY_MOUSE_BUTTON && (fEditable || fCycle))) {
47 if (buttons & B_SECONDARY_MOUSE_BUTTON) {
54 if (buttons & B_PRIMARY_MOUSE_BUTTON && row->IsSelected()) {
73 BStringColumn::MouseDown(parent, row, field, fieldRect, point, buttons);
39 MouseDown(BColumnListView* parent, BRow* row, BField* field, BRect fieldRect, BPoint point, uint32 buttons) argument
H A DPopUpColumn.h26 uint32 buttons);
/haiku/headers/private/input/
H A Dtouchpad_driver.h20 uint8 buttons; member in struct:__anon999
H A Dkeyboard_mouse_driver.h90 uint32 buttons; member in struct:__anon996
102 uint32 buttons; member in struct:__anon997
124 uint8 buttons; member in struct:__anon998
/haiku/src/tests/servers/app/lagging_get_mouse/
H A Dmain.cpp58 uint32 buttons; local
59 GetMouse(&where, &buttons);
61 while (buttons) {
67 GetMouse(&where, &buttons);
/haiku/src/add-ons/input_server/devices/serial_mouse/
H A DSerialMouse.cpp391 mm->buttons = ((data[0] & 0x20) ? kPrimaryButton : 0) +
398 // up to here we've handled "ye olde" 2-buttons MS packet.
399 // There's a 3-buttons extension to it, consisting in sending a
400 // "null packet" (no changes in x/y nor in standard buttons)
404 ((uint8) mm->buttons == (previous_buttons & ~kTertiaryButton))) {
406 mm->buttons = previous_buttons ^ kTertiaryButton;
409 mm->buttons |= previous_buttons & kTertiaryButton;
412 previous_buttons = mm->buttons;
416 // TODO: add support for 4th and 5th buttons?
417 mm->buttons
[all...]
H A DMouseInputDevice.cpp259 LOG("%s: buttons: 0x%lx, x: %ld, y: %ld, clicks:%ld, wheel_x:%ld, \
260 wheel_y:%ld\n", dev->device_ref.name, movements.buttons,
264 // TODO: Apply buttons mapping here.
265 uint32 buttons = buttons_state ^ movements.buttons; local
267 if (movements.buttons) {
277 if (buttons != 0) {
281 message->AddInt32("buttons", movements.buttons);
283 if ((buttons
[all...]
/haiku/src/apps/debuganalyzer/gui/table/
H A DAbstractTable.cpp68 int32 buttons;
71 if (message->FindInt32("buttons", &buttons) != B_OK
76 fTable->ColumnMouseDown(this, row, field, screenWhere, buttons);
94 int32 buttons;
96 if (message->FindInt32("buttons", &buttons) != B_OK
101 fTable->ColumnMouseUp(this, row, field, screenWhere, buttons);
H A DAbstractTable.h59 uint32 buttons) = 0;
62 uint32 buttons) = 0;
86 BPoint point, uint32 buttons);
/haiku/headers/private/device/
H A Djoystick_driver.h27 /* maximum number of buttons on one controller */
34 uint32 buttons; /* lsb to msb, 1 == on */ member in struct:_extended_joystick
63 buttons = (uint32 *)&timestamp[1];
64 axes = (int16 *)&buttons[button_blocks];
84 uint32 * buttons; member in struct:_variable_joystick
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dmovement_maker.cpp370 movement->buttons = 0;
386 if (event->buttons & kLeftButton) {
467 /*! If a button has been clicked (movement->buttons must be set accordingly),
470 Also, it sets the button state from movement->buttons.
476 if (movement->buttons != 0 && fButtonsState == 0) {
485 if (movement->buttons != 0)
488 fButtonsState = movement->buttons;
496 uint32 buttons = event->buttons; local
506 buttons
[all...]
/haiku/src/add-ons/input_server/devices/wacom/
H A DTabletDevice.h37 uint32& buttons,
48 uint32 buttons,
/haiku/src/apps/terminal/
H A DTermViewStates.h37 virtual void MouseDown(BPoint where, int32 buttons,
41 virtual void MouseUp(BPoint where, int32 buttons);
71 virtual void MouseDown(BPoint where, int32 buttons,
93 virtual void MouseUp(BPoint where, int32 buttons);
116 virtual void MouseDown(BPoint where, int32 buttons,

Completed in 267 milliseconds

123456789