Anthony Nicholls
cff722a4af
GUI Basics: Refactor juce_gui_basics file structure
- Created a new detail namespace
- Moved shared module implementation details into the detail namespace
- Split dependencies so source files only rely on details in the detail namespace
- Removed all code from the juce_gui_basics.cpp file
2 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
Attila Szarvas
101a886821
MouseInputSource: Eliminate superfluous drag events caused by pressure change
The bug was triggered on Monterey where a pressure of 1 is reported
while a mouse button is being held down. This caused an extra drag
event being triggered between mouse down and up events, even if no
movement occurred.
3 years ago
ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
3 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
ed
b1c4d981da
Fixed an iOS multitouch bug and added MouseInputSource::offscreenMousePos to replace some magic numbers
6 years ago
ed
7cf8e28fdd
Deprecated MouseInputSource::hasMouseMovedSignificantlySincePressed() and replaced with the more accurate isLongPressOrDrag() and hasMovedSignificantlySincePressed() methods
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
jules
970eda679e
Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!
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
ed
3947df98a9
Fixed a scaling bug when doing drag auto-repeat
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
ed
8ca0bc6791
Fixed call to ComponentPeer::handleMouseEvent() in FakeMouseMoveGenerator. Added isPen() and isMouse() methods to MouseInputSource.
8 years ago
ed
b7b8d5be57
Multiple fixes for touch and pen input on Windows
8 years ago
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
8 years ago
jules
a3426aae10
Added support for iOS force-touch
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
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>.
11 years ago
jules
7bf1da5e17
Added MouseInputSource::isUnboundedMouseMovementEnabled(). Tweaks to mouse cursor snap-back in Sliders.
11 years ago
jules
be1d5253ee
Moved some mouse code out of Desktop class. Made the MouseInputSource class pass-by-value.
11 years ago
jules
7f6394478a
Stripped out some unnecessary boilerplate includes from juce_gui_basics.
11 years ago
jules
3d74717349
Bit of tidying-up in the Point class, and some spelling fixes in comments.
11 years ago
jules
5a1112ab94
Updated the format of the header include guard macros.
11 years ago
jules
155859f86b
Internal refactoring.
12 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
c7506df13f
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
12 years ago
jules
7bc0cf13b1
Added method Component::mouseMagnify(), to respond to pinch-to-zoom gestures. Supported in OSX and (untested) Windows.
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
87175c91f5
Changed the signature of MouseListener::mouseWheelMove() to take a struct MouseWheelDetails rather than raw floats. This will require updates in source code that uses mouse-wheel callbacks, but provides some new abilities, including a flag to indicate inverted wheel direction.
13 years ago
Julian Storer
b70e0a28d2
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
13 years ago
Julian Storer
b317b47533
Multi-touch handling changes for Component class. 64-bit VST keypress fix.
14 years ago
Julian Storer
0853a9b686
Removed const-ness from some return types to take advantage of future c++0x advantages.
14 years ago
Julian Storer
f04309f44a
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
14 years ago
Julian Storer
5d98779f19
Updated the date in the copyright notice.
14 years ago
Julian Storer
5d30aecaf2
Removed a couple of old classes: MagnifierComponent (you can use Component::setTransform() instead), and MouseHoverDetector (wasn't really very useful anyway - if you need it, please just take a copy of the class and use it in your own code). Renamed the PopupMenuCustomComponent as an inner class PopupMenu::CustomComponent. Added a default constructor for MidiMessage.
14 years ago
Julian Storer
7becff2aa4
Reorganised some of the juce source tree folders. Added a new JUCE_DEPRECATED macro, and tested it by renaming Button::addButtonListener to Button::addListener for consistency with other widgets. Added Samplitude to the AudioHostType class. Fixed window maximising in win32.
14 years ago
Julian Storer
4d6b2daa93
Tweaks to fake mouse-move behaviour. Improvements to WASAPI performance. AudioFormatManager is no longer a singleton - just create your own instance and use it instead.
14 years ago
Julian Storer
76b128d90e
Added 'new folder' button to save dialogs. Fixes for mouse position/popup menus, ComponentDragger, ComboBox.
14 years ago
Julian Storer
a5cf4030f5
New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes.
14 years ago
Julian Storer
27506c2120
Copyright notice update.
15 years ago
Julian Storer
59569fb58e
Documentation fixes.
15 years ago
Julian Storer
24a73b96ef
Fix to prevent win32 mouse event queuing and some mouse cursor update problems. Changes to internal string storage.
15 years ago
Julian Storer
b974203d0f
Couple of new methods for String. Cleaned up some component code to use SafePointers.
15 years ago
Julian Storer
bc5a7a6b7e
Updated VC6 project. Removed some unsafe templated casts from MemoryBlock and HeapBlock.
15 years ago
Julian Storer
84a8695561
Moved cursor update and unbounded mouse movement handling code into MouseInputSource.
15 years ago