/dports/games/toycars/toycars-0.3.10/toycars_vehicle_editor/src/ |
H A D | SpriteView.cpp | 194 glVertex2d(mousex, mousey); in draw() 195 glVertex2d(mousex, mousey); in draw() 219 mousex = o->getFrontAxel(); in draw() 223 glVertex2d(mousex, 0); in draw() 229 settingInput->value(mousex); in draw() 235 mousex = -o->getRearAxel(); in draw() 239 glVertex2d(mousex, 0); in draw() 245 settingInput->value(-mousex); in draw() 285 mousex -= o->getFrontAxel(); in draw() 317 mousex = o->getRearWheelRadius(); in draw() [all …]
|
/dports/games/ags/ags_linux_v.3.4.4.1/Engine/platform/dos/device/ |
H A D | mouse32.cpp | 128 mousex=urr.x.cx; in mgetgraphpos() 135 if (vesa_xres==960) mousex=(mousex*3)/2; in mgetgraphpos() 141 if (mousex>=vesa_xres) mousex=vesa_xres-1; in mgetgraphpos() 146 if (mousex < boundx1) mousex = boundx1; in mgetgraphpos() 148 if (mousex >= boundx2) mousex = boundx2 - 1; in mgetgraphpos() 173 mousex-=hotx; mousey-=hoty; in domouse() 174 if (mousex+poow>=vesa_xres) poow=vesa_xres-mousex; in domouse() 180 savebk=wnewblock(mousex,mousey,mousex+poow,mousey+pooh); in domouse() 186 savebk=wnewblock(mousex,mousey,mousex+poow,mousey+pooh); in domouse() 200 if ((mousex>=lf) & (mousex<=rt) & (mousey>=tp) & (mousey<=bt)) return TRUE; in ismouseinbox() [all …]
|
/dports/audio/goattracker/goattracker-2.76/src/ |
H A D | goattrk2.c | 861 if ((mousex >= 40+10) && (mousex <= 41+10)) in mousecommands() 892 if ((mousex >= 0) && (mousex <= 5)) in mousecommands() 897 if ((mousex >= 7) && (mousex <= 15)) in mousecommands() 902 if ((mousex >= 17) && (mousex <= 26)) in mousecommands() 907 if ((mousex >= 28) && (mousex <= 33)) in mousecommands() 909 if ((mousex >= 35) && (mousex <= 40)) in mousecommands() 911 if ((mousex >= 42) && (mousex <= 47)) in mousecommands() 913 if ((mousex >= 49) && (mousex <= 57)) in mousecommands() 915 if ((mousex >= 59) && (mousex <= 64)) in mousecommands() 917 if ((mousex >= 66) && (mousex <= 72)) in mousecommands() [all …]
|
/dports/emulators/x16-rom/x16-rom-r38/kernal/drivers/x16/ |
H A D | ps2mouse.s | 158 adc mousex 159 sta mousex 166 sta mousex+1 188 lda mousex+1 190 cpx mousex+1 192 cpy mousex 201 cpy mousex 203 sty mousex 237 lda mousex 248 lda mousex [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ags/engine/device/ |
H A D | mouse_w32.cpp | 60 …(_G(mousex) < _G(boundx1) || _G(mousey) < _G(boundy1) || _G(mousex) > _G(boundx2) || _G(mousey) > … in mgetgraphpos() 61 _G(mousex) = CLIP(_G(mousex), _G(boundx1), _G(boundx2)); in mgetgraphpos() 63 msetgraphpos(_G(mousex), _G(mousey)); in mgetgraphpos() 81 _G(mousex) = _G(real_mouse_x); in mgetgraphpos() 87 …(_G(mousex) < _G(boundx1) || _G(mousey) < _G(boundy1) || _G(mousex) > _G(boundx2) || _G(mousey) > … in mgetgraphpos() 88 _G(mousex) = Math::Clamp(_G(mousex), _G(boundx1), _G(boundx2)); in mgetgraphpos() 90 msetgraphpos(_G(mousex), _G(mousey)); in mgetgraphpos() 111 _G(mousex) -= _G(hotx); in domouse() 114 if (_G(mousex) + poow >= viewport.GetWidth()) in domouse() 115 poow = viewport.GetWidth() - _G(mousex); in domouse() [all …]
|
/dports/games/openssn/openssn/src/ |
H A D | main.cpp | 2277 if(mousex > 224 && mousex < 257){ in HandleInput() 2283 if(mousex > 224 && mousex < 257){ in HandleInput() 2289 if(mousex > 224 && mousex < 257){ in HandleInput() 2295 if(mousex > 175 && mousex < 210){ in HandleInput() 2301 if(mousex > 275 && mousex < 310){ in HandleInput() 2307 if(mousex >175 && mousex < 210){ in HandleInput() 2313 if(mousex >275 && mousex < 310){ in HandleInput() 2322 if(mousex > 105 && mousex < 512){ in HandleInput() 2329 if(mousex > 748 && mousex < 795){ in HandleInput() 2336 if(mousex > 795 && mousex < 842){ in HandleInput() [all …]
|
H A D | menu.cpp | 175 int mousex, mousey; in Menu_Input() local 188 mousex = event.button.x; in Menu_Input() 190 if ( (mousex > 540) && (mousex < 885) && in Menu_Input() 193 else if ( (mousex > 540) && (mousex < 885) && in Menu_Input() 196 else if ( (mousex > 440) && (mousex < 475) && in Menu_Input() 199 else if ( (mousex > 920) && (mousex < 960) && in Menu_Input()
|
/dports/games/ags/ags_linux_v.3.4.4.1/Engine/device/ |
H A D | mousew32.cpp | 111 (mousex < boundx1 || mousey < boundy1 || mousex > boundx2 || mousey > boundy2)) in mgetgraphpos() 113 mousex = Math::Clamp(boundx1, boundx2, mousex); in mgetgraphpos() 115 msetgraphpos(mousex, mousey); in mgetgraphpos() 171 mousex = real_mouse_x; in mgetgraphpos() 175 (mousex < boundx1 || mousey < boundy1 || mousex > boundx2 || mousey > boundy2)) in mgetgraphpos() 177 mousex = Math::Clamp(boundx1, boundx2, mousex); in mgetgraphpos() 179 msetgraphpos(mousex, mousey); in mgetgraphpos() 183 Mouse::AdjustPosition(mousex, mousey); in mgetgraphpos() 206 mousex -= hotx; in domouse() 215 mousex += hotx; in domouse() [all …]
|
/dports/audio/din/din-52/src/ |
H A D | mouse_slider.cc | 47 axl.set_pos (mousex - szn_1, py); in update_x_arrows() 48 axr.set_pos (mousex + szn, py); in update_x_arrows() 52 int px = mousex - sz_2; in update_y_arrows() 68 pts[2]=mousex; pts[3]=mouseyy; in draw() 173 if (mousex < lowx || mousex > highx) { in handle_input() 175 initx = prevx = mousex; in handle_input() 190 mousex += wheel; in handle_input() 193 dx = mousex - prevx; in handle_input() 219 prevx = mousex; in handle_input() 248 prevx = mousex; in activate() [all …]
|
H A D | viewwin.cc | 93 mousex += dpan; in panx() 115 extern int mousex, mousey; in locate_mouse() 116 view2win (mousex, mousey, window::mousex, window::mousey, view, *this); in locate_mouse() 117 prev_mousex = mousex; in locate_mouse() 122 extern int mousex, mousey; in update_mouse() 123 mousex_prev = window::mousex; in update_mouse() 125 window::mousex += (mousex - prev_mousex) * vwx; in update_mouse() 127 prev_mousex = mousex; in update_mouse() 132 dx = mousex - mousex_prev; in diff_mouse()
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/ |
H A D | mouse.cc | 73 SDL_GetMouseState(&mousex, &mousey); in Mouse() 74 iwin->screen_to_game(mousex, mousey, gwin->get_fastmouse(), mousex, mousey); in Mouse() 87 SDL_GetMouseState(&mousex, &mousey); in Mouse() 88 iwin->screen_to_game(mousex, mousey, gwin->get_fastmouse(), mousex, mousey); in Mouse() 139 cur->paint_rle(mousex, mousey); in show() 168 box.shift(x - mousex, y - mousey); in move() 170 mousex = x; in move() 187 box.x = mousex - cur->get_xleft(); in set_shape0() 201 mousex = x; in set_location() 203 box.x = mousex - cur->get_xleft(); in set_location() [all …]
|
/dports/games/odamex/odamex-src-0.7.0/client/src/ |
H A D | hu_mousegraph.cpp | 36 this->mousex[i] = 0; in MouseGraph() 44 this->mousex[this->index] = x; in append() 78 if (abs(mousex[in]) > limit) in drawPlot() 79 limit = abs(mousex[in]); in drawPlot() 83 scaledx = (mousex[in] * (MAX_HISTORY_TICS / 2)) / limit; in drawPlot() 113 if (abs(mousex[in]) > limit) in drawLine() 114 limit = abs(mousex[in]); in drawLine() 118 scaledx = (mousex[in] * (MAX_HISTORY_TICS / 2)) / limit; in drawLine()
|
/dports/games/libretro-stella2014/stella2014-libretro-64f9364/stella/src/emucore/ |
H A D | Genesis.cxx | 79 int mousex = myEvent.get(Event::MouseAxisXValue), in update() local 81 if(mousex || mousey) in update() 83 if((!(abs(mousey) > abs(mousex) << 1)) && (abs(mousex) >= MJ_Threshold)) in update() 85 if(mousex < 0) in update() 87 else if (mousex > 0) in update() 91 if((!(abs(mousex) > abs(mousey) << 1)) && (abs(mousey) >= MJ_Threshold)) in update()
|
H A D | Joystick.cxx | 95 int mousex = myEvent.get(Event::MouseAxisXValue), in update() local 97 if(mousex || mousey) in update() 99 if((!(abs(mousey) > abs(mousex) << 1)) && (abs(mousex) >= MJ_Threshold)) in update() 101 if(mousex < 0) in update() 103 else if (mousex > 0) in update() 107 if((!(abs(mousex) > abs(mousey) << 1)) && (abs(mousey) >= MJ_Threshold)) in update()
|
H A D | Booster.cxx | 103 int mousex = myEvent.get(Event::MouseAxisXValue), in update() local 105 if(mousex || mousey) in update() 107 if((!(abs(mousey) > abs(mousex) << 1)) && (abs(mousex) >= MJ_Threshold)) in update() 109 if(mousex < 0) in update() 111 else if (mousex > 0) in update() 115 if((!(abs(mousex) > abs(mousey) << 1)) && (abs(mousey) >= MJ_Threshold)) in update()
|
/dports/games/critterding/critterding-beta12/src/gl/ |
H A D | glwindow.cpp | 151 SDL_GetMouseState(&mousex, &mousex); in runGLScene() 152 glscene->handlemousebuttonPressed( mousex, mousex, event.button.button ); in runGLScene() 157 SDL_GetMouseState(&mousex, &mousex); in runGLScene() 158 glscene->handlemousebuttonReleased( mousex, mousex, event.button.button ); in runGLScene()
|
/dports/emulators/stella/stella-6.6/src/emucore/ |
H A D | Joystick.cxx | 119 int mousex = myEvent.get(Event::MouseAxisXMove), in updateMouseAxes() local 122 if(mousex || mousey) in updateMouseAxes() 124 if((!(abs(mousey) > abs(mousex) << 1)) && (abs(mousex) >= MJ_Threshold)) in updateMouseAxes() 126 if(mousex < 0) in updateMouseAxes() 128 else if(mousex > 0) in updateMouseAxes() 132 if((!(abs(mousex) > abs(mousey) << 1)) && (abs(mousey) >= MJ_Threshold)) in updateMouseAxes()
|
/dports/devel/sdl12/SDL-1.2.15/src/video/ataricommon/ |
H A D | SDL_ataridevmouse.c | 121 int mousex, mousey; in SDL_AtariDevMouse_PostMouseEvents() local 127 mousex = mousey = 0; in SDL_AtariDevMouse_PostMouseEvents() 130 mousex += (char) buffer[1]; in SDL_AtariDevMouse_PostMouseEvents() 156 if (mousex || mousey) { in SDL_AtariDevMouse_PostMouseEvents() 157 SDL_PrivateMouseMotion(0, 1, mousex, -mousey); in SDL_AtariDevMouse_PostMouseEvents()
|
/dports/lang/yabasic/yabasic-2.90.1/unix/lang/tests/interactive/ |
H A D | inkey_mousex.yab | 5 print mousex 6 if (mousex=0) error "mousex" 9 print "Okay: mousex, mousey and mouseb remember last inkey"
|
/dports/graphics/aalib/aalib-1.4.0/src/ |
H A D | aain.c | 35 if (x != c->mousex || y != c->mousey || b != c->buttons) { in aa_getevent() 36 c->mousex = x; in aa_getevent() 48 if (x != c->mousex || y != c->mousey || b != c->buttons) { in aa_getevent() 49 c->mousex = x; in aa_getevent() 63 if (x != c->mousex || y != c->mousey || b != c->buttons) { in aa_getevent() 64 c->mousex = x; in aa_getevent()
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/examples/demonstrations/ |
H A D | SC2-examples_2.scd | 361 var pitch, mousex, out; 364 mousex = MouseX.kr; 388 var pitch, mousex, out; 391 mousex = MouseX.kr; 422 var pitch1, pitch2, mousex, out; 426 mousex = MouseX.kr; 456 mousex = MouseX.kr; 480 var mousex, out; 481 mousex = MouseX.kr; 507 var mousex, out; [all …]
|
/dports/games/wesnoth/wesnoth-1.14.17/src/help/ |
H A D | help_browser.cpp | 98 int mousex, mousey; in process_event() local 99 SDL_GetMouseState(&mousex,&mousey); in process_event() 102 if (sdl::point_in_rect(mousex, mousey, menu_.location())) { in process_event() 145 const int mousex = mouse_event.x; in handle_event() local 147 const std::string ref = text_area_.ref_at(mousex, mousey); in handle_event() 194 int mousex, mousey; in update_cursor() local 195 SDL_GetMouseState(&mousex,&mousey); in update_cursor() 196 const std::string ref = text_area_.ref_at(mousex, mousey); in update_cursor()
|
/dports/games/blockattack/blockattack-game-2.7.0/source/code/ |
H A D | levelselect.cpp | 105 UpdateMouseCoordinates(event, globalData.mousex, globalData.mousey); in PuzzleLevelSelect() 148 if (globalData.mousex != oldmousex || globalData.mousey != oldmousey) { in PuzzleLevelSelect() 158 if ((10+k*50<globalData.mousex-xplace)&&(globalData.mousex-xplace<k*50+42)) { in PuzzleLevelSelect() 166 oldmousex= globalData.mousex; in PuzzleLevelSelect() 185 if ((10+j*50<globalData.mousex-xplace)&&(globalData.mousex-xplace<j*50+42)) { in PuzzleLevelSelect() 206 globalData.mouse.Draw(globalData.screen, SDL_GetTicks(), globalData.mousex, globalData.mousey); in PuzzleLevelSelect()
|
/dports/games/dreamchess/dreamchess-0.3.0/dreamchess/src/gui/ |
H A D | get_move.c | 39 int mousex, mousey; in get_move() local 42 Uint8 mousestate = SDL_GetMouseState(&mousex, &mousey); in get_move() 45 move_camera(-(mousey - last_mousey) * MOUSE_CAM_SPEED, -(mousex - last_mousex) * MOUSE_CAM_SPEED); in get_move() 46 last_mousex = mousex; in get_move() 49 last_mousex = mousex; in get_move()
|
/dports/biology/jalview/jalview/src/jalview/viewmodel/ |
H A D | OverviewDimensionsHideHidden.java | 50 public void updateViewportFromMouse(int mousex, int mousey, in updateViewportFromMouse() argument 55 int xAsRes = getLeftXFromCentreX(mousex, hiddenCols); in updateViewportFromMouse() 63 public void adjustViewportFromMouse(int mousex, int mousey, in adjustViewportFromMouse() argument 71 int vpx = Math.round(mousex * widthRatio); in adjustViewportFromMouse() 182 protected int getLeftXFromCentreX(int mousex, HiddenColumns hidden) in getLeftXFromCentreX() argument 184 int vpx = Math.round(mousex * widthRatio); in getLeftXFromCentreX()
|