/usr/share/doc/libjuce/apiref/classModifierKeys.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 | <!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: ModifierKeys 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-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="classModifierKeys-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ModifierKeys Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Represents the state of the mouse buttons and modifier keys.
<a href="classModifierKeys.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:acdd2a85defa6a705d74e1a63d193678b"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678b">Flags</a> { <br />
  <a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678bae42cb786cbb3c1d7d50c9c1f659838a5">noModifiers</a> = 0,
<a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678baafc1c1b745213b6915f1932ecf0ea042">shiftModifier</a> = 1,
<a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba1328b9c57c54ec51dbbfacb537cc737b">ctrlModifier</a> = 2,
<a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba06a1a39ebe788d01c5d421f8f472347d">altModifier</a> = 4,
<br />
  <a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba0248a87157fdf267a857b723d30f5c8f">leftButtonModifier</a> = 16,
<a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba4676310fa50ddb14bb81722e1dd3bdd5">rightButtonModifier</a> = 32,
<a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba332cb354a7b1cb322e97c6678d94ee22">middleButtonModifier</a> = 64,
<a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba5e28f0dd247a86d9a21bdcabd644d058">commandModifier</a> = 8,
<br />
  <a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba95a2100e9a4b1a5786b253c065936627">popupMenuClickModifier</a> = rightButtonModifier | ctrlModifier,
