Home
last modified time | relevance | path

Searched refs:x_move (Results 1 – 25 of 57) sorted by relevance

123

/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/movements/
H A DStraightMovement.cpp43 x_move(0), in StraightMovement()
177 x_move = 0; in stop()
375 && (x_move != 0 || y_move != 0); in update_smooth_xy()
428 translate_xy(x_move, 1); in update_smooth_x()
435 translate_xy(x_move, -1); in update_smooth_x()
474 translate_xy(x_move, y_move); in update_smooth_x()
505 if (x_move != 0 && test_collision_with_obstacles(x_move, y_move)) { in update_smooth_y()
515 if (x_move == 0) { in update_smooth_y()
606 translate_xy(x_move, y_move); in update_non_smooth_xy()
612 translate_x(x_move); in update_non_smooth_xy()
[all …]
/dports/x11-wm/fvwm2/fvwm-2.6.9/libs/
H A DTarget.c45 int x_move; in fvwmlib_keyboard_shortcuts() local
70 x_move = 0; in fvwmlib_keyboard_shortcuts()
90 x_move = -x_move_size; in fvwmlib_keyboard_shortcuts()
96 x_move = x_move_size; in fvwmlib_keyboard_shortcuts()
99 x_move = -x_move_size; in fvwmlib_keyboard_shortcuts()
103 x_move = x_move_size; in fvwmlib_keyboard_shortcuts()
111 x_move = x_move_size; in fvwmlib_keyboard_shortcuts()
130 if (x_move || y_move) in fvwmlib_keyboard_shortcuts()
143 if (x + x_move < 0) in fvwmlib_keyboard_shortcuts()
146 x_move = -x; in fvwmlib_keyboard_shortcuts()
[all …]
/dports/x11-wm/fvwm3/fvwm3-1.0.4/libs/
H A DTarget.c46 int x_move; in fvwmlib_keyboard_shortcuts() local
71 x_move = 0; in fvwmlib_keyboard_shortcuts()
91 x_move = -x_move_size; in fvwmlib_keyboard_shortcuts()
97 x_move = x_move_size; in fvwmlib_keyboard_shortcuts()
100 x_move = -x_move_size; in fvwmlib_keyboard_shortcuts()
104 x_move = x_move_size; in fvwmlib_keyboard_shortcuts()
112 x_move = x_move_size; in fvwmlib_keyboard_shortcuts()
131 if (x_move || y_move) in fvwmlib_keyboard_shortcuts()
144 if (x + x_move < 0) in fvwmlib_keyboard_shortcuts()
147 x_move = -x; in fvwmlib_keyboard_shortcuts()
[all …]
/dports/science/tinker/tinker/source/
H A Dlbfgs.f62 real*8 f_move,x_move
326 x_move = 0.0d0
328 x_move = x_move + ((x0(i)-x_old(i))/scale(i))**2
330 x_move = sqrt(x_move) / rms
332 x_move = radian * x_move
377 write (iout,80) niter,f,g_rms,f_move,x_move,
381 write (iout,90) niter,f,g_rms,f_move,x_move,
H A Dtncg.f120 real*8 x_move,f_move,f_old
391 x_move = 0.0d0
394 x_move = x_move + (x0(i)-x_old(i))**2
398 x_move = sqrt(x_move)
399 x_move = x_move / rms
401 x_move = x_move * radian
450 write (iout,130) iter_tn,f,g_rms,f_move,x_move,
454 write (iout,140) iter_tn,f,g_rms,f_move,x_move,
H A Dsaddle.f40 real*8 x_move,f_move
555 x_move = 0.0d0
558 x_move = x_move + (xx(i)-x_old(i))**2
561 x_move = sqrt(x_move/dble(n))
564 & x_move,angle,ncalls,status
/dports/science/tinker/tinker/other/
H A Dlmqn.f95 real*8 x_move,g_rms local
429 x_move = 0.0d0
434 x_move = x_move + (s(i)/scale(i))**2
439 x_move = sqrt(x_move) / rms
441 x_move = radian * x_move
470 if (x_move .lt. epsln) then
549 & x_move,angle,ncalls,status
553 & x_move,angle,ncalls,status
/dports/graphics/photivo/photivo/ReferenceMaterial/SourceOfCurves/darktableAnchors/
H A Dbasecurve - 20101120.c106 int selected, dragging, x_move; member
350 if(c->x_move == k) cairo_fill(cr); in dt_iop_basecurve_expose()
425 if(c->x_move >= 0) in dt_iop_basecurve_motion_notify()
428 if(c->x_move > 0 && c->x_move < 6-1) in dt_iop_basecurve_motion_notify()
430 const float minx = p->tonecurve_x[c->x_move-1] + 0.001f; in dt_iop_basecurve_motion_notify()
431 const float maxx = p->tonecurve_x[c->x_move+1] - 0.001f; in dt_iop_basecurve_motion_notify()
432 p->tonecurve_x[c->x_move] = fminf(maxx, fmaxf(minx, mx)); in dt_iop_basecurve_motion_notify()
451 c->x_move = 1; in dt_iop_basecurve_motion_notify()
459 c->x_move = k; in dt_iop_basecurve_motion_notify()
466 c->x_move = -1; in dt_iop_basecurve_motion_notify()
[all …]
/dports/x11-wm/afterstep/AfterStep-1.0/afterstep/
H A Dmove.c336 int move_size,x_move,y_move; in Keyboard_shortcuts() local
348 x_move = 0; in Keyboard_shortcuts()
365 x_move = -move_size; in Keyboard_shortcuts()
370 x_move = move_size; in Keyboard_shortcuts()
383 if((x_move != 0)||(y_move != 0)) in Keyboard_shortcuts()
386 XWarpPointer(dpy, None, Scr.Root, 0, 0, 0, 0, x_root+x_move, in Keyboard_shortcuts()
391 Event->xkey.x += x_move; in Keyboard_shortcuts()
393 Event->xkey.x_root += x_move; in Keyboard_shortcuts()
/dports/misc/py-PyUserInput/PyUserInput-0.1.11/pymouse/
H A Dmac.py59 def scroll_event(y_move=0, x_move=0, z_move=0, n=1): argument
66 x_move,
84 scroll_event(x_move=1, n=horizontal)
86 scroll_event(x_move=-1, n=abs(horizontal))
/dports/x11-toolkits/lesstif/lesstif-0.95.2/clients/Motif-2.1/mwm/
H A Dmisc.c448 int move_size, x_move, y_move; in MISC_KeyboardShortcut() local
460 x_move = 0; in MISC_KeyboardShortcut()
477 x_move = -move_size; in MISC_KeyboardShortcut()
482 x_move = move_size; in MISC_KeyboardShortcut()
495 if ((x_move != 0) || (y_move != 0)) in MISC_KeyboardShortcut()
498 XWarpPointer(dpy, None, scr->root_win, 0, 0, 0, 0, x_root + x_move, in MISC_KeyboardShortcut()
503 event->xkey.x += x_move; in MISC_KeyboardShortcut()
505 event->xkey.x_root += x_move; in MISC_KeyboardShortcut()
/dports/graphics/darktable/darktable-3.6.1/src/iop/
H A Dequalizer.c71 int x_move; member
365 c->x_move = -1; in gui_init()
487 if(c->x_move == k) cairo_fill(cr);
551 if(c->x_move == k) cairo_fill(cr);
597 if(c->x_move >= 0)
600 if(c->x_move > 0 && c->x_move < DT_IOP_EQUALIZER_BANDS-1)
602 const float minx = p->equalizer_x[c->channel][c->x_move-1] + 0.001f;
603 const float maxx = p->equalizer_x[c->channel][c->x_move+1] - 0.001f;
615 c->x_move = 0;
622 c->x_move = k;
[all …]
H A Dlowlight.c65 int x_move; member
566 if(c->x_move == k) in lowlight_draw()
600 if(c->x_move == k) in lowlight_draw()
692 if(c->x_move >= 0) in lowlight_motion_notify()
695 if(c->x_move > 0 && c->x_move < DT_IOP_LOWLIGHT_BANDS - 1) in lowlight_motion_notify()
697 const float minx = p->transition_x[c->x_move - 1] + 0.001f; in lowlight_motion_notify()
699 p->transition_x[c->x_move] = fminf(maxx, fmaxf(minx, mx)); in lowlight_motion_notify()
711 c->x_move = 0; in lowlight_motion_notify()
718 c->x_move = k; in lowlight_motion_notify()
726 c->x_move = -1; in lowlight_motion_notify()
[all …]
H A Datrous.c97 int x_move; member
1286 if(c->x_move == k) in area_draw()
1329 if(c->x_move == k) in area_draw()
1415 if(c->x_move >= 0) in area_motion_notify()
1418 if(c->x_move > 0 && c->x_move < BANDS - 1) in area_motion_notify()
1420 const float minx = p->x[c->channel][c->x_move - 1] + 0.001f; in area_motion_notify()
1422 p->x[ch2][c->x_move] = p->x[c->channel][c->x_move] = fminf(maxx, fmaxf(minx, mx)); in area_motion_notify()
1435 c->x_move = 0; in area_motion_notify()
1442 c->x_move = k; in area_motion_notify()
1466 c->x_move = -1; in area_motion_notify()
[all …]
/dports/graphics/darktable38/darktable-3.8.0/src/iop/
H A Dequalizer.c71 int x_move; member
365 c->x_move = -1; in gui_init()
487 if(c->x_move == k) cairo_fill(cr);
551 if(c->x_move == k) cairo_fill(cr);
597 if(c->x_move >= 0)
600 if(c->x_move > 0 && c->x_move < DT_IOP_EQUALIZER_BANDS-1)
602 const float minx = p->equalizer_x[c->channel][c->x_move-1] + 0.001f;
603 const float maxx = p->equalizer_x[c->channel][c->x_move+1] - 0.001f;
615 c->x_move = 0;
622 c->x_move = k;
[all …]
H A Dlowlight.c65 int x_move; member
566 if(c->x_move == k) in lowlight_draw()
600 if(c->x_move == k) in lowlight_draw()
692 if(c->x_move >= 0) in lowlight_motion_notify()
695 if(c->x_move > 0 && c->x_move < DT_IOP_LOWLIGHT_BANDS - 1) in lowlight_motion_notify()
697 const float minx = p->transition_x[c->x_move - 1] + 0.001f; in lowlight_motion_notify()
699 p->transition_x[c->x_move] = fminf(maxx, fmaxf(minx, mx)); in lowlight_motion_notify()
711 c->x_move = 0; in lowlight_motion_notify()
718 c->x_move = k; in lowlight_motion_notify()
726 c->x_move = -1; in lowlight_motion_notify()
[all …]
H A Datrous.c97 int x_move; member
1286 if(c->x_move == k) in area_draw()
1329 if(c->x_move == k) in area_draw()
1417 if(c->x_move >= 0) in area_motion_notify()
1420 if(c->x_move > 0 && c->x_move < BANDS - 1) in area_motion_notify()
1424 p->x[ch2][c->x_move] = p->x[c->channel][c->x_move] = fminf(maxx, fmaxf(minx, mx)); in area_motion_notify()
1437 c->x_move = 0; in area_motion_notify()
1444 c->x_move = k; in area_motion_notify()
1448 darktable.control->element = c->x_move + 1; in area_motion_notify()
1470 c->x_move = -1; in area_motion_notify()
[all …]
/dports/graphics/clutter/clutter-1.26.4/doc/cookbook/html/examples/
H A Danimations-moving-implicit.c43 AnimationSpec x_move = { "x", 50.0 }; in main() local
79 &x_move); in main()
/dports/graphics/clutter/clutter-1.26.4/doc/cookbook/examples/
H A Danimations-moving-implicit.c43 AnimationSpec x_move = { "x", 50.0 }; in main() local
79 &x_move); in main()
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/core/
H A Danim_manager.cpp702 sint32 x_move = (uint32)floorf(moves) * xdir; // modifies per direction in update_position() local
706 accumulate_moves(moves, x_move, y_move, xdir, ydir); in update_position()
709 if (x_move == 0 && y_move == 0) in update_position()
712 if (x_move != 0) { in update_position()
715 sint32 relx = (xpos + x_move) - start_px; // new relative position in update_position()
717 shift(x_move, rely - old_relpos); // **MOVE** in update_position()
736 void TossAnim::accumulate_moves(float moves, sint32 &x_move, sint32 &y_move, sint8 xdir, sint8 ydir… in accumulate_moves() argument
740 x_move += (uint32)floorf(x_left) * xdir; // add integer to movement in accumulate_moves()
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/include/solarus/movements/
H A DStraightMovement.h103 int x_move; /**< Number of pixels of the next x move : 0, 1 or -1. */ variable
/dports/games/libretro-genesis_plus_gx/Genesis-Plus-GX-7f83bc5/gcw0/
H A Dmain.c2209 Sint16 x_move = 0; in sdl_input_update() local
2219 x_move = SDL_JoystickGetAxis(joy, 0); in sdl_input_update()
2231 if (x_move < -1000 || x_move > 1000) in sdl_input_update()
2233 if (x_move < -1000 ) lg_left = 1; in sdl_input_update()
2234 if (x_move < -20000) lg_left = 3; in sdl_input_update()
2235 if (x_move > 1000 ) lg_right = 1; in sdl_input_update()
2236 if (x_move > 20000) lg_right = 3; in sdl_input_update()
2283 if (x_move < -1000 || x_move > 1000) in sdl_input_update()
2285 if (x_move < -1000) MoveLeft = 1; in sdl_input_update()
2286 if (x_move > 1000) MoveRight = 1; in sdl_input_update()
/dports/games/kodi-addon-game.libretro.genplus/game.libretro.genplus-1.7.4.15-Matrix/depends/common/genplus/gcw0/
H A Dmain.c2209 Sint16 x_move = 0; in sdl_input_update() local
2219 x_move = SDL_JoystickGetAxis(joy, 0); in sdl_input_update()
2231 if (x_move < -1000 || x_move > 1000) in sdl_input_update()
2233 if (x_move < -1000 ) lg_left = 1; in sdl_input_update()
2234 if (x_move < -20000) lg_left = 3; in sdl_input_update()
2235 if (x_move > 1000 ) lg_right = 1; in sdl_input_update()
2236 if (x_move > 20000) lg_right = 3; in sdl_input_update()
2283 if (x_move < -1000 || x_move > 1000) in sdl_input_update()
2285 if (x_move < -1000) MoveLeft = 1; in sdl_input_update()
2286 if (x_move > 1000) MoveRight = 1; in sdl_input_update()
/dports/audio/zita-at1/zita-at1-0.6.2/source/
H A Dmainwin.cc313 _textln->x_move (285, 58); in showval()
317 _textln->x_move (525, 58); in showval()
/dports/games/glaxium/glaxium_0.5/
H A Dmyship.cpp549 static Sint16 x_move, y_move; in move() local
594 x_move=SDL_JoystickGetAxis(GLvar->joy,0); in move()
603 global_gauche=(x_move<-16384); in move()
605 global_droite=(x_move>16384); in move()

123