Home
last modified time | relevance | path

Searched refs:mouseloc (Results 1 – 18 of 18) sorted by path

/dports/games/blackshadeselite/blackshadeselite/Source/
H A DCamera.cpp32 Point mouseloc; in MouseRotate() local
33 GetMouseRel(&mouseloc); in MouseRotate()
35 float mouserotation = (mouseloc.h / 1.3888) * mousesensitivity; in MouseRotate()
36 float mouserotation2 = (mouseloc.v / 1.3888) * mousesensitivity; in MouseRotate()
38 if(abs(mouseloc.h) < 400) in MouseRotate()
40 if(abs(mouseloc.v) < 200) in MouseRotate()
42 if(mouseloc.h > 400) in MouseRotate()
44 if(mouseloc.h < -400) in MouseRotate()
47 if(mouseloc.v > 200) in MouseRotate()
50 if(mouseloc.v < -200) in MouseRotate()
H A DGame.h98 Point mouseloc; variable
H A DGameDraw.cpp216 Point mouseloc; in DrawMouse() local
220 mouseloc.v = screenheight - mouseloc.v; in DrawMouse()
227 glVertex3f(mouseloc.h, mouseloc.v, 0); in DrawMouse()
228 glVertex3f(mouseloc.h + 2 * size, mouseloc.v - 2 * size, 0); in DrawMouse()
229 glVertex3f(mouseloc.h + .5 * size, mouseloc.v - 2 * size, 0); in DrawMouse()
236 glVertex3f(mouseloc.h, mouseloc.v, 0); in DrawMouse()
237 glVertex3f(mouseloc.h + 2 * size, mouseloc.v - 2 * size, 0); in DrawMouse()
241 glVertex3f(mouseloc.h, mouseloc.v, 0); in DrawMouse()
242 glVertex3f(mouseloc.h + .5 * size, mouseloc.v - 2 * size, 0); in DrawMouse()
246 glVertex3f(mouseloc.h + 2 * size, mouseloc.v - 2 * size, 0); in DrawMouse()
[all …]
H A DGameLoop.cpp294 MoveMouse(oldmouseloc.h, oldmouseloc.v, &mouseloc); in EventLoop()
H A DGameTick.cpp108 GetMouse(&mouseloc); in MainMenuTick()
109 mousex = mouseloc.h; in MainMenuTick()
110 mousey = mouseloc.v; in MainMenuTick()
112 mousex = (float)mouseloc.h / screenwidth; in MainMenuTick()
113 mousey = (screenheight - (float)mouseloc.v) / screenheight; in MainMenuTick()
195 MoveMouse(oldmouseloc.h, oldmouseloc.v, &mouseloc); in MainMenuTick()
5146 MoveMouse(oldmouseloc.h, oldmouseloc.v, &mouseloc); in GameTick()
5148 GetMouse(&mouseloc); in GameTick()
5151 oldmouseloc = mouseloc; in GameTick()
H A DMacInput.h113 void MoveMouse(int xcoord, int ycoord, Point * mouseloc);
114 void RefreshMouse(Point * mouseloc);
H A DSupport.cpp86 void MoveMouse(int xcoord, int ycoord, Point * mouseloc) in MoveMouse() argument
93 GetMouse(mouseloc); in MoveMouse()
H A DViewer.cpp263 GetMouseRel(&mouseloc); in Tick()
265 mouserotation = (mouseloc.h / 1.3888) * mousesensitivity; in Tick()
266 mouserotation2 = (mouseloc.v / 1.3888) * mousesensitivity; in Tick()
H A DViewer.h75 Point mouseloc; variable
H A Dtags261 MoveMouse Support.cpp /^void MoveMouse(int xcoord, int ycoord, Point * mouseloc)$/;" f
875 mouseloc Game.h /^ Point mouseloc;$/;" m class:Game
876 mouseloc Viewer.h /^ Point mouseloc;$/;" m class:Viewer
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_sequencer/
H A Dsequencer_edit.c314 float mouseloc[2]; in mouse_frame_side() local
320 UI_view2d_region_to_view(v2d, mval[0], mval[1], &mouseloc[0], &mouseloc[1]); in mouse_frame_side()
1484 float mouseloc[2]; in sequencer_slip_invoke() local
1513 UI_view2d_region_to_view(v2d, event->mval[0], event->mval[1], &mouseloc[0], &mouseloc[1]); in sequencer_slip_invoke()
1516 copy_v2_v2(data->init_mouseloc, mouseloc); in sequencer_slip_invoke()
1702 float mouseloc[2]; in sequencer_slip_modal() local
1717 UI_view2d_region_to_view(v2d, mouse_x, 0, &mouseloc[0], &mouseloc[1]); in sequencer_slip_modal()
2362 float mouseloc[2]; in sequencer_split_invoke() local
2363 UI_view2d_region_to_view(v2d, event->mval[0], event->mval[1], &mouseloc[0], &mouseloc[1]); in sequencer_split_invoke()
2365 RNA_int_set(op->ptr, "frame", mouseloc[0]); in sequencer_split_invoke()
[all …]
/dports/misc/tkrunit/tkRunIt/
H A DREADME76 mouseloc: boolean indicating that the window should appear under
77 the current mouse location. --mouseloc and -m on the commandline
78 turn this on, ++mouseloc and +m turn it off
174 * --mouseloc switch to pop up window under the mouse
H A Drunit.tcl44 set mouseloc 0
632 set mouseloc 1
636 set mouseloc 0
699 if {$mouseloc} {
H A Drunitrc.sample28 set mouseloc 0
/dports/textproc/hevea/hevea-2.34/
H A Dlstlang3.sty442 mouseleave,mouselevel,mouseline,mouseloc,mousemember,mouseoverbutton,%
/dports/x11-toolkits/SoXt/SoXt-1.3.0/src/Inventor/Xt/common/viewers/
H A DSoGuiFlyViewer.cpp.in177 SbVec2s mouseloc; member in FlyViewerP
569 this->tiltpos = this->mouseloc;
570 this->lastpos = this->mouseloc;
664 this->mouseloc = lev->getPosition();
668 float pan = (this->lastpos[0] - this->mouseloc[0])/100.0f;
669 float tilt = (this->lastpos[1] - this->mouseloc[1])/100.0f;
676 this->lastpos = this->mouseloc;
688 this->pan_increment = 0.5f - float(this->mouseloc[0])/glsize[0];
689 this->tilt_increment = 0.5f - float(this->mouseloc[1])/glsize[1];
/dports/x11-toolkits/plib/plib-1.8.5/src/pw/
H A DpwMacOSX.cxx481 static void handleDrag(WindowPtr window, Point mouseloc) in handleDrag() argument
489 DragWindow(window, mouseloc, &dragBounds); in handleDrag()
510 static void handleGoAwayBox(WindowPtr window, Point mouseloc) in handleGoAwayBox() argument
517 if( TrackGoAway(window, mouseloc) ) in handleGoAwayBox()
/dports/x11-toolkits/soqt/soqt/src/Inventor/Qt/common/viewers/
H A DSoGuiFlyViewer.cpp.in187 SbVec2s mouseloc; member in FlyViewerP
580 this->tiltpos = this->mouseloc;
581 this->lastpos = this->mouseloc;
675 this->mouseloc = lev->getPosition();
679 float pan = (this->lastpos[0] - this->mouseloc[0])/100.0f;
680 float tilt = (this->lastpos[1] - this->mouseloc[1])/100.0f;
687 this->lastpos = this->mouseloc;
699 this->pan_increment = 0.5f - float(this->mouseloc[0])/glsize[0];
700 this->tilt_increment = 0.5f - float(this->mouseloc[1])/glsize[1];