<a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678bad234b97b656e78e1b0c500bff2618126">allKeyboardModifiers</a> = shiftModifier | ctrlModifier | altModifier | commandModifier,
<a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678bac6eb27985ac385d33aa8c8ea9a261dc8">allMouseButtonModifiers</a> = leftButtonModifier | rightButtonModifier | middleButtonModifier,
<a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba2647f9ed4b2db164973d8b735f3b216a">ctrlAltCommandModifiers</a> = ctrlModifier | altModifier | commandModifier
<br />
}<tr class="memdesc:acdd2a85defa6a705d74e1a63d193678b"><td class="mdescLeft"> </td><td class="mdescRight">Flags that represent the different keys. <a href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678b">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:acdd2a85defa6a705d74e1a63d193678b"><td class="memSeparator" colspan="2"> </td></tr>
</table><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:adfcf4939ec180442da20992c50de24ae"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#adfcf4939ec180442da20992c50de24ae">ModifierKeys</a> () noexcept</td></tr>
<tr class="memdesc:adfcf4939ec180442da20992c50de24ae"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classModifierKeys.html" title="Represents the state of the mouse buttons and modifier keys. ">ModifierKeys</a> object with no flags set. <a href="#adfcf4939ec180442da20992c50de24ae">More...</a><br /></td></tr>
<tr class="separator:adfcf4939ec180442da20992c50de24ae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab75d0460df15e0c4ba76fab270ea9623"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#ab75d0460df15e0c4ba76fab270ea9623">ModifierKeys</a> (int flags) noexcept</td></tr>
<tr class="memdesc:ab75d0460df15e0c4ba76fab270ea9623"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classModifierKeys.html" title="Represents the state of the mouse buttons and modifier keys. ">ModifierKeys</a> object from a raw set of flags. <a href="#ab75d0460df15e0c4ba76fab270ea9623">More...</a><br /></td></tr>
<tr class="separator:ab75d0460df15e0c4ba76fab270ea9623"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a617688714d7b3a91dc908ac9a20b249b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#a617688714d7b3a91dc908ac9a20b249b">ModifierKeys</a> (const <a class="el" href="classModifierKeys.html">ModifierKeys</a> &other) noexcept</td></tr>
<tr class="memdesc:a617688714d7b3a91dc908ac9a20b249b"><td class="mdescLeft"> </td><td class="mdescRight">Creates a copy of another object. <a href="#a617688714d7b3a91dc908ac9a20b249b">More...</a><br /></td></tr>
<tr class="separator:a617688714d7b3a91dc908ac9a20b249b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8b0bdca0950275c43b2aeef57885e66b"><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="classModifierKeys.html#a8b0bdca0950275c43b2aeef57885e66b">operator=</a> (const <a class="el" href="classModifierKeys.html">ModifierKeys</a> other) noexcept</td></tr>
<tr class="memdesc:a8b0bdca0950275c43b2aeef57885e66b"><td class="mdescLeft"> </td><td class="mdescRight">Copies this object from another one. <a href="#a8b0bdca0950275c43b2aeef57885e66b">More...</a><br /></td></tr>
<tr class="separator:a8b0bdca0950275c43b2aeef57885e66b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88f9e02beb40f6461d6ed8b655b7ebb3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#a88f9e02beb40f6461d6ed8b655b7ebb3">isCommandDown</a> () const noexcept</td></tr>
<tr class="memdesc:a88f9e02beb40f6461d6ed8b655b7ebb3"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the 'command' key flag is set (or 'ctrl' on Windows/Linux). <a href="#a88f9e02beb40f6461d6ed8b655b7ebb3">More...</a><br /></td></tr>
<tr class="separator:a88f9e02beb40f6461d6ed8b655b7ebb3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aedd7b0f26fdc0a2355947aadb7ecc650"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#aedd7b0f26fdc0a2355947aadb7ecc650">isPopupMenu</a> () const noexcept</td></tr>
<tr class="memdesc:aedd7b0f26fdc0a2355947aadb7ecc650"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the user is trying to launch a pop-up menu. <a href="#aedd7b0f26fdc0a2355947aadb7ecc650">More...</a><br /></td></tr>
<tr class="separator:aedd7b0f26fdc0a2355947aadb7ecc650"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a38ab832ba987f15ec2ba6ba71b6c02b7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#a38ab832ba987f15ec2ba6ba71b6c02b7">isLeftButtonDown</a> () const noexcept</td></tr>
<tr class="memdesc:a38ab832ba987f15ec2ba6ba71b6c02b7"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the flag is set for the left mouse-button. <a href="#a38ab832ba987f15ec2ba6ba71b6c02b7">More...</a><br /></td></tr>
<tr class="separator:a38ab832ba987f15ec2ba6ba71b6c02b7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a25e86fa7211644350b4b946989d1623c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#a25e86fa7211644350b4b946989d1623c">isRightButtonDown</a> () const noexcept</td></tr>
<tr class="memdesc:a25e86fa7211644350b4b946989d1623c"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the flag is set for the right mouse-button. <a href="#a25e86fa7211644350b4b946989d1623c">More...</a><br /></td></tr>
<tr class="separator:a25e86fa7211644350b4b946989d1623c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a31d1d60335d49a8647cfc70a08f0ddbc"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#a31d1d60335d49a8647cfc70a08f0ddbc">isMiddleButtonDown</a> () const noexcept</td></tr>
<tr class="separator:a31d1d60335d49a8647cfc70a08f0ddbc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70d85aa2a4b5908357ee626b54faff7c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#a70d85aa2a4b5908357ee626b54faff7c">isAnyMouseButtonDown</a> () const noexcept</td></tr>
<tr class="memdesc:a70d85aa2a4b5908357ee626b54faff7c"><td class="mdescLeft"> </td><td class="mdescRight">Tests for any of the mouse-button flags. <a href="#a70d85aa2a4b5908357ee626b54faff7c">More...</a><br /></td></tr>
<tr class="separator:a70d85aa2a4b5908357ee626b54faff7c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0484a727ea9f8de0c2f3c9ac86a64108"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#a0484a727ea9f8de0c2f3c9ac86a64108">isAnyModifierKeyDown</a> () const noexcept</td></tr>
<tr class="memdesc:a0484a727ea9f8de0c2f3c9ac86a64108"><td class="mdescLeft"> </td><td class="mdescRight">Tests for any of the modifier key flags. <a href="#a0484a727ea9f8de0c2f3c9ac86a64108">More...</a><br /></td></tr>
<tr class="separator:a0484a727ea9f8de0c2f3c9ac86a64108"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd9f4558046eccad2c3a3366c6bcf6b0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#afd9f4558046eccad2c3a3366c6bcf6b0">isShiftDown</a> () const noexcept</td></tr>
<tr class="memdesc:afd9f4558046eccad2c3a3366c6bcf6b0"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the shift key's flag is set. <a href="#afd9f4558046eccad2c3a3366c6bcf6b0">More...</a><br /></td></tr>
<tr class="separator:afd9f4558046eccad2c3a3366c6bcf6b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a06514fc0170112636f4582b1f997de39"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#a06514fc0170112636f4582b1f997de39">isCtrlDown</a> () const noexcept</td></tr>
<tr class="memdesc:a06514fc0170112636f4582b1f997de39"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the CTRL key's flag is set. <a href="#a06514fc0170112636f4582b1f997de39">More...</a><br /></td></tr>
<tr class="separator:a06514fc0170112636f4582b1f997de39"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7cb1ec2ddb92d635e19397d485874d68"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#a7cb1ec2ddb92d635e19397d485874d68">isAltDown</a> () const noexcept</td></tr>
<tr class="memdesc:a7cb1ec2ddb92d635e19397d485874d68"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the ALT key's flag is set. <a href="#a7cb1ec2ddb92d635e19397d485874d68">More...</a><br /></td></tr>
<tr class="separator:a7cb1ec2ddb92d635e19397d485874d68"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a415c95f97a814d74e27e09665ee9ffb6"><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="classModifierKeys.html#a415c95f97a814d74e27e09665ee9ffb6">withOnlyMouseButtons</a> () const noexcept</td></tr>
<tr class="memdesc:a415c95f97a814d74e27e09665ee9ffb6"><td class="mdescLeft"> </td><td class="mdescRight">Returns a copy of only the mouse-button flags. <a href="#a415c95f97a814d74e27e09665ee9ffb6">More...</a><br /></td></tr>
<tr class="separator:a415c95f97a814d74e27e09665ee9ffb6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3721a2e2f7aa8f34a3c28caa804c8356"><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="classModifierKeys.html#a3721a2e2f7aa8f34a3c28caa804c8356">withoutMouseButtons</a> () const noexcept</td></tr>
<tr class="memdesc:a3721a2e2f7aa8f34a3c28caa804c8356"><td class="mdescLeft"> </td><td class="mdescRight">Returns a copy of only the non-mouse flags. <a href="#a3721a2e2f7aa8f34a3c28caa804c8356">More...</a><br /></td></tr>
<tr class="separator:a3721a2e2f7aa8f34a3c28caa804c8356"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac581198c60ed721b711c38c6ba71abcd"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#ac581198c60ed721b711c38c6ba71abcd">operator==</a> (const <a class="el" href="classModifierKeys.html">ModifierKeys</a> other) const noexcept</td></tr>
<tr class="separator:ac581198c60ed721b711c38c6ba71abcd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acd41313d83aae5e1f00373d991bbec11"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#acd41313d83aae5e1f00373d991bbec11">operator!=</a> (const <a class="el" href="classModifierKeys.html">ModifierKeys</a> other) const noexcept</td></tr>
<tr class="separator:acd41313d83aae5e1f00373d991bbec11"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae503d7f23c5d3fa5b0318a090935d9ce"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#ae503d7f23c5d3fa5b0318a090935d9ce">getRawFlags</a> () const noexcept</td></tr>
<tr class="memdesc:ae503d7f23c5d3fa5b0318a090935d9ce"><td class="mdescLeft"> </td><td class="mdescRight">Returns the raw flags for direct testing. <a href="#ae503d7f23c5d3fa5b0318a090935d9ce">More...</a><br /></td></tr>
<tr class="separator:ae503d7f23c5d3fa5b0318a090935d9ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a00ef202e1fad8edda50b9f4632bb64e0"><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="classModifierKeys.html#a00ef202e1fad8edda50b9f4632bb64e0">withoutFlags</a> (int rawFlagsToClear) const noexcept</td></tr>
<tr class="separator:a00ef202e1fad8edda50b9f4632bb64e0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a34d981c0d9431e661b84f4685f1e37ee"><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="classModifierKeys.html#a34d981c0d9431e661b84f4685f1e37ee">withFlags</a> (int rawFlagsToSet) const noexcept</td></tr>
<tr class="separator:a34d981c0d9431e661b84f4685f1e37ee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af45a4e42e28ad7a89679898d644fc38b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#af45a4e42e28ad7a89679898d644fc38b">testFlags</a> (int flagsToTest) const noexcept</td></tr>
<tr class="memdesc:af45a4e42e28ad7a89679898d644fc38b"><td class="mdescLeft"> </td><td class="mdescRight">Tests a combination of flags and returns true if any of them are set. <a href="#af45a4e42e28ad7a89679898d644fc38b">More...</a><br /></td></tr>
<tr class="separator:af45a4e42e28ad7a89679898d644fc38b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2adc41db5a9ff04b6527bc6c1a656005"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#a2adc41db5a9ff04b6527bc6c1a656005">getNumMouseButtonsDown</a> () const noexcept</td></tr>
<tr class="memdesc:a2adc41db5a9ff04b6527bc6c1a656005"><td class="mdescLeft"> </td><td class="mdescRight">Returns the total number of mouse buttons that are down. <a href="#a2adc41db5a9ff04b6527bc6c1a656005">More...</a><br /></td></tr>
<tr class="separator:a2adc41db5a9ff04b6527bc6c1a656005"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a69b1631db7f2ec0367bfe39d2eb57398"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classModifierKeys.html">ModifierKeys</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#a69b1631db7f2ec0367bfe39d2eb57398">getCurrentModifiers</a> () noexcept</td></tr>
<tr class="memdesc:a69b1631db7f2ec0367bfe39d2eb57398"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classModifierKeys.html" title="Represents the state of the mouse buttons and modifier keys. ">ModifierKeys</a> object to represent the last-known state of the keyboard and mouse buttons. <a href="#a69b1631db7f2ec0367bfe39d2eb57398">More...</a><br /></td></tr>
<tr class="separator:a69b1631db7f2ec0367bfe39d2eb57398"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad174aefc02f39bf4892ef79aeb23fec4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classModifierKeys.html">ModifierKeys</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classModifierKeys.html#ad174aefc02f39bf4892ef79aeb23fec4">getCurrentModifiersRealtime</a> () noexcept</td></tr>
<tr class="memdesc:ad174aefc02f39bf4892ef79aeb23fec4"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classModifierKeys.html" title="Represents the state of the mouse buttons and modifier keys. ">ModifierKeys</a> object to represent the current state of the keyboard and mouse buttons. <a href="#ad174aefc02f39bf4892ef79aeb23fec4">More...</a><br /></td></tr>
<tr class="separator:ad174aefc02f39bf4892ef79aeb23fec4"><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 the state of the mouse buttons and modifier keys. </p>
<p>This is used both by mouse events and by <a class="el" href="classKeyPress.html" title="Represents a key press, including any modifier keys that are needed. ">KeyPress</a> objects to describe the state of keys such as shift, control, alt, etc.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classKeyPress.html" title="Represents a key press, including any modifier keys that are needed. ">KeyPress</a>, <a class="el" href="classMouseEvent.html#aaabc365b704e243b193b41113d4e50de" title="The key modifiers associated with the event. ">MouseEvent::mods</a> </dd></dl>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="acdd2a85defa6a705d74e1a63d193678b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdd2a85defa6a705d74e1a63d193678b">§ </a></span>Flags</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678b">ModifierKeys::Flags</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Flags that represent the different keys. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678bae42cb786cbb3c1d7d50c9c1f659838a5"></a>noModifiers </td><td class="fielddoc"><p>Indicates no modifier keys. </p>
</td></tr>
<tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678baafc1c1b745213b6915f1932ecf0ea042"></a>shiftModifier </td><td class="fielddoc"><p>Shift key flag. </p>
</td></tr>
<tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678ba1328b9c57c54ec51dbbfacb537cc737b"></a>ctrlModifier </td><td class="fielddoc"><p>CTRL key flag. </p>
</td></tr>
<tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678ba06a1a39ebe788d01c5d421f8f472347d"></a>altModifier </td><td class="fielddoc"><p>ALT key flag. </p>
</td></tr>
<tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678ba0248a87157fdf267a857b723d30f5c8f"></a>leftButtonModifier </td><td class="fielddoc"><p>Left mouse button flag. </p>
</td></tr>
<tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678ba4676310fa50ddb14bb81722e1dd3bdd5"></a>rightButtonModifier </td><td class="fielddoc"><p>Right mouse button flag. </p>
</td></tr>
<tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678ba332cb354a7b1cb322e97c6678d94ee22"></a>middleButtonModifier </td><td class="fielddoc"><p>Middle mouse button flag. </p>
</td></tr>
<tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678ba5e28f0dd247a86d9a21bdcabd644d058"></a>commandModifier </td><td class="fielddoc"><p>Command key flag - on windows this is the same as the CTRL key flag. </p>
</td></tr>
<tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678ba95a2100e9a4b1a5786b253c065936627"></a>popupMenuClickModifier </td><td class="fielddoc"><p>Popup menu flag - on windows this is the same as rightButtonModifier, on the Mac it's the same as (rightButtonModifier | ctrlModifier). </p>
</td></tr>
<tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678bad234b97b656e78e1b0c500bff2618126"></a>allKeyboardModifiers </td><td class="fielddoc"><p>Represents a combination of all the shift, alt, ctrl and command key modifiers. </p>
</td></tr>
<tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678bac6eb27985ac385d33aa8c8ea9a261dc8"></a>allMouseButtonModifiers </td><td class="fielddoc"><p>Represents a combination of all the mouse buttons at once. </p>
</td></tr>
<tr><td class="fieldname"><a id="acdd2a85defa6a705d74e1a63d193678ba2647f9ed4b2db164973d8b735f3b216a"></a>ctrlAltCommandModifiers </td><td class="fielddoc"><p>Represents a combination of all the alt, ctrl and command key modifiers. </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="adfcf4939ec180442da20992c50de24ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfcf4939ec180442da20992c50de24ae">§ </a></span>ModifierKeys() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ModifierKeys::ModifierKeys </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">
<p>Creates a <a class="el" href="classModifierKeys.html" title="Represents the state of the mouse buttons and modifier keys. ">ModifierKeys</a> object with no flags set. </p>
</div>
</div>
<a id="ab75d0460df15e0c4ba76fab270ea9623"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab75d0460df15e0c4ba76fab270ea9623">§ </a></span>ModifierKeys() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ModifierKeys::ModifierKeys </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em></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">
<p>Creates a <a class="el" href="classModifierKeys.html" title="Represents the state of the mouse buttons and modifier keys. ">ModifierKeys</a> object from a raw set of flags. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">flags</td><td>to represent the keys that are down </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678baafc1c1b745213b6915f1932ecf0ea042" title="Shift key flag. ">shiftModifier</a>, <a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba1328b9c57c54ec51dbbfacb537cc737b" title="CTRL key flag. ">ctrlModifier</a>, <a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba06a1a39ebe788d01c5d421f8f472347d" title="ALT key flag. ">altModifier</a>, <a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba0248a87157fdf267a857b723d30f5c8f" title="Left mouse button flag. ">leftButtonModifier</a>, <a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba4676310fa50ddb14bb81722e1dd3bdd5" title="Right mouse button flag. ">rightButtonModifier</a>, <a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba5e28f0dd247a86d9a21bdcabd644d058" title="Command key flag - on windows this is the same as the CTRL key flag. ">commandModifier</a>, <a class="el" href="classModifierKeys.html#acdd2a85defa6a705d74e1a63d193678ba95a2100e9a4b1a5786b253c065936627" title="Popup menu flag - on windows this is the same as rightButtonModifier, on the Mac it's the same as (ri...">popupMenuClickModifier</a> </dd></dl>
</div>
</div>
<a id="a617688714d7b3a91dc908ac9a20b249b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a617688714d7b3a91dc908ac9a20b249b">§ </a></span>ModifierKeys() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ModifierKeys::ModifierKeys </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classModifierKeys.html">ModifierKeys</a> & </td>
<td class="paramname"><em>other</em></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">
<p>Creates a copy of another object. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8b0bdca0950275c43b2aeef57885e66b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b0bdca0950275c43b2aeef57885e66b">§ </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="classModifierKeys.html">ModifierKeys</a>& ModifierKeys::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classModifierKeys.html">ModifierKeys</a> </td>
<td class="paramname"><em>other</em></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">
<p>Copies this object from another one. </p>
</div>
</div>
<a id="a88f9e02beb40f6461d6ed8b655b7ebb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88f9e02beb40f6461d6ed8b655b7ebb3">§ </a></span>isCommandDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ModifierKeys::isCommandDown </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>Checks whether the 'command' key flag is set (or 'ctrl' on Windows/Linux). </p>
<p>This is a platform-agnostic way of checking for the operating system's preferred command-key modifier - so on the Mac it tests for the Apple key, on Windows/Linux, it's actually checking for the CTRL key. </p>
<p>Referenced by <a class="el" href="classSelectedItemSet.html#a1fe56a0bfb26c133d824cecf49961537">SelectedItemSet< SelectableItemType >::addToSelectionBasedOnModifiers()</a>, <a class="el" href="classLassoComponent.html#a4aca7f9f28ecef2834bfabe648ba6959">LassoComponent< SelectableItemType >::dragLasso()</a>, and <a class="el" href="structTextEditorKeyMapper.html#a34f96379252e9c5eb112ec09c6935d9d">TextEditorKeyMapper< CallbackClass >::invokeKeyFunction()</a>.</p>
</div>
</div>
<a id="aedd7b0f26fdc0a2355947aadb7ecc650"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aedd7b0f26fdc0a2355947aadb7ecc650">§ </a></span>isPopupMenu()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ModifierKeys::isPopupMenu </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>Checks whether the user is trying to launch a pop-up menu. </p>
<p>This checks for platform-specific modifiers that might indicate that the user is following the operating system's normal method of showing a pop-up menu.</p>
<p>So on Windows/Linux, this method is really testing for a right-click. On the Mac, it tests for either the CTRL key being down, or a right-click. </p>
<p>Referenced by <a class="el" href="classSelectedItemSet.html#ab37144a1dbc919d2fef3b3e496217b03">SelectedItemSet< SelectableItemType >::addToSelectionOnMouseDown()</a>.</p>
</div>
</div>
<a id="a38ab832ba987f15ec2ba6ba71b6c02b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38ab832ba987f15ec2ba6ba71b6c02b7">§ </a></span>isLeftButtonDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ModifierKeys::isLeftButtonDown </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>Checks whether the flag is set for the left mouse-button. </p>
</div>
</div>
<a id="a25e86fa7211644350b4b946989d1623c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25e86fa7211644350b4b946989d1623c">§ </a></span>isRightButtonDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ModifierKeys::isRightButtonDown </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>Checks whether the flag is set for the right mouse-button. </p>
<p>Note that for detecting popup-menu clicks, you should be using <a class="el" href="classModifierKeys.html#aedd7b0f26fdc0a2355947aadb7ecc650" title="Checks whether the user is trying to launch a pop-up menu. ">isPopupMenu()</a> instead, as this is platform-independent (and makes your code more explanatory too). </p>
</div>
</div>
<a id="a31d1d60335d49a8647cfc70a08f0ddbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31d1d60335d49a8647cfc70a08f0ddbc">§ </a></span>isMiddleButtonDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ModifierKeys::isMiddleButtonDown </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">
</div>
</div>
<a id="a70d85aa2a4b5908357ee626b54faff7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70d85aa2a4b5908357ee626b54faff7c">§ </a></span>isAnyMouseButtonDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ModifierKeys::isAnyMouseButtonDown </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>Tests for any of the mouse-button flags. </p>
<p>Referenced by <a class="el" href="classFakeMouseMoveGenerator.html#a9b66aec9e060556136c605f018f01786">FakeMouseMoveGenerator::timerCallback()</a>.</p>
</div>
</div>
<a id="a0484a727ea9f8de0c2f3c9ac86a64108"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0484a727ea9f8de0c2f3c9ac86a64108">§ </a></span>isAnyModifierKeyDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ModifierKeys::isAnyModifierKeyDown </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>Tests for any of the modifier key flags. </p>
</div>
</div>
<a id="afd9f4558046eccad2c3a3366c6bcf6b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd9f4558046eccad2c3a3366c6bcf6b0">§ </a></span>isShiftDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ModifierKeys::isShiftDown </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>Checks whether the shift key's flag is set. </p>
<p>Referenced by <a class="el" href="classSelectedItemSet.html#a1fe56a0bfb26c133d824cecf49961537">SelectedItemSet< SelectableItemType >::addToSelectionBasedOnModifiers()</a>, <a class="el" href="classLassoComponent.html#a4aca7f9f28ecef2834bfabe648ba6959">LassoComponent< SelectableItemType >::dragLasso()</a>, and <a class="el" href="structTextEditorKeyMapper.html#a34f96379252e9c5eb112ec09c6935d9d">TextEditorKeyMapper< CallbackClass >::invokeKeyFunction()</a>.</p>
</div>
</div>
<a id="a06514fc0170112636f4582b1f997de39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06514fc0170112636f4582b1f997de39">§ </a></span>isCtrlDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ModifierKeys::isCtrlDown </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>Checks whether the CTRL key's flag is set. </p>
<p>Remember that it's better to use the platform-agnostic routines to test for command-key and popup-menu modifiers.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classModifierKeys.html#a88f9e02beb40f6461d6ed8b655b7ebb3" title="Checks whether the 'command' key flag is set (or 'ctrl' on Windows/Linux). ">isCommandDown</a>, <a class="el" href="classModifierKeys.html#aedd7b0f26fdc0a2355947aadb7ecc650" title="Checks whether the user is trying to launch a pop-up menu. ">isPopupMenu</a> </dd></dl>
<p>Referenced by <a class="el" href="structTextEditorKeyMapper.html#a34f96379252e9c5eb112ec09c6935d9d">TextEditorKeyMapper< CallbackClass >::invokeKeyFunction()</a>.</p>
</div>
</div>
<a id="a7cb1ec2ddb92d635e19397d485874d68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cb1ec2ddb92d635e19397d485874d68">§ </a></span>isAltDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ModifierKeys::isAltDown </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>Checks whether the ALT key's flag is set. </p>
<p>Referenced by <a class="el" href="classLassoComponent.html#a4aca7f9f28ecef2834bfabe648ba6959">LassoComponent< SelectableItemType >::dragLasso()</a>, and <a class="el" href="structTextEditorKeyMapper.html#a34f96379252e9c5eb112ec09c6935d9d">TextEditorKeyMapper< CallbackClass >::invokeKeyFunction()</a>.</p>
</div>
</div>
<a id="a415c95f97a814d74e27e09665ee9ffb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a415c95f97a814d74e27e09665ee9ffb6">§ </a></span>withOnlyMouseButtons()</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> ModifierKeys::withOnlyMouseButtons </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 copy of only the mouse-button flags. </p>
</div>
</div>
<a id="a3721a2e2f7aa8f34a3c28caa804c8356"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3721a2e2f7aa8f34a3c28caa804c8356">§ </a></span>withoutMouseButtons()</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> ModifierKeys::withoutMouseButtons </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 copy of only the non-mouse flags. </p>
</div>
</div>
<a id="ac581198c60ed721b711c38c6ba71abcd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac581198c60ed721b711c38c6ba71abcd">§ </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 ModifierKeys::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classModifierKeys.html">ModifierKeys</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="acd41313d83aae5e1f00373d991bbec11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd41313d83aae5e1f00373d991bbec11">§ </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 ModifierKeys::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classModifierKeys.html">ModifierKeys</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="ae503d7f23c5d3fa5b0318a090935d9ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae503d7f23c5d3fa5b0318a090935d9ce">§ </a></span>getRawFlags()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int ModifierKeys::getRawFlags </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 raw flags for direct testing. </p>
</div>
</div>
<a id="a00ef202e1fad8edda50b9f4632bb64e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00ef202e1fad8edda50b9f4632bb64e0">§ </a></span>withoutFlags()</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> ModifierKeys::withoutFlags </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>rawFlagsToClear</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="a34d981c0d9431e661b84f4685f1e37ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34d981c0d9431e661b84f4685f1e37ee">§ </a></span>withFlags()</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> ModifierKeys::withFlags </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>rawFlagsToSet</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="af45a4e42e28ad7a89679898d644fc38b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af45a4e42e28ad7a89679898d644fc38b">§ </a></span>testFlags()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ModifierKeys::testFlags </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>flagsToTest</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">
<p>Tests a combination of flags and returns true if any of them are set. </p>
</div>
</div>
<a id="a2adc41db5a9ff04b6527bc6c1a656005"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2adc41db5a9ff04b6527bc6c1a656005">§ </a></span>getNumMouseButtonsDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int ModifierKeys::getNumMouseButtonsDown </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 total number of mouse buttons that are down. </p>
</div>
</div>
<a id="a69b1631db7f2ec0367bfe39d2eb57398"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69b1631db7f2ec0367bfe39d2eb57398">§ </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">static <a class="el" href="classModifierKeys.html">ModifierKeys</a> ModifierKeys::getCurrentModifiers </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classModifierKeys.html" title="Represents the state of the mouse buttons and modifier keys. ">ModifierKeys</a> object to represent the last-known state of the keyboard and mouse buttons. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classModifierKeys.html#ad174aefc02f39bf4892ef79aeb23fec4" title="Creates a ModifierKeys object to represent the current state of the keyboard and mouse buttons...">getCurrentModifiersRealtime</a> </dd></dl>
<p>Referenced by <a class="el" href="classFakeMouseMoveGenerator.html#a9b66aec9e060556136c605f018f01786">FakeMouseMoveGenerator::timerCallback()</a>.</p>
</div>
</div>
<a id="ad174aefc02f39bf4892ef79aeb23fec4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad174aefc02f39bf4892ef79aeb23fec4">§ </a></span>getCurrentModifiersRealtime()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classModifierKeys.html">ModifierKeys</a> ModifierKeys::getCurrentModifiersRealtime </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classModifierKeys.html" title="Represents the state of the mouse buttons and modifier keys. ">ModifierKeys</a> object to represent the current state of the keyboard and mouse buttons. </p>
<p>This isn't often needed and isn't recommended, but will actively check all the mouse and key states rather than just returning their last-known state like <a class="el" href="classModifierKeys.html#a69b1631db7f2ec0367bfe39d2eb57398" title="Creates a ModifierKeys object to represent the last-known state of the keyboard and mouse buttons...">getCurrentModifiers()</a> does.</p>
<p>This is only needed in special circumstances for up-to-date modifier information at times when the app's event loop isn't running normally.</p>
<p>Another reason to avoid this method is that it's not stateless, and calling it may update the value returned by <a class="el" href="classModifierKeys.html#a69b1631db7f2ec0367bfe39d2eb57398" title="Creates a ModifierKeys object to represent the last-known state of the keyboard and mouse buttons...">getCurrentModifiers()</a>, which could cause subtle changes in the behaviour of some components. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__ModifierKeys_8h.html">juce_ModifierKeys.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|