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

57 commits

Author SHA1 Message Date
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
Tom Poole
1e021b6ed0 Fixed an issue overriding MidiKeyboardComponent::mouseDownOnKey 2019-05-15 16:44:50 +01:00
ed
c3e7c47252 Make sure that the velocity value set in MidiKeyboardComponent::setVelocity() is used when sending notes 2018-10-19 15:18:14 +01:00
Tom Poole
3c93cfb105 Clarified some Button LookAndFeel parameter names 2018-07-16 12:26:27 +01:00
ed
38e065cb8f Added methods to get and set the octave scroll button width to MidiKeyboardComponent 2018-05-08 09:17:57 +01:00
hogliux
0f7c867534 MidiKeyboadComponent: Fixed an assertion when translating the mouse position to a note velocity 2018-04-23 11:34:22 +01:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
jules
d0111a4f96 Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi 2017-12-06 11:16:22 +00:00
ed
822a1e31b8 Added some methods to MidiKeyboardComponent to set/get the width of black notes 2017-11-29 09:12:50 +00:00
jules
3dcd918ddd Cleaned up MidiKeyboardComponent, changing it to use floating point coords 2017-11-28 15:45:43 +00: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
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +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
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00
jules
9fa0d49be7 Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc. 2016-09-16 12:03:02 +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
5cdd56065d Added a method MidiKeyboardComponent::getTotalKeyboardWidth() 2016-03-01 16:33:53 +00:00
Timur Doumler
c536d10be9 MidiKeyboardComponent: added possibility to change the length of the black keys as a proportion of the white keys to something else than the default of 0.7, and to query that proportion. 2016-01-05 16:39:57 +00:00
jules
7b606e2e3f Refactored some internal code in MidiKeyboardComponent 2015-10-12 18:16:07 +01:00
jules
cee5a77123 Added a velocity parameter to note-off handling in MidiKeyboardState 2015-09-14 09:49:15 +01:00
jules
018a2d41be MidiKeyboardComponent: avoid drawing lines if the colour is transparent. 2015-09-08 21:13:47 +01:00
jules
15812950c6 A couple of minor graphical tweaks to MidiKeyboardComponent. 2015-08-18 09:58:47 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
179d99f57d Made MidiKeyboardComponent work better when attached as a mouse listener to child components. 2015-04-22 15:36:52 +01:00
jules
a4594e55e7 Prevent stray mouse-drags triggering the midi component keys by mistake 2015-02-03 09:45:14 +00:00
jules
6d33253189 Fix in MidiKeyboardComponent to prevent double notes when using touch input. 2015-02-02 09:10:31 +00:00
jules
8f5623ca0b Gave MidiKeyboardComponent a keyPressed method to prevent keypresses that it's using from being passed through to parent components. 2015-01-02 15:55:19 +00:00
jules
d10d19e4bf Allowed the MidiKeyboardComponent up/down buttons to be non-opaque. 2014-11-13 13:33:42 +00:00
jules
4a00747683 Updated MidiKeyboardComponent to allow it to be non-opaque. 2014-11-13 13:04:46 +00: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
c67c180b07 Added method MidiMessage::isMidiNoteBlack() 2014-02-07 11:41:06 +00:00
jules
e54bd38255 Added shadow colour ID to MidiKeyboardComponent 2014-01-25 14:42:00 +00:00
jules
44d52ffcef Added a method to MidiKeyboardComponent 2014-01-17 09:43:42 +00:00
jules
4869c0a202 Fixed a few minor problems with the MidiKeyboardComponent 2014-01-05 15:02:43 +00:00
jules
8a8941aab5 Fix for MidiKeyboardComponent when used with multi-touch screen. 2013-10-15 21:37:40 +01:00
jules
8a66ec83f0 Minor clean-ups. 2013-09-26 18:15:45 +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
b3fd5cb8a3 Added iterator access to Desktop's list of mouse sources. 2013-09-02 22:06:10 +01:00
jules
5918d039ce Added some "override" annotations. 2013-07-08 19:05:14 +01:00
jules
39ef5130e9 Added MidiKeyboardComponent::mouseUpOnKey() method. 2013-06-28 15:20:51 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
c7506df13f Changed some pass-by-references to pass-by-value to improve compiler optimisation. 2013-05-22 23:05:53 -06:00
jules
706d66014f MidiKeyboardComponent note-off fix. 2013-01-03 10:33:04 +00:00
jules
0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 2012-12-04 21:39:15 +00:00
jules
9393c1bbc9 Avoided some minor compiler warnings. 2012-11-11 17:06:14 +00:00
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. 2012-05-25 16:42:36 +01:00
jules
7339a2631e Changed the MidiKeyboardComponent to be multi-touch aware. 2012-04-12 20:47:44 +01:00
jules
56bbab1537 (automated whitespace clean-up) 2012-03-20 16:00:06 +00:00
jules
5308aef329 Removed some old VC6 workarounds, and removed the VC6 exporter from the introjucer. 2012-02-13 17:56:59 +00:00