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

211 commits

Author SHA1 Message Date
jules
2dc9316420 Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility) 2017-11-01 17:41:06 +00:00
jules
7ea9874a01 Changed Component to hold a WeakReference to its LookAndFeel object, so that if you accidentally delete a LookAndFeel that's being used, it won't be a dangling pointer (but you may see some unexpected drawing behaviour!) 2017-10-18 09:22:42 +01:00
jules
ffb64487ed When calling repaint() without a MessageManagerLock, it now always asserts 2017-10-16 10:13:19 +01:00
jules
dd4230586f Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up 2017-10-11 12:26:05 +01:00
jules
eda613c6db Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools 2017-09-08 08:59:55 +01:00
jules
50183e5318 Bit of tidying up in Component 2017-08-01 10:08:09 +01:00
hogliux
4ea8c871b8 Android: Implemented Desktop::getCurrentOrientation() for Android 2017-07-31 10:46:30 +01:00
ed
58fe117260 Added a extra check in FocusRestorer to check if the last focused Component is showing before giving it keyboard focus 2017-07-26 15:34:19 +01:00
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
ed
ca9c8f22d7 Windows: Removed Desktop::clearAllTouchSources() method and cleaned up some Windows touch input code 2017-06-15 17:20:55 +01:00
ed
9d294970d7 Windows: Fixed a bug where multi-touch inputs weren't being cleared correctly 2017-06-14 12:11:12 +01:00
jules
851b3e6db1 Added method Desktop::getOrientationsEnabled() 2017-06-09 11:26:37 +01:00
tpoole
f4046909ab Added an OS X 10.5 compatible std::function replacement 2017-05-03 15:36:25 +01:00
jules
f183a506ef Workaround for a VS warning 2017-05-02 17:04:46 +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
hogliux
ef2c63e4e3 Added a new LookAndFeel (V4) and re-skinned the JUCE Demo and examples. Improved the JUCE Demo on mobile devices. 2017-04-27 14:40:50 +01:00
jules
d36156c620 Removed some extraneous semicolons 2017-04-21 11:15:07 +01:00
hogliux
411071f3b1 Fixed linux mouse jump issue by removing code that was made redundant after the latest linux improvements 2017-04-13 14:36:25 +01:00
hogliux
87a895d5a4 Added a check to send fake mouse move events only if the current mouse cursor's position could have an effect on mouseEnter/mouseLeve events 2017-04-13 12:58:33 +01:00
jules
7d6e5f8d73 Added a comment in the Desktop class 2017-04-11 11:15:39 +01:00
jules
38d49a5ee7 Modernised a few RectangleList iterators 2017-04-03 16:08:07 +01:00
jules
60e9231fb1 Removed need for std::function in order to use MessageManager::callAsync(). Used it to modernise a few bits of old code. 2017-03-29 15:31:41 +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
jules
c236e75cf5 Adde some missing JUCE_API annotations 2017-03-21 16:07:46 +00:00
ed
b7b8d5be57 Multiple fixes for touch and pen input on Windows 2017-03-15 17:16:04 +00:00
ed
0fa188ab5b Reverted #6d356423 as it broke centring for child components 2017-03-06 11:45:15 +00:00
ed
6d356423e2 Fix for transformed Components not being centred correctly 2017-03-03 13:01:24 +00:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
hogliux
9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 2017-02-01 17:18:06 +00:00
ed
d0b6d6c025 Check all mouse sources when exiting modal loop 2017-01-20 16:16:43 +00:00
ed
ce14b66763 Fixed a bug where a mouse enter event wouldn't be sent to the Component under the mouse when exiting a modal loop and where mouse exit events were being sent when a modal loop was active 2017-01-20 14:01:11 +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
Timur Doumler
773c96399a Whitespace. 2016-08-17 09:54:15 +01:00
luigisambuy
e2dc460927 Made the Desktop class clear any pending animations before shutting down. 2016-08-16 14:55:43 +01:00
hogliux
c7b347242d Partially undo commits #99186e5 and #89d938d and use less-intrusive, JUCE-internal fix for OpenGLContext detach crash
Fixes #88
2016-08-11 10:50:36 +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
99186e5166 Call removeFromDesktop when an external host tries to remove a juce component from a window (Fixes #88) 2016-08-08 16:46:44 +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
hogliux
3d1dc4ab0b Fix bug where previously applied context transformation was not respected in subsequent fill 2016-07-30 14:49:34 +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
48270039db Made Component::internalFocusLoss pass on the focus-change cause to its callback 2016-05-10 17:20:36 +01:00
jules
3aee68ec5f Added a method to create a ModalCallbackFunction from a lambda function 2016-05-10 09:34:40 +01:00
jules
12eeadec8b Added some missing 'override's 2016-05-10 08:29:05 +01:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
jules
3f85b04914 Made sure that CachedImage resources are released recursively for all children when a child component becomes invisible 2016-03-10 17:37:30 +00:00