/usr/share/doc/libjuce/apiref/classMouseInputSource.html is in libjuce-doc 4.3.0~repack-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: MouseInputSource Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">JUCE
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-attribs">Static Public Attributes</a> |
<a href="classMouseInputSource-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">MouseInputSource Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Represents a linear source of mouse events from a mouse device or individual finger in a multi-touch environment.
<a href="classMouseInputSource.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae8071d803ab710d0239cfcfa6ddc399d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#ae8071d803ab710d0239cfcfa6ddc399d">MouseInputSource</a> (const <a class="el" href="classMouseInputSource.html">MouseInputSource</a> &) noexcept</td></tr>
<tr class="separator:ae8071d803ab710d0239cfcfa6ddc399d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab6126b51c34685e6d1cca88d6727c083"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classMouseInputSource.html">MouseInputSource</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#ab6126b51c34685e6d1cca88d6727c083">operator=</a> (const <a class="el" href="classMouseInputSource.html">MouseInputSource</a> &) noexcept</td></tr>
<tr class="separator:ab6126b51c34685e6d1cca88d6727c083"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad5e7c3fd30aa82348a40e18c161bb0fd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#ad5e7c3fd30aa82348a40e18c161bb0fd">~MouseInputSource</a> () noexcept</td></tr>
<tr class="separator:ad5e7c3fd30aa82348a40e18c161bb0fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0ac6b1ea5236f12c53b7592f55306103"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a0ac6b1ea5236f12c53b7592f55306103">operator==</a> (const <a class="el" href="classMouseInputSource.html">MouseInputSource</a> &other) const noexcept</td></tr>
<tr class="separator:a0ac6b1ea5236f12c53b7592f55306103"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a081a7cc2d0a9d4690073ffc455a736d0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a081a7cc2d0a9d4690073ffc455a736d0">operator!=</a> (const <a class="el" href="classMouseInputSource.html">MouseInputSource</a> &other) const noexcept</td></tr>
<tr class="separator:a081a7cc2d0a9d4690073ffc455a736d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a15eba960dd5bb4c991a79bfab615744d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a15eba960dd5bb4c991a79bfab615744d">isMouse</a> () const noexcept</td></tr>
<tr class="memdesc:a15eba960dd5bb4c991a79bfab615744d"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this object represents a normal desk-based mouse device. <a href="#a15eba960dd5bb4c991a79bfab615744d">More...</a><br /></td></tr>
<tr class="separator:a15eba960dd5bb4c991a79bfab615744d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12838c02637c94ba962b233bfad1c77e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a12838c02637c94ba962b233bfad1c77e">isTouch</a> () const noexcept</td></tr>
<tr class="memdesc:a12838c02637c94ba962b233bfad1c77e"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this object represents a source of touch events - i.e. <a href="#a12838c02637c94ba962b233bfad1c77e">More...</a><br /></td></tr>
<tr class="separator:a12838c02637c94ba962b233bfad1c77e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a140f11275e9a6b0945c518c73fb5ddb1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a140f11275e9a6b0945c518c73fb5ddb1">canHover</a> () const noexcept</td></tr>
<tr class="memdesc:a140f11275e9a6b0945c518c73fb5ddb1"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this source has an on-screen pointer that can hover over items without clicking them. <a href="#a140f11275e9a6b0945c518c73fb5ddb1">More...</a><br /></td></tr>
<tr class="separator:a140f11275e9a6b0945c518c73fb5ddb1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a691068a9661fb11b3e7b10f51a4254b0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a691068a9661fb11b3e7b10f51a4254b0">hasMouseWheel</a> () const noexcept</td></tr>
<tr class="memdesc:a691068a9661fb11b3e7b10f51a4254b0"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this source may have a scroll wheel. <a href="#a691068a9661fb11b3e7b10f51a4254b0">More...</a><br /></td></tr>
<tr class="separator:a691068a9661fb11b3e7b10f51a4254b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5df63eab78bd470bd22d39393b337330"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a5df63eab78bd470bd22d39393b337330">getIndex</a> () const noexcept</td></tr>
<tr class="memdesc:a5df63eab78bd470bd22d39393b337330"><td class="mdescLeft"> </td><td class="mdescRight">Returns this source's index in the global list of possible sources. <a href="#a5df63eab78bd470bd22d39393b337330">More...</a><br /></td></tr>
<tr class="separator:a5df63eab78bd470bd22d39393b337330"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac847151b42a5c784589acf6cc03efa18"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#ac847151b42a5c784589acf6cc03efa18">isDragging</a> () const noexcept</td></tr>
<tr class="memdesc:ac847151b42a5c784589acf6cc03efa18"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this device is currently being pressed. <a href="#ac847151b42a5c784589acf6cc03efa18">More...</a><br /></td></tr>
<tr class="separator:ac847151b42a5c784589acf6cc03efa18"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10dbf9c4769008cfb5ba873d65a2b77c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPoint.html">Point</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a10dbf9c4769008cfb5ba873d65a2b77c">getScreenPosition</a> () const noexcept</td></tr>
<tr class="memdesc:a10dbf9c4769008cfb5ba873d65a2b77c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the last-known screen position of this source. <a href="#a10dbf9c4769008cfb5ba873d65a2b77c">More...</a><br /></td></tr>
<tr class="separator:a10dbf9c4769008cfb5ba873d65a2b77c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a69fd0c708be6a6602ee44f3b1228f94e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classModifierKeys.html">ModifierKeys</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a69fd0c708be6a6602ee44f3b1228f94e">getCurrentModifiers</a> () const noexcept</td></tr>
<tr class="memdesc:a69fd0c708be6a6602ee44f3b1228f94e"><td class="mdescLeft"> </td><td class="mdescRight">Returns a set of modifiers that indicate which buttons are currently held down on this device. <a href="#a69fd0c708be6a6602ee44f3b1228f94e">More...</a><br /></td></tr>
<tr class="separator:a69fd0c708be6a6602ee44f3b1228f94e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb273f97307a07db7aff231e2de6a564"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#acb273f97307a07db7aff231e2de6a564">getCurrentPressure</a> () const noexcept</td></tr>
<tr class="memdesc:acb273f97307a07db7aff231e2de6a564"><td class="mdescLeft"> </td><td class="mdescRight">Returns the device's current touch or pen pressure. <a href="#acb273f97307a07db7aff231e2de6a564">More...</a><br /></td></tr>
<tr class="separator:acb273f97307a07db7aff231e2de6a564"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a16158cde3ca2148c4f589dd7b186347b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a16158cde3ca2148c4f589dd7b186347b">isPressureValid</a> () const noexcept</td></tr>
<tr class="memdesc:a16158cde3ca2148c4f589dd7b186347b"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the current pressure value is meaningful. <a href="#a16158cde3ca2148c4f589dd7b186347b">More...</a><br /></td></tr>
<tr class="separator:a16158cde3ca2148c4f589dd7b186347b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4d3c258adb44777fc448c39a30e27dcb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComponent.html">Component</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a4d3c258adb44777fc448c39a30e27dcb">getComponentUnderMouse</a> () const</td></tr>
<tr class="memdesc:a4d3c258adb44777fc448c39a30e27dcb"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component that was last known to be under this pointer. <a href="#a4d3c258adb44777fc448c39a30e27dcb">More...</a><br /></td></tr>
<tr class="separator:a4d3c258adb44777fc448c39a30e27dcb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a198c9c22ef316adffbda07e32d5ca75d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a198c9c22ef316adffbda07e32d5ca75d">triggerFakeMove</a> () const</td></tr>
<tr class="memdesc:a198c9c22ef316adffbda07e32d5ca75d"><td class="mdescLeft"> </td><td class="mdescRight">Tells the device to dispatch a mouse-move or mouse-drag event. <a href="#a198c9c22ef316adffbda07e32d5ca75d">More...</a><br /></td></tr>
<tr class="separator:a198c9c22ef316adffbda07e32d5ca75d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a42bbc70e6f7a10e4cc98ff0c03a4b12e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a42bbc70e6f7a10e4cc98ff0c03a4b12e">getNumberOfMultipleClicks</a> () const noexcept</td></tr>
<tr class="memdesc:a42bbc70e6f7a10e4cc98ff0c03a4b12e"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of clicks that should be counted as belonging to the current mouse event. <a href="#a42bbc70e6f7a10e4cc98ff0c03a4b12e">More...</a><br /></td></tr>
<tr class="separator:a42bbc70e6f7a10e4cc98ff0c03a4b12e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abb5ad7dac8b0721c935bda1c10c1fd9f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTime.html">Time</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#abb5ad7dac8b0721c935bda1c10c1fd9f">getLastMouseDownTime</a> () const noexcept</td></tr>
<tr class="memdesc:abb5ad7dac8b0721c935bda1c10c1fd9f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the time at which the last mouse-down occurred. <a href="#abb5ad7dac8b0721c935bda1c10c1fd9f">More...</a><br /></td></tr>
<tr class="separator:abb5ad7dac8b0721c935bda1c10c1fd9f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a800fb252a9589738a7fe264fc9161759"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPoint.html">Point</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a800fb252a9589738a7fe264fc9161759">getLastMouseDownPosition</a> () const noexcept</td></tr>
<tr class="memdesc:a800fb252a9589738a7fe264fc9161759"><td class="mdescLeft"> </td><td class="mdescRight">Returns the screen position at which the last mouse-down occurred. <a href="#a800fb252a9589738a7fe264fc9161759">More...</a><br /></td></tr>
<tr class="separator:a800fb252a9589738a7fe264fc9161759"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a351f9a0c4b526c0d2702417e54fc726a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a351f9a0c4b526c0d2702417e54fc726a">hasMouseMovedSignificantlySincePressed</a> () const noexcept</td></tr>
<tr class="memdesc:a351f9a0c4b526c0d2702417e54fc726a"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this mouse is currently down, and if it has been dragged more than a couple of pixels from the place it was pressed. <a href="#a351f9a0c4b526c0d2702417e54fc726a">More...</a><br /></td></tr>
<tr class="separator:a351f9a0c4b526c0d2702417e54fc726a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2b2d3176e07d9672e949dc88135f532"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#ad2b2d3176e07d9672e949dc88135f532">hasMouseCursor</a> () const noexcept</td></tr>
<tr class="memdesc:ad2b2d3176e07d9672e949dc88135f532"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this input source uses a visible mouse cursor. <a href="#ad2b2d3176e07d9672e949dc88135f532">More...</a><br /></td></tr>
<tr class="separator:ad2b2d3176e07d9672e949dc88135f532"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acd385b3a829ec2d6a5aabb5ecedfcbce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#acd385b3a829ec2d6a5aabb5ecedfcbce">showMouseCursor</a> (const <a class="el" href="classMouseCursor.html">MouseCursor</a> &cursor)</td></tr>
<tr class="memdesc:acd385b3a829ec2d6a5aabb5ecedfcbce"><td class="mdescLeft"> </td><td class="mdescRight">Changes the mouse cursor, (if there is one). <a href="#acd385b3a829ec2d6a5aabb5ecedfcbce">More...</a><br /></td></tr>
<tr class="separator:acd385b3a829ec2d6a5aabb5ecedfcbce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a61bc07273b91b328bcff92e721a2461e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a61bc07273b91b328bcff92e721a2461e">hideCursor</a> ()</td></tr>
<tr class="memdesc:a61bc07273b91b328bcff92e721a2461e"><td class="mdescLeft"> </td><td class="mdescRight">Hides the mouse cursor (if there is one). <a href="#a61bc07273b91b328bcff92e721a2461e">More...</a><br /></td></tr>
<tr class="separator:a61bc07273b91b328bcff92e721a2461e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade2da3233cdfaab0e8b6baf5671682bb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#ade2da3233cdfaab0e8b6baf5671682bb">revealCursor</a> ()</td></tr>
<tr class="memdesc:ade2da3233cdfaab0e8b6baf5671682bb"><td class="mdescLeft"> </td><td class="mdescRight">Un-hides the mouse cursor if it was hidden by <a class="el" href="classMouseInputSource.html#a61bc07273b91b328bcff92e721a2461e" title="Hides the mouse cursor (if there is one). ">hideCursor()</a>. <a href="#ade2da3233cdfaab0e8b6baf5671682bb">More...</a><br /></td></tr>
<tr class="separator:ade2da3233cdfaab0e8b6baf5671682bb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abb9ef3b672be6570b2345ad12fa93e7d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#abb9ef3b672be6570b2345ad12fa93e7d">forceMouseCursorUpdate</a> ()</td></tr>
<tr class="memdesc:abb9ef3b672be6570b2345ad12fa93e7d"><td class="mdescLeft"> </td><td class="mdescRight">Forces an update of the mouse cursor for whatever component it's currently over. <a href="#abb9ef3b672be6570b2345ad12fa93e7d">More...</a><br /></td></tr>
<tr class="separator:abb9ef3b672be6570b2345ad12fa93e7d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a75c31f53d17ea048bf83e19e8b051ba2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#a75c31f53d17ea048bf83e19e8b051ba2">canDoUnboundedMovement</a> () const noexcept</td></tr>
<tr class="memdesc:a75c31f53d17ea048bf83e19e8b051ba2"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this mouse can be moved indefinitely in any direction without running out of space. <a href="#a75c31f53d17ea048bf83e19e8b051ba2">More...</a><br /></td></tr>
<tr class="separator:a75c31f53d17ea048bf83e19e8b051ba2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad0065b78d89d7dafdcd183fcafccf852"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#ad0065b78d89d7dafdcd183fcafccf852">enableUnboundedMouseMovement</a> (bool isEnabled, bool keepCursorVisibleUntilOffscreen=false) const</td></tr>
<tr class="memdesc:ad0065b78d89d7dafdcd183fcafccf852"><td class="mdescLeft"> </td><td class="mdescRight">Allows the mouse to move beyond the edges of the screen. <a href="#ad0065b78d89d7dafdcd183fcafccf852">More...</a><br /></td></tr>
<tr class="separator:ad0065b78d89d7dafdcd183fcafccf852"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad6ca0f4d4cab9f058a6341b4b6a57869"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#ad6ca0f4d4cab9f058a6341b4b6a57869">isUnboundedMouseMovementEnabled</a> () const</td></tr>
<tr class="memdesc:ad6ca0f4d4cab9f058a6341b4b6a57869"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this source is currently in "unbounded" mode. <a href="#ad6ca0f4d4cab9f058a6341b4b6a57869">More...</a><br /></td></tr>
<tr class="separator:ad6ca0f4d4cab9f058a6341b4b6a57869"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adb92bc833aaf6e7cb15c3f1f01fd7f09"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#adb92bc833aaf6e7cb15c3f1f01fd7f09">setScreenPosition</a> (<a class="el" href="classPoint.html">Point</a>< float > newPosition)</td></tr>
<tr class="memdesc:adb92bc833aaf6e7cb15c3f1f01fd7f09"><td class="mdescLeft"> </td><td class="mdescRight">Attempts to set this mouse pointer's screen position. <a href="#adb92bc833aaf6e7cb15c3f1f01fd7f09">More...</a><br /></td></tr>
<tr class="separator:adb92bc833aaf6e7cb15c3f1f01fd7f09"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:ab6d90cac2cd10bbe7f6f1263f971ef54"><td class="memItemLeft" align="right" valign="top">static const float </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseInputSource.html#ab6d90cac2cd10bbe7f6f1263f971ef54">invalidPressure</a></td></tr>
<tr class="memdesc:ab6d90cac2cd10bbe7f6f1263f971ef54"><td class="mdescLeft"> </td><td class="mdescRight">A default value for pressure, which is used when a device doesn't support it, or for mouse-moves, mouse-ups, etc. <a href="#ab6d90cac2cd10bbe7f6f1263f971ef54">More...</a><br /></td></tr>
<tr class="separator:ab6d90cac2cd10bbe7f6f1263f971ef54"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a linear source of mouse events from a mouse device or individual finger in a multi-touch environment. </p>
<p>Each <a class="el" href="classMouseEvent.html" title="Contains position and status information about a mouse event. ">MouseEvent</a> object contains a reference to the <a class="el" href="classMouseInputSource.html" title="Represents a linear source of mouse events from a mouse device or individual finger in a multi-touch ...">MouseInputSource</a> that generated it. In an environment with a single mouse for input, all events will come from the same source, but in a multi-touch system, there may be multiple <a class="el" href="classMouseInputSource.html" title="Represents a linear source of mouse events from a mouse device or individual finger in a multi-touch ...">MouseInputSource</a> obects active, each representing a stream of events coming from a particular finger.</p>
<p>Events coming from a single <a class="el" href="classMouseInputSource.html" title="Represents a linear source of mouse events from a mouse device or individual finger in a multi-touch ...">MouseInputSource</a> are always sent in a fixed and predictable order: a mouseMove will never be called without a mouseEnter having been sent beforehand, the only events that can happen between a mouseDown and its corresponding mouseUp are mouseDrags, etc. When there are multiple touches arriving from multiple MouseInputSources, their event streams may arrive in an interleaved order, so you should use the <a class="el" href="classMouseInputSource.html#a5df63eab78bd470bd22d39393b337330" title="Returns this source's index in the global list of possible sources. ">getIndex()</a> method to find out which finger each event came from.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classMouseEvent.html" title="Contains position and status information about a mouse event. ">MouseEvent</a> </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="ae8071d803ab710d0239cfcfa6ddc399d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8071d803ab710d0239cfcfa6ddc399d">§ </a></span>MouseInputSource()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">MouseInputSource::MouseInputSource </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseInputSource.html">MouseInputSource</a> & </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad5e7c3fd30aa82348a40e18c161bb0fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5e7c3fd30aa82348a40e18c161bb0fd">§ </a></span>~MouseInputSource()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">MouseInputSource::~MouseInputSource </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab6126b51c34685e6d1cca88d6727c083"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6126b51c34685e6d1cca88d6727c083">§ </a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classMouseInputSource.html">MouseInputSource</a>& MouseInputSource::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseInputSource.html">MouseInputSource</a> & </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a0ac6b1ea5236f12c53b7592f55306103"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ac6b1ea5236f12c53b7592f55306103">§ </a></span>operator==()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseInputSource.html">MouseInputSource</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a081a7cc2d0a9d4690073ffc455a736d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a081a7cc2d0a9d4690073ffc455a736d0">§ </a></span>operator!=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseInputSource.html">MouseInputSource</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a15eba960dd5bb4c991a79bfab615744d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15eba960dd5bb4c991a79bfab615744d">§ </a></span>isMouse()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::isMouse </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this object represents a normal desk-based mouse device. </p>
</div>
</div>
<a id="a12838c02637c94ba962b233bfad1c77e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12838c02637c94ba962b233bfad1c77e">§ </a></span>isTouch()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::isTouch </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this object represents a source of touch events - i.e. </p>
<p>a finger or stylus. </p>
</div>
</div>
<a id="a140f11275e9a6b0945c518c73fb5ddb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a140f11275e9a6b0945c518c73fb5ddb1">§ </a></span>canHover()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::canHover </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this source has an on-screen pointer that can hover over items without clicking them. </p>
</div>
</div>
<a id="a691068a9661fb11b3e7b10f51a4254b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a691068a9661fb11b3e7b10f51a4254b0">§ </a></span>hasMouseWheel()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::hasMouseWheel </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this source may have a scroll wheel. </p>
</div>
</div>
<a id="a5df63eab78bd470bd22d39393b337330"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5df63eab78bd470bd22d39393b337330">§ </a></span>getIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int MouseInputSource::getIndex </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns this source's index in the global list of possible sources. </p>
<p>If the system only has a single mouse, there will only be a single <a class="el" href="classMouseInputSource.html" title="Represents a linear source of mouse events from a mouse device or individual finger in a multi-touch ...">MouseInputSource</a> with an index of 0.</p>
<p>If the system supports multi-touch input, then the index will represent a finger number, starting from 0. When the first touch event begins, it will have finger number 0, and then if a second touch happens while the first is still down, it will have index 1, etc. </p>
</div>
</div>
<a id="ac847151b42a5c784589acf6cc03efa18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac847151b42a5c784589acf6cc03efa18">§ </a></span>isDragging()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::isDragging </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this device is currently being pressed. </p>
</div>
</div>
<a id="a10dbf9c4769008cfb5ba873d65a2b77c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10dbf9c4769008cfb5ba873d65a2b77c">§ </a></span>getScreenPosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPoint.html">Point</a><float> MouseInputSource::getScreenPosition </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the last-known screen position of this source. </p>
</div>
</div>
<a id="a69fd0c708be6a6602ee44f3b1228f94e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69fd0c708be6a6602ee44f3b1228f94e">§ </a></span>getCurrentModifiers()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classModifierKeys.html">ModifierKeys</a> MouseInputSource::getCurrentModifiers </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a set of modifiers that indicate which buttons are currently held down on this device. </p>
</div>
</div>
<a id="acb273f97307a07db7aff231e2de6a564"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb273f97307a07db7aff231e2de6a564">§ </a></span>getCurrentPressure()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">float MouseInputSource::getCurrentPressure </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the device's current touch or pen pressure. </p>
<p>The range is 0 (soft) to 1 (hard). If the input device doesn't provide any pressure data, it may return a negative value here, or 0.0 or 1.0, depending on the platform. </p>
</div>
</div>
<a id="a16158cde3ca2148c4f589dd7b186347b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16158cde3ca2148c4f589dd7b186347b">§ </a></span>isPressureValid()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::isPressureValid </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the current pressure value is meaningful. </p>
</div>
</div>
<a id="a4d3c258adb44777fc448c39a30e27dcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d3c258adb44777fc448c39a30e27dcb">§ </a></span>getComponentUnderMouse()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComponent.html">Component</a>* MouseInputSource::getComponentUnderMouse </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the component that was last known to be under this pointer. </p>
</div>
</div>
<a id="a198c9c22ef316adffbda07e32d5ca75d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a198c9c22ef316adffbda07e32d5ca75d">§ </a></span>triggerFakeMove()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MouseInputSource::triggerFakeMove </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Tells the device to dispatch a mouse-move or mouse-drag event. </p>
<p>This is asynchronous - the event will occur on the message thread. </p>
</div>
</div>
<a id="a42bbc70e6f7a10e4cc98ff0c03a4b12e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42bbc70e6f7a10e4cc98ff0c03a4b12e">§ </a></span>getNumberOfMultipleClicks()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int MouseInputSource::getNumberOfMultipleClicks </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of clicks that should be counted as belonging to the current mouse event. </p>
<p>So the mouse is currently down and it's the second click of a double-click, this will return 2. </p>
</div>
</div>
<a id="abb5ad7dac8b0721c935bda1c10c1fd9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb5ad7dac8b0721c935bda1c10c1fd9f">§ </a></span>getLastMouseDownTime()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTime.html">Time</a> MouseInputSource::getLastMouseDownTime </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the time at which the last mouse-down occurred. </p>
</div>
</div>
<a id="a800fb252a9589738a7fe264fc9161759"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a800fb252a9589738a7fe264fc9161759">§ </a></span>getLastMouseDownPosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPoint.html">Point</a><float> MouseInputSource::getLastMouseDownPosition </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the screen position at which the last mouse-down occurred. </p>
</div>
</div>
<a id="a351f9a0c4b526c0d2702417e54fc726a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a351f9a0c4b526c0d2702417e54fc726a">§ </a></span>hasMouseMovedSignificantlySincePressed()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::hasMouseMovedSignificantlySincePressed </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this mouse is currently down, and if it has been dragged more than a couple of pixels from the place it was pressed. </p>
</div>
</div>
<a id="ad2b2d3176e07d9672e949dc88135f532"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2b2d3176e07d9672e949dc88135f532">§ </a></span>hasMouseCursor()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::hasMouseCursor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this input source uses a visible mouse cursor. </p>
</div>
</div>
<a id="acd385b3a829ec2d6a5aabb5ecedfcbce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd385b3a829ec2d6a5aabb5ecedfcbce">§ </a></span>showMouseCursor()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MouseInputSource::showMouseCursor </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseCursor.html">MouseCursor</a> & </td>
<td class="paramname"><em>cursor</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the mouse cursor, (if there is one). </p>
</div>
</div>
<a id="a61bc07273b91b328bcff92e721a2461e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61bc07273b91b328bcff92e721a2461e">§ </a></span>hideCursor()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MouseInputSource::hideCursor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Hides the mouse cursor (if there is one). </p>
</div>
</div>
<a id="ade2da3233cdfaab0e8b6baf5671682bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade2da3233cdfaab0e8b6baf5671682bb">§ </a></span>revealCursor()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MouseInputSource::revealCursor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Un-hides the mouse cursor if it was hidden by <a class="el" href="classMouseInputSource.html#a61bc07273b91b328bcff92e721a2461e" title="Hides the mouse cursor (if there is one). ">hideCursor()</a>. </p>
</div>
</div>
<a id="abb9ef3b672be6570b2345ad12fa93e7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb9ef3b672be6570b2345ad12fa93e7d">§ </a></span>forceMouseCursorUpdate()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MouseInputSource::forceMouseCursorUpdate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Forces an update of the mouse cursor for whatever component it's currently over. </p>
</div>
</div>
<a id="a75c31f53d17ea048bf83e19e8b051ba2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75c31f53d17ea048bf83e19e8b051ba2">§ </a></span>canDoUnboundedMovement()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::canDoUnboundedMovement </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this mouse can be moved indefinitely in any direction without running out of space. </p>
</div>
</div>
<a id="ad0065b78d89d7dafdcd183fcafccf852"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0065b78d89d7dafdcd183fcafccf852">§ </a></span>enableUnboundedMouseMovement()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MouseInputSource::enableUnboundedMouseMovement </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>isEnabled</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>keepCursorVisibleUntilOffscreen</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Allows the mouse to move beyond the edges of the screen. </p>
<p>Calling this method when the mouse button is currently pressed will remove the cursor from the screen and allow the mouse to (seem to) move beyond the edges of the screen.</p>
<p>This means that the coordinates returned to mouseDrag() will be unbounded, and this can be used for things like custom slider controls or dragging objects around, where movement would be otherwise be limited by the mouse hitting the edges of the screen.</p>
<p>The unbounded mode is automatically turned off when the mouse button is released, or it can be turned off explicitly by calling this method again.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">isEnabled</td><td>whether to turn this mode on or off </td></tr>
<tr><td class="paramname">keepCursorVisibleUntilOffscreen</td><td>if set to false, the cursor will immediately be hidden; if true, it will only be hidden when it is moved beyond the edge of the screen </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ad6ca0f4d4cab9f058a6341b4b6a57869"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6ca0f4d4cab9f058a6341b4b6a57869">§ </a></span>isUnboundedMouseMovementEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool MouseInputSource::isUnboundedMouseMovementEnabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this source is currently in "unbounded" mode. </p>
</div>
</div>
<a id="adb92bc833aaf6e7cb15c3f1f01fd7f09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb92bc833aaf6e7cb15c3f1f01fd7f09">§ </a></span>setScreenPosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MouseInputSource::setScreenPosition </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>newPosition</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Attempts to set this mouse pointer's screen position. </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ab6d90cac2cd10bbe7f6f1263f971ef54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6d90cac2cd10bbe7f6f1263f971ef54">§ </a></span>invalidPressure</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const float MouseInputSource::invalidPressure</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A default value for pressure, which is used when a device doesn't support it, or for mouse-moves, mouse-ups, etc. </p>
<p>Referenced by <a class="el" href="classFakeMouseMoveGenerator.html#a9b66aec9e060556136c605f018f01786">FakeMouseMoveGenerator::timerCallback()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__MouseInputSource_8h.html">juce_MouseInputSource.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|