Home
last modified time | relevance | path

Searched refs:isPressed (Results 1 – 25 of 1102) sorted by relevance

12345678910>>...45

/dports/games/maxr/maxr-0.2.9/src/ui/graphical/menu/widgets/
H A Dpushbutton.cpp191 src.y = (isPressed || isLocked) ? 29 : 0; in renewSurface()
196 src.y = (isPressed || isLocked) ? 87 : 58; in renewSurface()
200 src.x = (isPressed || isLocked) ? 109 : 0; in renewSurface()
261 src.y = (isPressed || isLocked) ? 0 : 151; in renewSurface()
265 src.x = (isPressed || isLocked) ? 0 : 139; in renewSurface()
281 src.y = (isPressed || isLocked) ? 0 : 172; in renewSurface()
295 src.x = (isPressed || isLocked) ? 22 : 0; in renewSurface()
321 src.y = (isPressed || isLocked) ? 21 : 0; in renewSurface()
325 src.x = (isPressed || isLocked) ? 6 : 15; in renewSurface()
396 if (isPressed || isLocked) return 5; in getTextYOffset()
[all …]
H A Dcheckbox.cpp241 src.x = (checked || isPressed) ? size.x() : 0; in renewSurface()
266 src.x = (checked || isPressed) ? size.x() : 0; in renewSurface()
277 if (!checked && !isPressed) src.x += 167; in renewSurface()
286 if (! (checked || isPressed)) src.x += 167; in renewSurface()
294 if (!checked && !isPressed) src.x += 167; in renewSurface()
299 src.y = (checked || isPressed) ? 298 : 321; in renewSurface()
303 src.x = (checked || isPressed) ? 362 : 334; in renewSurface()
308 src.x = (checked || isPressed) ? 362 : 334; in renewSurface()
313 src.x = (checked || isPressed) ? 160 : 196; in renewSurface()
314 src.y = (checked || isPressed) ? 21 : 129; in renewSurface()
[all …]
H A Dclickablewidget.cpp26 isPressed (false), in cClickableWidget()
34 isPressed (false), in cClickableWidget()
42 isPressed (false), in cClickableWidget()
72 if (isPressed) in handleMouseMoved()
132 if (isPressed) in handleLooseMouseFocus()
153 isPressed = pressed; in setPressed()
/dports/games/cdogs-sdl/cdogs-sdl-1.0.1/src/cdogs/
H A Dkeyboard.c184 …rd->currentKeys[keyboard->PlayerKeys[currentPlayer].up].isPressed = currentPlayerKeys[0].isPressed; in DiagonalHold()
185 …>currentKeys[keyboard->PlayerKeys[currentPlayer].right].isPressed = currentPlayerKeys[1].isPressed; in DiagonalHold()
186 …->currentKeys[keyboard->PlayerKeys[currentPlayer].down].isPressed = currentPlayerKeys[2].isPressed; in DiagonalHold()
187 …->currentKeys[keyboard->PlayerKeys[currentPlayer].left].isPressed = currentPlayerKeys[3].isPressed; in DiagonalHold()
197 if (keyboard->previousKeys[i].isPressed ^ in KeyPostPoll()
198 keyboard->currentKeys[i].isPressed) in KeyPostPoll()
244 keyboard->pressedKeys[i].isPressed = in KeyPostPoll()
245 keyboard->currentKeys[i].isPressed && in KeyPostPoll()
246 !keyboard->previousKeys[i].isPressed; in KeyPostPoll()
259 return k->currentKeys[key].isPressed; in KeyIsDown()
[all …]
/dports/devel/jna/jna-5.7.0/contrib/platform/src/com/sun/jna/platform/
H A DKeyboardUtils.java64 public static boolean isPressed(int keycode, int location) { in isPressed() method in KeyboardUtils
65 return INSTANCE.isPressed(keycode, location); in isPressed()
67 public static boolean isPressed(int keycode) { in isPressed() method in KeyboardUtils
68 return INSTANCE.isPressed(keycode); in isPressed()
72 public abstract boolean isPressed(int keycode, int location); in isPressed() method in KeyboardUtils.NativeKeyboardUtils
73 public boolean isPressed(int keycode) { in isPressed() method in KeyboardUtils.NativeKeyboardUtils
74 return isPressed(keycode, KeyEvent.KEY_LOCATION_UNKNOWN); in isPressed()
113 public boolean isPressed(int keycode, int location) { in isPressed() method in KeyboardUtils.W32KeyboardUtils
119 public boolean isPressed(int keycode, int location) { in isPressed() method in KeyboardUtils.MacKeyboardUtils
153 public boolean isPressed(int keycode, int location) { in isPressed() method in KeyboardUtils.X11KeyboardUtils
/dports/graphics/digikam/digikam-7.4.0/core/tests/facesengine/demo/
H A Ddemobutton.cpp39 : isPressed(false) in Private()
43 bool isPressed; member in FaceEngineDemo::Button::Private
83 if (d->isPressed) in paint()
117 d->isPressed = true; in mousePressEvent()
130 d->isPressed = true; in mouseMoveEvent()
134 d->isPressed = false; in mouseMoveEvent()
145 d->isPressed = false; in mouseReleaseEvent()
/dports/devel/libpololu-avr/libpololu-avr-151002/test/linux-complete-test-cpp/
H A Dleds.cpp10 while(!buttons.isPressed(ALL_BUTTONS)) in test_leds()
20 if(buttons.isPressed(ALL_BUTTONS)) in test_leds()
26 if(buttons.isPressed(ALL_BUTTONS)) in test_leds()
37 if(buttons.isPressed(ALL_BUTTONS)) in test_leds()
44 while(buttons.isPressed(ALL_BUTTONS)); in test_leds()
H A Dqtr.cpp90 while(!OrangutanPushbuttons::isPressed(ALL_BUTTONS)) in test_qtr()
113 while(!OrangutanPushbuttons::isPressed(ALL_BUTTONS)) in test_qtr()
127 while(!OrangutanPushbuttons::isPressed(ALL_BUTTONS)) in test_qtr()
151 while(!OrangutanPushbuttons::isPressed(ALL_BUTTONS)) in test_qtr()
164 while(!OrangutanPushbuttons::isPressed(ALL_BUTTONS)) in test_qtr()
179 while(!OrangutanPushbuttons::isPressed(ALL_BUTTONS)) in test_qtr()
193 while(!OrangutanPushbuttons::isPressed(ALL_BUTTONS)) in test_qtr()
/dports/deskutils/copyq/CopyQ-5.0.0/src/platform/x11/
H A Dx11platformwindow.cpp47 bool isPressed(KeySym key) const in isPressed() function in __anon2aed01610111::KeyPressTester
77 return tester.isPressed(XK_Shift_L) in isModifierPressed()
78 || tester.isPressed(XK_Shift_R) in isModifierPressed()
81 || tester.isPressed(XK_Meta_L) in isModifierPressed()
82 || tester.isPressed(XK_Meta_R) in isModifierPressed()
83 || tester.isPressed(XK_Alt_L) in isModifierPressed()
84 || tester.isPressed(XK_Alt_R) in isModifierPressed()
85 || tester.isPressed(XK_Super_L) in isModifierPressed()
86 || tester.isPressed(XK_Super_R) in isModifierPressed()
87 || tester.isPressed(XK_Hyper_L) in isModifierPressed()
[all …]
/dports/games/afternoonstalker/afternoonstalker-1.1.6/src/
H A DController.h42 return menuKS.isPressed() || pauseKS.isPressed() || joystick.buttonJustPressed(pauseBI); in isMenuRequested()
47 return rightKS.isPressed() || joystick.getXAxisDisplacement() > 0; in isRightRequested()
52 return leftKS.isPressed() || joystick.getXAxisDisplacement() < 0; in isLeftRequested()
57 return upKS.isPressed() || joystick.getYAxisDisplacement() < 0; in isUpRequested()
62 return downKS.isPressed() || joystick.getYAxisDisplacement() > 0; in isDownRequested()
/dports/multimedia/kodi/xbmc-19.3-Matrix/tools/EventClients/Clients/OSXRemote/
H A DXBMCHelper.m111 isPressed:(BOOL)isPressed fromHardwareWithAttributes:(NSMutableDictionary *)attributes
119 if(isPressed)
125 if(isPressed)
131 if(isPressed)
137 if(isPressed)
146 if(isPressed){
152 if(isPressed) {
163 if(isPressed)
169 if(isPressed)
178 if(isPressed) {
[all …]
/dports/graphics/digikam/digikam-7.4.0/core/showfoto/thumbbar/
H A Dshowfotokineticscroller.cpp68 : isPressed (false), in Private()
88 bool isPressed; member in ShowFoto::ShowfotoKineticScroller::Private
164 d->isPressed = true; in eventFilter()
188 if (!d->isMoving && d->isPressed) in eventFilter()
197 else if (d->isPressed) in eventFilter()
217 else if (d->isPressed) in eventFilter()
238 d->isPressed = false; in eventFilter()
272 if (d->isPressed && d->isMoving) in onKineticTimerElapsed()
289 else if (!d->isPressed && d->isMoving) in onKineticTimerElapsed()
/dports/x11-toolkits/redkite/redkite-1.3.1/src/
H A DRkButton.cpp54 bool RkButton::isPressed() const in isPressed() function in RkButton
56 return impl_ptr->isPressed(); in isPressed()
61 if (isPressed() != pressed) { in setPressed()
97 setPressed(!isPressed()); in mouseButtonPressEvent()
98 action toggled(isPressed()); in mouseButtonPressEvent()
100 && !isPressed()) { in mouseButtonPressEvent()
/dports/audio/geonkick-lv2/geonkick-2.8.0/redkite/src/
H A DRkButton.cpp54 bool RkButton::isPressed() const in isPressed() function in RkButton
56 return impl_ptr->isPressed(); in isPressed()
61 if (isPressed() != pressed) { in setPressed()
97 setPressed(!isPressed()); in mouseButtonPressEvent()
98 action toggled(isPressed()); in mouseButtonPressEvent()
100 && !isPressed()) { in mouseButtonPressEvent()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifIconFactory.java114 boolean isPressed = model.isPressed(); in paintIcon()
124 boolean checkToggleIn = ((isPressed && in paintIcon()
127 (isPressed && in paintIcon()
130 boolean uncheckToggleOut = ((isPressed && in paintIcon()
137 boolean checkIn = (!isPressed && in paintIcon()
140 (!isPressed && in paintIcon()
277 boolean isPressed = model.isPressed(); in paintIcon()
282 boolean checkIn = ((isPressed && in paintIcon()
285 (isPressed && in paintIcon()
289 (!isPressed && in paintIcon()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifIconFactory.java114 boolean isPressed = model.isPressed(); in paintIcon()
124 boolean checkToggleIn = ((isPressed && in paintIcon()
127 (isPressed && in paintIcon()
130 boolean uncheckToggleOut = ((isPressed && in paintIcon()
137 boolean checkIn = (!isPressed && in paintIcon()
140 (!isPressed && in paintIcon()
277 boolean isPressed = model.isPressed(); in paintIcon()
282 boolean checkIn = ((isPressed && in paintIcon()
285 (isPressed && in paintIcon()
289 (!isPressed && in paintIcon()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifIconFactory.java114 boolean isPressed = model.isPressed(); in paintIcon()
124 boolean checkToggleIn = ((isPressed && in paintIcon()
127 (isPressed && in paintIcon()
130 boolean uncheckToggleOut = ((isPressed && in paintIcon()
137 boolean checkIn = (!isPressed && in paintIcon()
140 (!isPressed && in paintIcon()
277 boolean isPressed = model.isPressed(); in paintIcon()
282 boolean checkIn = ((isPressed && in paintIcon()
285 (isPressed && in paintIcon()
289 (!isPressed && in paintIcon()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifIconFactory.java114 boolean isPressed = model.isPressed(); in paintIcon()
124 boolean checkToggleIn = ((isPressed && in paintIcon()
127 (isPressed && in paintIcon()
130 boolean uncheckToggleOut = ((isPressed && in paintIcon()
137 boolean checkIn = (!isPressed && in paintIcon()
140 (!isPressed && in paintIcon()
277 boolean isPressed = model.isPressed(); in paintIcon()
282 boolean checkIn = ((isPressed && in paintIcon()
285 (isPressed && in paintIcon()
289 (!isPressed && in paintIcon()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifIconFactory.java106 boolean isPressed = model.isPressed(); in paintIcon()
116 boolean checkToggleIn = ((isPressed && in paintIcon()
119 (isPressed && in paintIcon()
122 boolean uncheckToggleOut = ((isPressed && in paintIcon()
129 boolean checkIn = (!isPressed && in paintIcon()
132 (!isPressed && in paintIcon()
269 boolean isPressed = model.isPressed(); in paintIcon()
274 boolean checkIn = ((isPressed && in paintIcon()
277 (isPressed && in paintIcon()
281 (!isPressed && in paintIcon()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifIconFactory.java106 boolean isPressed = model.isPressed(); in paintIcon()
116 boolean checkToggleIn = ((isPressed && in paintIcon()
119 (isPressed && in paintIcon()
122 boolean uncheckToggleOut = ((isPressed && in paintIcon()
129 boolean checkIn = (!isPressed && in paintIcon()
132 (!isPressed && in paintIcon()
269 boolean isPressed = model.isPressed(); in paintIcon()
274 boolean checkIn = ((isPressed && in paintIcon()
277 (isPressed && in paintIcon()
281 (!isPressed && in paintIcon()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifIconFactory.java114 boolean isPressed = model.isPressed(); in paintIcon()
124 boolean checkToggleIn = ((isPressed && in paintIcon()
127 (isPressed && in paintIcon()
130 boolean uncheckToggleOut = ((isPressed && in paintIcon()
137 boolean checkIn = (!isPressed && in paintIcon()
140 (!isPressed && in paintIcon()
277 boolean isPressed = model.isPressed(); in paintIcon()
282 boolean checkIn = ((isPressed && in paintIcon()
285 (isPressed && in paintIcon()
289 (!isPressed && in paintIcon()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifIconFactory.java114 boolean isPressed = model.isPressed(); in paintIcon()
124 boolean checkToggleIn = ((isPressed && in paintIcon()
127 (isPressed && in paintIcon()
130 boolean uncheckToggleOut = ((isPressed && in paintIcon()
137 boolean checkIn = (!isPressed && in paintIcon()
140 (!isPressed && in paintIcon()
277 boolean isPressed = model.isPressed(); in paintIcon()
282 boolean checkIn = ((isPressed && in paintIcon()
285 (isPressed && in paintIcon()
289 (!isPressed && in paintIcon()
[all …]
/dports/devel/godot2-tools/godot-2.1.6-stable/platform/iphone/
H A Dapp_delegate.mm198 gamepad.buttonA.isPressed);
201 gamepad.buttonB.isPressed);
204 gamepad.buttonX.isPressed);
207 gamepad.buttonY.isPressed);
222 gamepad.dpad.up.isPressed);
260 gamepad.buttonA.isPressed);
263 gamepad.buttonB.isPressed);
266 gamepad.buttonX.isPressed);
269 gamepad.buttonY.isPressed);
278 gamepad.dpad.up.isPressed);
[all …]
/dports/devel/godot2/godot-2.1.6-stable/platform/iphone/
H A Dapp_delegate.mm198 gamepad.buttonA.isPressed);
201 gamepad.buttonB.isPressed);
204 gamepad.buttonX.isPressed);
207 gamepad.buttonY.isPressed);
222 gamepad.dpad.up.isPressed);
260 gamepad.buttonA.isPressed);
263 gamepad.buttonB.isPressed);
266 gamepad.buttonX.isPressed);
269 gamepad.buttonY.isPressed);
278 gamepad.dpad.up.isPressed);
[all …]
/dports/games/easyrpg-player/Player-0.7.0/builds/android/app/src/main/java/org/easyrpg/player/button_mapping/
H A DFastForwardingButton.java19 if (!isPressed) { in onPressed()
20 isPressed = true; in onPressed()
34 if (isPressed) { in onReleased()
35 isPressed = false; in onReleased()

12345678910>>...45