221 Commits (f11c43d038b5e8b49f77ec8a7e53bd117d080d84)

Author SHA1 Message Date
  jules 58a99ff139 Dragged the singleton macros into the 21st century.. Cleaned up their implementation and gave them new upper-case names to match juce official style. The old names are still defined to avoid breaking old code, but please update before they get deprecated! 7 years ago
  ed a9b74e54c7 Take any transforms that have been applied to a component into account in the Component::centreWithSize, ::setCentreRelative() and ::setCentrePosition() methods 7 years ago
  Noah Dayan a0db644e22 Fix Doxygen bug with Singleton macros 7 years ago
  jules f85d706131 Some minor formatting and comment fixes 7 years ago
  jules a586966c65 Added lambda callback methods to ListenerList. Its old method-invocation callbacks were refactored to use variadic templates instead of the old awful macros they used in the past, but please move your code to use the new lambda functions, as the one stuff will eventually be deprecated! 7 years ago
  jules 82d160150c Bit of tidying up in ModalComponentManager 7 years ago
  jules 29ca9a59cf Used lambdas to simplify some ModalCallbackFunction methods 7 years ago
  Tom Poole 47ce713d0b Added Component::isPaintingUnclipped 7 years ago
  ed 2540e8785e Added a componentEnablementChanged method to ComponentListener 7 years ago
  ed e8518048b4 Fixed a rounding error in Component::isMouseOver 7 years ago
  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) 7 years ago
  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!) 7 years ago
  jules ffb64487ed When calling repaint() without a MessageManagerLock, it now always asserts 7 years ago
  jules dd4230586f Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up 7 years ago
  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 7 years ago
  jules 50183e5318 Bit of tidying up in Component 8 years ago
  hogliux 4ea8c871b8 Android: Implemented Desktop::getCurrentOrientation() for Android 8 years ago
  ed 58fe117260 Added a extra check in FocusRestorer to check if the last focused Component is showing before giving it keyboard focus 8 years ago
  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 8 years ago
  ed ca9c8f22d7 Windows: Removed Desktop::clearAllTouchSources() method and cleaned up some Windows touch input code 8 years ago
  ed 9d294970d7 Windows: Fixed a bug where multi-touch inputs weren't being cleared correctly 8 years ago
  jules 851b3e6db1 Added method Desktop::getOrientationsEnabled() 8 years ago
  tpoole f4046909ab Added an OS X 10.5 compatible std::function replacement 8 years ago
  jules f183a506ef Workaround for a VS warning 8 years ago
  jules 61f4333e73 Marked some RelativeCoordinate functions in Component as deprecated, and updated some old code that used them. 8 years ago
  jules 8689df5590 Fixed a few c++17 warnings 8 years ago
  hogliux b5afccc37c Updated file headers and the README with the JUCE 5 license 8 years ago
  hogliux ef2c63e4e3 Added a new LookAndFeel (V4) and re-skinned the JUCE Demo and examples. Improved the JUCE Demo on mobile devices. 8 years ago
  jules d36156c620 Removed some extraneous semicolons 8 years ago
  hogliux 411071f3b1 Fixed linux mouse jump issue by removing code that was made redundant after the latest linux improvements 8 years ago
  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 8 years ago
  jules 7d6e5f8d73 Added a comment in the Desktop class 8 years ago
  jules 38d49a5ee7 Modernised a few RectangleList iterators 8 years ago
  jules 60e9231fb1 Removed need for std::function in order to use MessageManager::callAsync(). Used it to modernise a few bits of old code. 8 years ago
  ed 0747a7067b Fixed bug with multi-touch in Viewport when drag is blocked and made some methods const 8 years ago
  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. 8 years ago
  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. 8 years ago
  jules c236e75cf5 Adde some missing JUCE_API annotations 8 years ago
  ed b7b8d5be57 Multiple fixes for touch and pen input on Windows 8 years ago
  ed 0fa188ab5b Reverted #6d356423 as it broke centring for child components 8 years ago
  ed 6d356423e2 Fix for transformed Components not being centred correctly 8 years ago
  hogliux 2da1bc5f41 Replace include guards with "#pragma once" 8 years ago
  hogliux 9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 8 years ago
  ed d0b6d6c025 Check all mouse sources when exiting modal loop 8 years ago
  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 8 years ago
  hogliux 75ea6db250 Renamed bounds member variable in Component to "boundsRelativeToParent" to avoid shadowing warnings when using a local variable nambed "bounds" 8 years ago
  Timur Doumler 773c96399a Whitespace. 8 years ago
  luigisambuy e2dc460927 Made the Desktop class clear any pending animations before shutting down. 8 years ago
  hogliux c7b347242d Partially undo commits #99186e5 and #89d938d and use less-intrusive, JUCE-internal fix for OpenGLContext detach crash 9 years ago
  hogliux b936786f80 Remove the recently added shouldReleaseFocusOnMainMenuBarAccess flag and replace with something less intrusive 9 years ago