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

123

/external/webkit/Source/WebCore/platform/haiku/
H A DPlatformMouseEventHaiku.cpp44 int32 buttons = 0; local
46 message->FindInt32("previous buttons", &buttons);
48 message->FindInt32("buttons", &buttons);
50 if (buttons & B_PRIMARY_MOUSE_BUTTON)
52 else if (buttons & B_SECONDARY_MOUSE_BUTTON)
54 else if (buttons & B_TERTIARY_MOUSE_BUTTON)
/external/qemu/distrib/sdl-1.2.15/src/joystick/dc/
H A DSDL_sysjoystick.c36 #define MAX_BUTTONS 8 /* and 8 buttons */
128 int buttons,prev_buttons,i,changed; local
133 buttons = cond.buttons;
135 changed = buttons^prev_buttons;
139 if (buttons&CONT_DPAD_UP) hat|=SDL_HAT_UP;
140 if (buttons&CONT_DPAD_DOWN) hat|=SDL_HAT_DOWN;
141 if (buttons&CONT_DPAD_LEFT) hat|=SDL_HAT_LEFT;
142 if (buttons&CONT_DPAD_RIGHT) hat|=SDL_HAT_RIGHT;
147 if (buttons
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
H A DSDL_dcevents.c71 int buttons,changed; local
76 buttons = cond.buttons^0xff;
77 if (cond.dz<0) buttons|=MOUSE_WHEELUP;
78 if (cond.dz>0) buttons|=MOUSE_WHEELDOWN;
82 changed = buttons^prev_buttons;
85 SDL_PrivateMouseButton((buttons & sdl_mousebtn[i])?SDL_PRESSED:SDL_RELEASED,i,0,0);
88 prev_buttons = buttons;
/external/webkit/Source/WebCore/platform/qt/
H A DPlatformMouseEventQt.cpp58 if (event->button() == Qt::LeftButton || (event->buttons() & Qt::LeftButton))
60 else if (event->button() == Qt::RightButton || (event->buttons() & Qt::RightButton))
62 else if (event->button() == Qt::MidButton || (event->buttons() & Qt::MidButton))
113 if (me->button() == Qt::LeftButton || (me->buttons() & Qt::LeftButton))
115 else if (me->button() == Qt::RightButton || (me->buttons() & Qt::RightButton))
117 else if (me->button() == Qt::MidButton || (me->buttons() & Qt::MidButton))
/external/qemu/distrib/sdl-1.2.15/src/joystick/
H A DSDL_sysjoystick.h45 int nbuttons; /* Number of buttons on the joystick */
46 Uint8 *buttons; /* Current button states */ member in struct:_SDL_Joystick
H A DSDL_joystick.c141 joystick->buttons = (Uint8 *)SDL_malloc
147 || ((joystick->nbuttons > 0) && !joystick->buttons)) {
165 if ( joystick->buttons ) {
166 SDL_memset(joystick->buttons, 0,
256 * Get the number of buttons on a joystick
343 state = joystick->buttons[button];
345 SDL_SetError("Joystick only has %d buttons",joystick->nbuttons);
394 if ( joystick->buttons ) {
395 SDL_free(joystick->buttons);
550 joystick->buttons[butto
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Djs_modal_dialog_gtk.cc53 GtkButtonsType buttons = GTK_BUTTONS_NONE; local
60 buttons = GTK_BUTTONS_NONE;
67 // buttons. We add the buttons using gtk_dialog_add_button below.
68 buttons = GTK_BUTTONS_NONE;
70 buttons = GTK_BUTTONS_CANCEL;
76 buttons = GTK_BUTTONS_CANCEL;
89 GTK_DIALOG_MODAL, message_type, buttons, "%s",
117 // Adjust buttons/action area as needed.
/external/qemu/distrib/sdl-1.2.15/src/joystick/beos/
H A DSDL_bejoystick.cc122 /* Get the number of buttons, hats, and axes on the joystick */
165 uint32 buttons; local
176 buttons = stick->ButtonValues();
195 if ( (buttons&0x01) != joystick->buttons[i] ) {
196 SDL_PrivateJoystickButton(joystick, i, (buttons&0x01));
198 buttons >>= 1;
/external/qemu/distrib/sdl-1.2.15/src/joystick/riscos/
H A DSDL_sysjoystick.c30 and that there is one joystick with four buttons.
97 /* Don't know how to get exact count of buttons so assume max of 4 for now */
141 int buttons = (regs.r[0] & 0xFF0000) >> 16; local
146 if ((buttons & (1<<i)) != (oldbuttons & (1<<i)))
148 if (buttons & (1<<i)) SDL_PrivateJoystickButton(joystick,i,SDL_PRESSED);
/external/quake/quake/src/WinQuake/
H A Din_dos.cpp42 long buttons; member in struct:__anon12312
73 long buttons; // r/o
203 regs.x.ax = 3; // read buttons
248 extern_buttonstate = extern_control->buttons;
446 int oldbuttons, buttons; local
461 buttons = ((dos_inportb(0x201) >> 4)&1)^1;
462 if (buttons != oldbuttons)
464 oldbuttons = buttons;
467 } while ( !buttons);
481 buttons
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysevents.cc251 int32 buttons; local
253 if (msg->FindInt32("buttons", &buttons) == B_OK) {
255 if (buttons & B_PRIMARY_MOUSE_BUTTON) {
258 if (buttons & B_SECONDARY_MOUSE_BUTTON) {
261 if (buttons & B_TERTIARY_MOUSE_BUTTON) {
266 last_buttons = buttons;
274 only state of buttons (after release, so it's always = 0),
282 int32 buttons; local
284 if (msg->FindInt32("buttons",
[all...]
/external/webkit/Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/
H A Dmain.css118 #nav-buttons {
122 #nav-buttons button {
128 #nav-buttons button:active {
133 #nav-buttons button[disabled] {
237 #action-buttons {
241 #action-buttons .link {
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/
H A DSDL_sysevents.cc56 uint32 buttons;
64 /* Check out the mouse buttons and position (slight race condition) */
77 view->GetMouse(&point, &buttons, true);
81 buttons = last_buttons;
134 if ( (buttons ^ last_buttons) & button_masks[i] ) {
135 if ( buttons & button_masks[i] ) {
142 last_buttons = buttons;
/external/qemu/android/skin/
H A Dfile.h49 SkinButton* buttons; member in struct:SkinPart
55 SkinButton* __button = (part)->buttons; \
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_events.c117 int i, buttons; local
160 buttons = ph2sdl_mousebutton(pointerEvent->buttons);
161 if (buttons != 0)
163 posted = SDL_PrivateMouseButton(SDL_PRESSED, buttons, 0, 0);
171 buttons = ph2sdl_mousebutton(pointerEvent->buttons);
172 if (phevent->subtype == Ph_EV_RELEASE_REAL && buttons != 0)
174 posted = SDL_PrivateMouseButton(SDL_RELEASED, buttons, 0, 0);
186 posted = SDL_PrivateMouseButton(SDL_RELEASED, buttons,
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/
H A DSDL_vglevents.c101 char buttons; local
109 buttons = mouseinfo.u.data.buttons;
119 state_changed = button_state ^ buttons;
122 if (buttons & (1<<i)) {
/external/webkit/Tools/CSSTestSuiteHarness/harness/
H A Dharness.css81 .action-buttons {
295 .overlay-contents .buttons {
303 .overlay-contents .buttons button {
/external/quake/quake/src/QW/client/
H A Dprotocol.h279 byte buttons; member in struct:usercmd_s
/external/chromium/chrome/browser/resources/picasaweb_uploader/js/
H A Dupload_page.js59 var buttons = document.querySelectorAll('.cancel-button');
60 for (var i = 0; i < buttons.length; i++) {
61 buttons[i].addEventListener('click', this.close_.bind(this));
/external/webkit/Source/WebKit2/Shared/qt/
H A DWebEventFactoryQt.cpp44 if (event->button() == Qt::LeftButton || (event->buttons() & Qt::LeftButton))
46 else if (event->button() == Qt::RightButton || (event->buttons() & Qt::RightButton))
48 else if (event->button() == Qt::MidButton || (event->buttons() & Qt::MidButton))
/external/chromium/chrome/browser/resources/options/chromeos/
H A Dinternet_options_page.css188 #internetPage[accesslocked] #wireless-buttons,
215 #wireless-buttons > * > button {
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
H A Dbookmark_bar_folder_controller.h22 // A controller for the pop-up windows from bookmark folder buttons
46 // Bookmark bar folder controllers own their buttons. When doing
65 // Our buttons. We do not have buttons for nested folders.
74 // The main view of this window (where the buttons go) within the scroller.
129 // Precalculated sum of left and right edge padding of buttons in a
176 // Re-layout the window menu in case some buttons were added or removed,
212 - (NSArray*)buttons;
/external/webkit/Source/WebCore/platform/efl/
H A DPlatformMouseEventEfl.cpp81 , m_button(MouseButton(event->buttons - 1))
/external/eigen/demos/mandelbrot/
H A Dmandelbrot.cpp175 if( event->buttons() & Qt::LeftButton )
192 if( event->buttons() & Qt::LeftButton )
/external/webkit/Tools/QtTestBrowser/
H A Dwebview.cpp250 setProperty("mouseButtons", QVariant::fromValue(int(event->buttons())));
258 setProperty("mouseButtons", QVariant::fromValue(int(event->buttons())));

Completed in 2912 milliseconds

123