1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00
Commit graph

81 commits

Author SHA1 Message Date
jules
4e5f005421 Added a method Component::getChildren() to allow them to be iterated with a range-based for loop, and used this in appropriate places around the codebase 2017-07-19 12:08:47 +01:00
jules
61f4333e73 Marked some RelativeCoordinate functions in Component as deprecated, and updated some old code that used them. 2017-05-02 16:56:32 +01:00
jules
8689df5590 Fixed a few c++17 warnings 2017-05-02 10:18:33 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
d36156c620 Removed some extraneous semicolons 2017-04-21 11:15:07 +01:00
ed
0747a7067b Fixed bug with multi-touch in Viewport when drag is blocked and made some methods const 2017-03-29 15:21:32 +01:00
ed
1e7a933543 Added viewportIgnoreDragFlag to Component to indicate that mouse drag events should not move the Component's parent Viewport with drag-to-scroll functionality enabled. 2017-03-28 15:44:49 +01:00
jules
e253b8bea1 Added some notes and an assertion to Component::grabKeyboardFocus(), to help people avoid a common mistake, which is trying to grab the focus of not-yet-visible components. 2017-03-28 10:44:52 +01:00
ed
b7b8d5be57 Multiple fixes for touch and pen input on Windows 2017-03-15 17:16:04 +00:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
hogliux
75ea6db250 Renamed bounds member variable in Component to "boundsRelativeToParent" to avoid shadowing warnings when using a local variable nambed "bounds" 2016-10-27 16:52:47 +01:00
hogliux
b936786f80 Remove the recently added shouldReleaseFocusOnMainMenuBarAccess flag and replace with something less intrusive 2016-08-09 09:26:29 +01:00
hogliux
17a07a0057 Add a flag to release the focus of a component when the user accesses the main menu bar on mac 2016-08-04 12:08:43 +01:00
jules
ab3e628f36 Added mouse-up event pressure handling 2016-07-08 12:33:58 +01:00
hogliux
58f2e1b9f2 Add support for isCurrentlyModal to detect if the current component is in a modal stack - regardless if foremost or not 2016-06-17 11:09:20 +01:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
jules
5c05483fbb Fixed a minor typo in the Component docs. 2016-02-18 17:40:45 +00:00
jules
76737287c7 Simplified some component modal state handling code, hopefully also fixing an edge-case problem when showing modal windows on linux 2016-02-01 16:21:11 +00:00
jules
92bb5e8b74 Added an 'includeChildren' parameter to Component::isMouseOverOrDragging 2016-01-28 17:08:15 +00:00
jules
edec7b34b2 Replaced some uses of AffineTransform::identity with a default-constructed object 2015-12-22 17:46:31 +00:00
jules
cc8063813a Minor spelling fix. 2015-11-23 11:08:38 +00:00
jules
a3426aae10 Added support for iOS force-touch 2015-11-02 11:51:16 +00:00
jules
527da19076 Added method Component::alphaChanged(), and fixed NSViewComponent to handle alpha values. 2015-09-08 20:38:47 +01:00
jules
63551c84a1 Updated some comments about runModalLoop() 2015-08-06 09:32:11 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
hogliux
3b2a39b01b Fix typo 2015-07-10 10:11:35 +01:00
jules
a52ed14607 Fixed a spelling mistake 2015-06-15 10:10:10 -05:00
jules
1eab064696 Rearranged some documentation for relative coord expressions. 2015-05-21 12:44:53 +01:00
jules
9c9d10dc0a Clarified some documentation relating to the Component::setBufferedToImage, which didn't match the actual behaviour of that method. 2015-04-10 12:48:06 +01:00
jules
f6139cee55 Minor documentation cleanups. 2015-03-07 17:45:45 +00:00
jules
04cb9bf3e8 Added an advisory note about deleteAllChildren() 2014-12-29 12:02:35 +00:00
jules
20af4254c2 Clarified some comments. 2014-08-27 20:16:40 +01:00
jules
f50650ad1b Removed the Component::getVisibleArea method. This had some design flaws and the current implementation was broken, so presumably few people were using it! If you were using it, let me know your use-case so I can perhaps find a replacement that has less ambiguities about exactly what it's supposed to do. 2014-08-17 11:40:28 +01:00
jules
3e7d305094 A few minor whitespace cleanups. 2014-08-16 21:06:27 +01:00
jules
66d413c32b Minor clean-ups 2014-08-14 12:04:43 +01:00
jules
19b412c1a8 Avoiding flicker when handling synchronous repainting of desktop windows when they are resized. 2014-07-28 20:49:16 +01:00
jules
6c61dbb68e Refactored the internal mouse-handling code to use floating point coords. This shouldn't affect much user code, but a few methods in MouseInputSource have now changed to use Point<float> rather than Point<int>. 2014-06-14 13:06:53 +01:00
jules
28e4473a6b Fixed some typos. 2014-02-26 19:47:55 +00:00
jules
4d79bed3d1 Added versions of Component::addAndMakeVisible and addChildComponent which take a reference instead of a pointer. 2013-12-23 15:16:38 +00:00
jules
f9759ecc6b Documentation fixes. 2013-11-30 20:04:17 +00:00
jules
1e4ba1b550 A few minor changes to keep the Clang analyser happy. 2013-11-19 14:11:27 +00:00
jules
57974a793c Some fixes for minor graphical problems. 2013-11-09 16:22:09 +00:00
jules
fecba9c31c New class StringRef, to improve performance in function calls that can take either a String or a raw string literal. Modified a few other classes to take advantage of this. 2013-09-09 20:07:17 +01:00
jules
be1d5253ee Moved some mouse code out of Desktop class. Made the MouseInputSource class pass-by-value. 2013-09-03 10:44:55 +01:00
jules
7f6394478a Stripped out some unnecessary boilerplate includes from juce_gui_basics. 2013-08-24 11:45:55 +01:00
jules
65c155e372 Added a class ContainerDeletePolicy, to allow custom delete operations on objects held by ScopedPointers or OwnedArrays. Also cleaned away a lot of superfluous includes in juce_core files. 2013-08-23 12:08:31 +01:00
jules
9a1171a7ef Added method Component::unfocusAllComponents() 2013-08-21 19:07:21 +01:00
jules
39c44c12ed Added a Component::getDesktopScaleFactor() method which can be overridden to force a scale for a particular window. 2013-08-21 19:02:50 +01:00
jules
1b9a60e52c Added a templated type to the RectangleList class. If you've used this class and these changes cause syntax errors, all you need to do to your code is to replace "RectangleList" with "RectangleList<int>" and everything will work as it did before. 2013-07-28 18:08:28 +01:00
jules
5a1112ab94 Updated the format of the header include guard macros. 2013-07-17 16:26:35 +01:00