Home
last modified time | relevance | path

Searched refs:SDL_BUTTON_LEFT (Results 1 – 25 of 919) sorted by relevance

12345678910>>...37

/dports/games/openxcom/OpenXcom-1.0/src/Basescape/
H A DManufactureInfoState.cpp291 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) _timerMoreEngineer->start(); in moreEngineerPress()
300 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in moreEngineerRelease()
314 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) moreEngineer(1); in moreEngineerClick()
349 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in lessEngineerRelease()
363 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) lessEngineer(1); in lessEngineerClick()
405 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in moreUnitRelease()
424 else if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in moreUnitClick()
449 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) _timerLessUnit->start(); in lessUnitPress()
458 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in lessUnitRelease()
472 || action->getDetails()->button.button == SDL_BUTTON_LEFT) in lessUnitClick()
[all …]
H A DResearchInfoState.cpp231 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) _timerMore->start(); in morePress()
240 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in moreRelease()
256 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in moreClick()
266 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) _timerLess->start (); in lessPress()
275 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in lessRelease()
291 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in lessClick()
H A DManageAlienContainmentState.cpp265 …if (action->getDetails()->button.button == SDL_BUTTON_LEFT && !_timerInc->isRunning()) _timerInc->… in lstItemsRightArrowPress()
274 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in lstItemsRightArrowRelease()
288 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in lstItemsRightArrowClick()
303 …if (action->getDetails()->button.button == SDL_BUTTON_LEFT && !_timerDec->isRunning()) _timerDec->… in lstItemsLeftArrowPress()
312 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in lstItemsLeftArrowRelease()
326 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) in lstItemsLeftArrowClick()
/dports/games/meandmyshadow/meandmyshadow-0.5a/src/
H A DGUIScrollBar.cpp120 …if(event.type==SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT) state=(state&~0x0000… in handleEvents()
122 if(event.type==SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT){ in handleEvents()
134 …if(event.type==SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT) state=(state&~0x0000… in handleEvents()
136 if(event.type==SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT){ in handleEvents()
149 …if(event.type==SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT) state=(state&~0x0000… in handleEvents()
151 if(event.type==SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT){ in handleEvents()
164 …if(event.type==SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT) state=(state&~0x0000… in handleEvents()
166 if(event.type==SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT){ in handleEvents()
173 …if(event.type==SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT) state=(state&~0x0000… in handleEvents()
175 if(event.type==SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT){ in handleEvents()
H A DGUISlider.cpp105 …if (event.type == SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT) state = (state&~0… in handleEvents()
107 if (event.type == SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT){ in handleEvents()
120 …if (event.type == SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT) state = (state&~0… in handleEvents()
122 if (event.type == SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT){ in handleEvents()
129 …if (event.type == SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT) state = (state&~0… in handleEvents()
131 if (event.type == SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT){ in handleEvents()
/dports/games/jumpnbump/jumpnbump-1.61-7a0a7ab7491680338bb13058adafdfaac03a1f6d/sdl/
H A Dinterrpt.c90 (key_pressed(KEY_PL3_RIGHT) && e.button.button == SDL_BUTTON_LEFT) || in intr_sysupdate()
91 (e.button.button == SDL_BUTTON_LEFT && e.button.button == SDL_BUTTON_RIGHT) || in intr_sysupdate()
98 (key_pressed(KEY_PL3_RIGHT) && e.button.button == SDL_BUTTON_LEFT) || in intr_sysupdate()
104 if(e.button.button == SDL_BUTTON_LEFT) in intr_sysupdate()
123 if(key_pressed(KEY_PL3_JUMP) && (SDL_GetMouseState(NULL, NULL)&SDL_BUTTON(SDL_BUTTON_LEFT))) in intr_sysupdate()
/dports/games/heroes/heroes-0.21/src/media/sdl/
H A Dkeyb.c37 #ifndef SDL_BUTTON_LEFT
38 #define SDL_BUTTON_LEFT 1 macro
81 if (ev->button.button == SDL_BUTTON_LEFT) in handle_mouse_events()
89 if (ev->button.button == SDL_BUTTON_LEFT) in handle_mouse_events()
/dports/audio/klystrack/klystrack-1.7.6-make-fix-12-gfe6e746/klystron/src/gui/
H A Dmouse.c54 if (SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(SDL_BUTTON_LEFT)) in set_repeat_timer()
68 if (event->button.button == SDL_BUTTON_LEFT) in mouse_released()
83 if (event->button.button == SDL_BUTTON_LEFT) in check_event()
118 if (event->motion.state & (SDL_BUTTON(SDL_BUTTON_LEFT)|SDL_BUTTON(SDL_BUTTON_RIGHT))) in check_drag_event()
/dports/games/barony/Barony-3.3.7/src/interface/
H A Dupdaterightsidebar.cpp62 if (mousestatus[SDL_BUTTON_LEFT]) in updateRightSidebar()
64 mousestatus[SDL_BUTTON_LEFT] = 0; in updateRightSidebar()
102 if (mousestatus[SDL_BUTTON_LEFT]) in updateRightSidebar()
104 mousestatus[SDL_BUTTON_LEFT] = 0; in updateRightSidebar()
H A Dupdatechestinventory.cpp137 if ( (mousestatus[SDL_BUTTON_LEFT] || *inputPressed(joyimpulses[INJOY_MENU_USE])) ) in drawChestSlots()
139 mousestatus[SDL_BUTTON_LEFT] = 0; in drawChestSlots()
236 if ( mousestatus[SDL_BUTTON_LEFT] && !selectedItem ) in updateChestInventory()
247 mousestatus[SDL_BUTTON_LEFT] = 0; in updateChestInventory()
257 mousestatus[SDL_BUTTON_LEFT] = 0; in updateChestInventory()
266 mousestatus[SDL_BUTTON_LEFT] = 0; in updateChestInventory()
272 mousestatus[SDL_BUTTON_LEFT] = 0; in updateChestInventory()
280 mousestatus[SDL_BUTTON_LEFT] = 0; in updateChestInventory()
H A Dremovecurse.cpp99 if ( mousestatus[SDL_BUTTON_LEFT] ) in updateRemoveCurseGUI()
108 mousestatus[SDL_BUTTON_LEFT] = 0; in updateRemoveCurseGUI()
118 mousestatus[SDL_BUTTON_LEFT] = 0; in updateRemoveCurseGUI()
127 mousestatus[SDL_BUTTON_LEFT] = 0; in updateRemoveCurseGUI()
135 mousestatus[SDL_BUTTON_LEFT] = 0; in updateRemoveCurseGUI()
250 if ( mousestatus[SDL_BUTTON_LEFT] || *inputPressed(joyimpulses[INJOY_MENU_USE]) ) in updateRemoveCurseGUI()
253 mousestatus[SDL_BUTTON_LEFT] = 0; in updateRemoveCurseGUI()
H A Didentify_and_appraise.cpp107 if ( mousestatus[SDL_BUTTON_LEFT] ) in updateIdentifyGUI()
116 mousestatus[SDL_BUTTON_LEFT] = 0; in updateIdentifyGUI()
126 mousestatus[SDL_BUTTON_LEFT] = 0; in updateIdentifyGUI()
135 mousestatus[SDL_BUTTON_LEFT] = 0; in updateIdentifyGUI()
143 mousestatus[SDL_BUTTON_LEFT] = 0; in updateIdentifyGUI()
269 if ( mousestatus[SDL_BUTTON_LEFT] || *inputPressed(joyimpulses[INJOY_MENU_USE]) ) in updateIdentifyGUI()
272 mousestatus[SDL_BUTTON_LEFT] = 0; in updateIdentifyGUI()
H A Dbookgui.cpp93 if ( mousestatus[SDL_BUTTON_LEFT] ) in updateBookGUI()
98 mousestatus[SDL_BUTTON_LEFT] = 0; in updateBookGUI()
110 mousestatus[SDL_BUTTON_LEFT] = 0; in updateBookGUI()
132 mousestatus[SDL_BUTTON_LEFT] = 0; in updateBookGUI()
/dports/games/openxcom/OpenXcom-1.0/src/Menu/
H A DOptionsBaseState.cpp107 _btnVideo->onMousePress((ActionHandler)&OptionsBaseState::btnGroupPress, SDL_BUTTON_LEFT); in OptionsBaseState()
111 _btnAudio->onMousePress((ActionHandler)&OptionsBaseState::btnGroupPress, SDL_BUTTON_LEFT); in OptionsBaseState()
115 _btnControls->onMousePress((ActionHandler)&OptionsBaseState::btnGroupPress, SDL_BUTTON_LEFT); in OptionsBaseState()
119 _btnGeoscape->onMousePress((ActionHandler)&OptionsBaseState::btnGroupPress, SDL_BUTTON_LEFT); in OptionsBaseState()
123 _btnBattlescape->onMousePress((ActionHandler)&OptionsBaseState::btnGroupPress, SDL_BUTTON_LEFT); in OptionsBaseState()
127 _btnAdvanced->onMousePress((ActionHandler)&OptionsBaseState::btnGroupPress, SDL_BUTTON_LEFT); in OptionsBaseState()
131 _btnMods->onMousePress((ActionHandler)&OptionsBaseState::btnGroupPress, SDL_BUTTON_LEFT); in OptionsBaseState()
/dports/games/freeciv/freeciv-2.6.6/client/gui-sdl/
H A Daction_dialog.c144 if (Main.event.button.button == SDL_BUTTON_LEFT) { in caravan_marketplace_callback()
165 if (Main.event.button.button == SDL_BUTTON_LEFT) { in caravan_establish_trade_callback()
186 if (Main.event.button.button == SDL_BUTTON_LEFT) { in caravan_help_build_wonder_callback()
211 if (Main.event.button.button == SDL_BUTTON_LEFT) { in diplomat_dlg_window_callback()
222 if (Main.event.button.button == SDL_BUTTON_LEFT) { in diplomat_embassy_callback()
243 if (Main.event.button.button == SDL_BUTTON_LEFT) { in diplomat_investigate_callback()
265 if (Main.event.button.button == SDL_BUTTON_LEFT) { in spy_poison_callback()
285 if (Main.event.button.button == SDL_BUTTON_LEFT) { in spy_steal_gold_callback()
327 if (Main.event.button.button == SDL_BUTTON_LEFT) { in diplomat_sabotage_callback()
350 if (Main.event.button.button == SDL_BUTTON_LEFT) { in spy_steal_dlg_window_callback()
[all …]
H A Ddialogs.c264 if (Main.event.button.button == SDL_BUTTON_LEFT) { in notify_goto_dialog_callback()
278 if (Main.event.button.button == SDL_BUTTON_LEFT) { in notify_goto_dialog_close_callback()
294 if (Main.event.button.button == SDL_BUTTON_LEFT) { in notify_goto_dialog_goto_callback()
476 if (Main.event.button.button == SDL_BUTTON_LEFT) { in notify_dialog_window_callback()
487 if (Main.event.button.button == SDL_BUTTON_LEFT) { in exit_notify_dialog_callback()
616 if (Main.event.button.button == SDL_BUTTON_LEFT) { in upgrade_unit_window_callback()
627 if (Main.event.button.button == SDL_BUTTON_LEFT) { in cancel_upgrade_unit_callback()
641 if (Main.event.button.button == SDL_BUTTON_LEFT) { in ok_upgrade_unit_window_callback()
805 if (Main.event.button.button == SDL_BUTTON_LEFT) { in disband_unit_window_callback()
816 if (Main.event.button.button == SDL_BUTTON_LEFT) { in cancel_disband_unit_callback()
[all …]
H A Dpages.c60 if (Main.event.button.button == SDL_BUTTON_LEFT) { in start_new_game_callback()
74 if (Main.event.button.button == SDL_BUTTON_LEFT) { in load_game_callback()
85 if (Main.event.button.button == SDL_BUTTON_LEFT) { in join_game_callback()
96 if (Main.event.button.button == SDL_BUTTON_LEFT) { in servers_callback()
109 if (Main.event.button.button == SDL_BUTTON_LEFT) { in options_callback()
122 if (Main.event.button.button == SDL_BUTTON_LEFT) { in quit_callback()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-sdl/
H A Daction_dialog.c144 if (Main.event.button.button == SDL_BUTTON_LEFT) { in caravan_marketplace_callback()
165 if (Main.event.button.button == SDL_BUTTON_LEFT) { in caravan_establish_trade_callback()
186 if (Main.event.button.button == SDL_BUTTON_LEFT) { in caravan_help_build_wonder_callback()
211 if (Main.event.button.button == SDL_BUTTON_LEFT) { in diplomat_dlg_window_callback()
222 if (Main.event.button.button == SDL_BUTTON_LEFT) { in diplomat_embassy_callback()
243 if (Main.event.button.button == SDL_BUTTON_LEFT) { in diplomat_investigate_callback()
265 if (Main.event.button.button == SDL_BUTTON_LEFT) { in spy_poison_callback()
285 if (Main.event.button.button == SDL_BUTTON_LEFT) { in spy_steal_gold_callback()
327 if (Main.event.button.button == SDL_BUTTON_LEFT) { in diplomat_sabotage_callback()
350 if (Main.event.button.button == SDL_BUTTON_LEFT) { in spy_steal_dlg_window_callback()
[all …]
H A Ddialogs.c264 if (Main.event.button.button == SDL_BUTTON_LEFT) { in notify_goto_dialog_callback()
278 if (Main.event.button.button == SDL_BUTTON_LEFT) { in notify_goto_dialog_close_callback()
294 if (Main.event.button.button == SDL_BUTTON_LEFT) { in notify_goto_dialog_goto_callback()
476 if (Main.event.button.button == SDL_BUTTON_LEFT) { in notify_dialog_window_callback()
487 if (Main.event.button.button == SDL_BUTTON_LEFT) { in exit_notify_dialog_callback()
616 if (Main.event.button.button == SDL_BUTTON_LEFT) { in upgrade_unit_window_callback()
627 if (Main.event.button.button == SDL_BUTTON_LEFT) { in cancel_upgrade_unit_callback()
641 if (Main.event.button.button == SDL_BUTTON_LEFT) { in ok_upgrade_unit_window_callback()
805 if (Main.event.button.button == SDL_BUTTON_LEFT) { in disband_unit_window_callback()
816 if (Main.event.button.button == SDL_BUTTON_LEFT) { in cancel_disband_unit_callback()
[all …]
H A Dpages.c60 if (Main.event.button.button == SDL_BUTTON_LEFT) { in start_new_game_callback()
74 if (Main.event.button.button == SDL_BUTTON_LEFT) { in load_game_callback()
85 if (Main.event.button.button == SDL_BUTTON_LEFT) { in join_game_callback()
96 if (Main.event.button.button == SDL_BUTTON_LEFT) { in servers_callback()
109 if (Main.event.button.button == SDL_BUTTON_LEFT) { in options_callback()
122 if (Main.event.button.button == SDL_BUTTON_LEFT) { in quit_callback()
/dports/games/pioneer/pioneer-20210723/src/gui/
H A DGuiButton.cpp25 if (e->button == SDL_BUTTON_LEFT) { in OnMouseDown()
36 if ((e->button == SDL_BUTTON_LEFT) && m_isPressed) { in OnMouseUp()
65 if (e->button == SDL_BUTTON_LEFT) { in OnRawMouseUp()
/dports/graphics/gource/gource-0.51/src/core/
H A Dmousecursor.cpp119 return ms & SDL_BUTTON(SDL_BUTTON_LEFT); in leftButtonPressed()
129 return (ms & SDL_BUTTON(SDL_BUTTON_RIGHT) && ms & SDL_BUTTON(SDL_BUTTON_LEFT)); in bothPressed()
134 return (ms & SDL_BUTTON(SDL_BUTTON_RIGHT) || ms & SDL_BUTTON(SDL_BUTTON_LEFT)); in buttonPressed()
/dports/sysutils/logstalgia/Logstalgia-logstalgia-1.1.2/src/core/
H A Dmousecursor.cpp119 return ms & SDL_BUTTON(SDL_BUTTON_LEFT); in leftButtonPressed()
129 return (ms & SDL_BUTTON(SDL_BUTTON_RIGHT) && ms & SDL_BUTTON(SDL_BUTTON_LEFT)); in bothPressed()
134 return (ms & SDL_BUTTON(SDL_BUTTON_RIGHT) || ms & SDL_BUTTON(SDL_BUTTON_LEFT)); in buttonPressed()
/dports/games/wesnoth/wesnoth-1.14.17/src/
H A Dmouse_handler_base.cpp110 …minimap_scrolling_ = ((SDL_GetMouseState(nullptr, nullptr) & (SDL_BUTTON(SDL_BUTTON_LEFT) | SDL_BU… in mouse_motion_default()
139 mouse_state = SDL_BUTTON(SDL_BUTTON_LEFT); in mouse_motion_default()
142 if((dragging_left_ && (mouse_state & SDL_BUTTON(SDL_BUTTON_LEFT)) != 0) || in mouse_motion_default()
255 return event.button == SDL_BUTTON_LEFT && !command_active(); in is_left_click()
273 || (event.button == SDL_BUTTON_LEFT && command_active()); in is_right_click()
/dports/devel/sdl20/SDL2-2.0.18/src/video/vita/
H A DSDL_vitamouse.c64 SDL_SendMouseButton(Vita_Window, 0, SDL_RELEASED, SDL_BUTTON_LEFT); in VITA_PollMouse()
66 SDL_SendMouseButton(Vita_Window, 0, SDL_PRESSED, SDL_BUTTON_LEFT); in VITA_PollMouse()

12345678910>>...37