/dports/games/battletanks/btanks-0.9.8083/engine/menu/ |
H A D | number_control.cpp | 10 mouse_pressed(0), mouse_button(0), direction(false), in NumberControl() 81 mouse_pressed = 0.0; in onMouse() 88 mouse_pressed = 0.0; in onMouse() 92 mouse_pressed = 0; in onMouse() 101 mouse_pressed += dt; in tick() 103 if (mouse_pressed < guard) in tick() 107 int n = (int)((mouse_pressed - guard) * speed); //10 - speed in tick() 108 mouse_pressed -= 1.0f * n / speed; in tick()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Windows.Forms/System.Windows.Forms/ |
H A D | UpDownBase.cs | 50 private int mouse_pressed; field in System.Windows.Forms.UpDownBase.UpDownSpinner 64 mouse_pressed = 0; in UpDownSpinner() 103 if (mouse_pressed != 0) { in redraw() 104 if (mouse_pressed == 1 && top_button_rect.Contains(mouse_x, mouse_y)) in redraw() 136 if (mouse_pressed == 0) { in tmrRepeat_Tick() 158 mouse_pressed = 1; in OnMouseDown() 161 mouse_pressed = 2; in OnMouseDown() 181 if ((mouse_pressed == 1) && top_button_rect.Contains(mouse_x, mouse_y)) in OnMouseMove() 205 if (mouse_pressed == 1) in OnMouseMove() 207 if (mouse_pressed == 2) in OnMouseMove() [all …]
|
/dports/graphics/freeglut/freeglut-3.2.1/src/blackberry/ |
H A D | fg_main_blackberry.c | 411 static int mouse_pressed = 0; in fgPlatformProcessSingleEvent() local 439 if (mouse_pressed & SCREEN_LEFT_MOUSE_BUTTON) { in fgPlatformProcessSingleEvent() 443 mouse_pressed |= SCREEN_LEFT_MOUSE_BUTTON; in fgPlatformProcessSingleEvent() 446 } else if (mouse_pressed & SCREEN_LEFT_MOUSE_BUTTON) { in fgPlatformProcessSingleEvent() 448 mouse_pressed &= ~SCREEN_LEFT_MOUSE_BUTTON; in fgPlatformProcessSingleEvent() 456 mouse_pressed |= SCREEN_RIGHT_MOUSE_BUTTON; in fgPlatformProcessSingleEvent() 459 } else if (mouse_pressed & SCREEN_RIGHT_MOUSE_BUTTON) { in fgPlatformProcessSingleEvent() 461 mouse_pressed &= ~SCREEN_RIGHT_MOUSE_BUTTON; in fgPlatformProcessSingleEvent() 469 mouse_pressed |= SCREEN_MIDDLE_MOUSE_BUTTON; in fgPlatformProcessSingleEvent() 472 } else if (mouse_pressed & SCREEN_MIDDLE_MOUSE_BUTTON) { in fgPlatformProcessSingleEvent() [all …]
|
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/freeglut/src/blackberry/ |
H A D | fg_main_blackberry.c | 411 static int mouse_pressed = 0; in fgPlatformProcessSingleEvent() local 439 if (mouse_pressed & SCREEN_LEFT_MOUSE_BUTTON) { in fgPlatformProcessSingleEvent() 443 mouse_pressed |= SCREEN_LEFT_MOUSE_BUTTON; in fgPlatformProcessSingleEvent() 446 } else if (mouse_pressed & SCREEN_LEFT_MOUSE_BUTTON) { in fgPlatformProcessSingleEvent() 448 mouse_pressed &= ~SCREEN_LEFT_MOUSE_BUTTON; in fgPlatformProcessSingleEvent() 456 mouse_pressed |= SCREEN_RIGHT_MOUSE_BUTTON; in fgPlatformProcessSingleEvent() 459 } else if (mouse_pressed & SCREEN_RIGHT_MOUSE_BUTTON) { in fgPlatformProcessSingleEvent() 461 mouse_pressed &= ~SCREEN_RIGHT_MOUSE_BUTTON; in fgPlatformProcessSingleEvent() 469 mouse_pressed |= SCREEN_MIDDLE_MOUSE_BUTTON; in fgPlatformProcessSingleEvent() 472 } else if (mouse_pressed & SCREEN_MIDDLE_MOUSE_BUTTON) { in fgPlatformProcessSingleEvent() [all …]
|
/dports/games/opentyrian/opentyrian-opentyrian-77a8715634e3/src/ |
H A D | keyboard.c | 37 JE_boolean mouse_pressed[3] = {false, false, false}; variable 233 mouse_pressed[0] = mousedown; break; in service_SDL_events() 235 mouse_pressed[1] = mousedown; break; in service_SDL_events() 237 mouse_pressed[2] = mousedown; break; in service_SDL_events()
|
H A D | keyboard.h | 36 extern JE_boolean mouse_pressed[3];
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/grc/gui/canvas/ |
H A D | flowgraph.py | 86 self.mouse_pressed = False 539 self.mouse_pressed and 574 if self.mouse_pressed: 713 self.mouse_pressed = True 715 self.mouse_pressed = False 730 self.mouse_pressed = True 736 self.mouse_pressed = False 746 self.mouse_pressed = False 764 if not self.mouse_pressed or self._new_connection: 766 if self.mouse_pressed:
|
/dports/devel/sdl12/SDL-1.2.15/test/ |
H A D | testalpha.c | 332 int mouse_pressed; in main() local 451 mouse_pressed = 0; in main() 454 if ( mouse_pressed ) { in main() 456 mouse_pressed = 0; in main() 488 mouse_pressed = 1; in main() 495 mouse_pressed = 1; in main()
|
/dports/devel/sdl12-compat/sdl12-compat-release-1.2.52/test/ |
H A D | testalpha.c | 332 int mouse_pressed; in main() local 451 mouse_pressed = 0; in main() 454 if ( mouse_pressed ) { in main() 456 mouse_pressed = 0; in main() 488 mouse_pressed = 1; in main() 495 mouse_pressed = 1; in main()
|
/dports/x11/xcape/xcape-1.2-9-g6ded5b4/ |
H A D | xcape.c | 300 Bool mouse_pressed, int key_event) in handle_key() argument 312 if (mouse_pressed) in handle_key() 355 static Bool mouse_pressed = False; in intercept() local 392 mouse_pressed = True; in intercept() 396 mouse_pressed = False; in intercept() 406 handle_key (self, km, mouse_pressed, key_event); in intercept()
|
/dports/games/xye/xye-0.12.2/src/ |
H A D | window.cpp | 121 mouse_pressed=false; in init() 289 mouse_pressed=true; in loop() 362 mouse_pressed = false; in deleteControls() 376 mouse_pressed = false; in addControl() 403 if (mouse_pressed) { in handleMouseMove() 410 mouse_pressed = false; in handleMouseMove() 455 if (mouse_pressed) { in handleMouseUp() 456 mouse_pressed = false; in handleMouseUp()
|
/dports/devel/sdl12/SDL-1.2.15/src/video/windx5/ |
H A D | SDL_dx5events.c | 55 static int mouse_pressed; variable 240 mouse_pressed = 0; in DX5_DInputInit() 428 if ( ++mouse_pressed > 0 ) { in handle_mouse() 434 if ( --mouse_pressed <= 0 ) { in handle_mouse() 436 mouse_pressed = 0; in handle_mouse() 525 if ( ++mouse_pressed > 0 ) { in handle_mouse() 531 if ( --mouse_pressed <= 0 ) { in handle_mouse() 533 mouse_pressed = 0; in handle_mouse()
|
/dports/x11-wm/kickshaw/kickshaw_0.5.26_source_only/GTK2/source/ |
H A D | misc.c | 38 gboolean mouse_pressed (GtkTreeView *treeview, GdkEventButton *event); 96 gboolean mouse_pressed (GtkTreeView *treeview, GdkEventButton *event) function
|
/dports/x11-wm/kickshaw/kickshaw_0.5.26_source_only/GTK3/source/ |
H A D | misc.c | 31 gboolean mouse_pressed (GtkTreeView *treeview, GdkEventButton *event); 85 gboolean mouse_pressed (GtkTreeView *treeview, GdkEventButton *event) in mouse_pressed() function
|
/dports/devel/libslang2/slang-2.3.2/src/ |
H A D | sldostty.c | 276 static int mouse_pressed (int button, int *x_pos, int *y_pos) in mouse_pressed() function 362 if (mouse_pressed(0, &x, &y)) /* left button pressed? */ in mouse_get_event() 364 else if (mouse_pressed(1, &x, &y)) /* right button pressed */ in mouse_get_event()
|
/dports/japanese/libslang/slang-1.4.5jp2/src/ |
H A D | sldostty.c | 262 static int mouse_pressed (int button, int *x_pos, int *y_pos) in mouse_pressed() function 348 if (mouse_pressed(0, &x, &y)) /* left button pressed? */ in mouse_get_event() 350 else if (mouse_pressed(1, &x, &y)) /* right button pressed */ in mouse_get_event()
|
/dports/x11-wm/kickshaw/kickshaw_0.5.26_source_only/GTK3.93/source/ |
H A D | misc.c | 31 gboolean mouse_pressed (GtkTreeView *treeview, GdkEvent *event); 87 gboolean mouse_pressed (GtkTreeView *treeview, GdkEvent *event) in mouse_pressed() function
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/src/toys/ |
H A D | portion-test.cpp | 25 void mouse_pressed(GdkEventButton* e) { in mouse_pressed() function in PortionTester 27 Toy::mouse_pressed(e); in mouse_pressed()
|
H A D | inner-product-clip.cpp | 134 void mouse_pressed(GdkEventButton* e) { in mouse_pressed() function in InnerProductClip 136 Toy::mouse_pressed(e); in mouse_pressed()
|
H A D | pair-intersect.cpp | 17 void mouse_pressed(GdkEventButton* e) { in mouse_pressed() function in PairIntersect 19 Toy::mouse_pressed(e); in mouse_pressed()
|
/dports/math/lib2geom/lib2geom-1.1/src/toys/ |
H A D | portion-test.cpp | 25 void mouse_pressed(GdkEventButton* e) override { in mouse_pressed() function in PortionTester 27 Toy::mouse_pressed(e); in mouse_pressed()
|
H A D | pair-intersect.cpp | 17 void mouse_pressed(GdkEventButton* e) override { in mouse_pressed() function in PairIntersect 19 Toy::mouse_pressed(e); in mouse_pressed()
|
H A D | inner-product-clip.cpp | 134 void mouse_pressed(GdkEventButton* e) override { in mouse_pressed() function in InnerProductClip 136 Toy::mouse_pressed(e); in mouse_pressed()
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/src/2geom/orphan-code/ |
H A D | redblack-toy.cpp | 127 void mouse_pressed(GdkEventButton* e) { in mouse_pressed() function in RedBlackToy 128 Toy::mouse_pressed(e); in mouse_pressed()
|
/dports/math/lib2geom/lib2geom-1.1/src/2geom/orphan-code/ |
H A D | redblack-toy.cpp | 127 void mouse_pressed(GdkEventButton* e) { in mouse_pressed() function in RedBlackToy 128 Toy::mouse_pressed(e); in mouse_pressed()
|