1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-13 00:04:19 +00:00
Commit graph

111 commits

Author SHA1 Message Date
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +00:00
ed
257b40eddb Added an optional argument to Slider::setDoubleClickReturnValue() to specify the key modifiers used to reset the value with a single-click 2019-01-10 10:59:25 +00:00
Tom Poole
6d2e17ed85 APVTS: Fixed an issue displaying slider value suffixes 2018-11-30 18:18:07 +00:00
ed
666d9d1ed4 Add a nullptr check in Slider PopupDisplayComponent destructor 2018-07-31 09:23:02 +01:00
ed
a1363c1825 Slider: Don't update lastAngle in mouseDown() if the Slider style is two-value as it uses currentValue. Added isTwoValue() and isThreeValue() methods. 2018-06-11 11:21:14 +01:00
hogliux
9fee13ba82 Slider: Added missing ComponentPeer flags to the popup display of a slider 2018-05-30 17:33:04 +01:00
hogliux
8377a6406b Scaling: Ensured that the Slider's PopupDisplayComponent will have the same transform applied as the Slider itself 2018-05-29 11:43:30 +01:00
Tom Poole
9f85d53c66 Made Sliders preserve their skews when updating their range 2018-04-23 09:18:12 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
Tom Poole
df6f60f2e0 Fixed a bug calculating the number of decimal places displayed in a slider 2018-04-16 09:56:48 +01:00
Tom Poole
c2a877cac8 Passed the valueToTextFunction and textToValueFunction lambdas from an AudioProcessorValueTreeState parameter to an attached slider 2018-03-12 10:08:38 +00:00
Tom Poole
284fdc51df Added a setNormalisableRange method to Slider 2018-03-02 14:36:49 +00:00
hogliux
c72cf7ed64 Added Slider method to modify the number of decimal places that are displayed in a slider's text box 2018-02-12 09:21:08 +00:00
Noah Dayan
e690350df3 Use lambda callbacks instead of listeners with Slider, Button, Label, ComboBox and TextEditor classes 2018-01-18 15:23:57 +00:00
Noah Dayan
77c3d790a5 Added helper objects to Label and Slider to allow lambda callbacks 2018-01-17 14:31:05 +00:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
jules
3ec5c17bb1 Misc cleanups relating to ScopedPointer 2018-01-08 18:03:26 +00:00
jules
edea094d7d Added an option to Slider::setVelocityModeParameters() to set the modifier keys 2018-01-08 17:47:07 +00:00
jules
4fcedf7be5 Standardised some lambda syntax 2018-01-08 10:28:41 +00:00
jules
ce8b2d865a Used Button::onClick to simplify a bunch of library classes and demo code 2018-01-03 11:06:04 +00:00
Tom Poole
cff37f5b6a Fixed some const violation errors 2017-12-19 12:44:24 +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
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! 2017-11-28 16:18:40 +00:00
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
ed
a63f1808fc Fixed a bug where a Slider popup display added to a parent component would never be dismissed 2017-10-24 15:57:16 +01:00
ed
331bd17aa5 Fixed a bug where the Slider popup display was being shown at the wrong position 2017-10-23 11:48:57 +01:00
jules
7c4a40470d Added some better use of the Range class in NormalisableRange and Slider 2017-10-16 16:21:41 +01:00
ed
c550c81874 Added an option to pass -1 as the hoverTimeout parameter of Slider::setPopupDisplayEnabled() to cause the popup to remain until a mouseExit() and added some documentation 2017-10-16 11:55:36 +01:00
ed
725947d764 Added a parameter to Slider::setPopupDisplayEnabled() to set the timeout for displaying the popup display on mouse hover 2017-10-16 08:54:55 +01:00
ed
1cb2d8143e Fixed an assertion when enabling the popup display with a two-value slider and disabled the popup display when using an IncDec slider 2017-10-04 09:31:37 +01:00
ed
f83fcafb84 Fixed a bug where a Slider popup display set to show on mouse hover wouldn't show when dragging the mouse over the Slider and releasing 2017-09-22 10:29:30 +01:00
ed
0b6f02a29e Fixed some errors and warnings when building with JUCE_DLL_BUILD=1 2017-09-21 10:59:24 +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
32fe9e81ce Removed the need for the window to be focused for the slider's hover popup to work 2017-09-05 15:05:56 +01:00
jules
17fb72f826 Tweak to the updating of the popup display value in Slider 2017-08-23 17:08:41 +01:00
jules
55f536078a Added a parameter to Slider::setPopupDisplayEnabled() to allow the popup to optionally appear on a mouse-over as well as a drag 2017-08-15 09:53:29 +01:00
jules
723a15c7a0 Removed a few more old compiler workarounds 2017-08-14 13:10:40 +01:00
jules
357dd2c9c9 Removed some old compiler bug workarounds 2017-08-14 12:59:18 +01:00
hogliux
530bdf6f45 Fixed an assertion when using an IncDec slider with the AudioProcessorValueTree 2017-08-07 11:36:57 +01:00
tpoole
d62749770a Fixed an infinite loop when setting a Slider's range 2017-07-05 15:06:43 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
bf94ab0e4c Made a few minor tweaks to reduce the number of pedantic -Wfloat-equals warnings 2017-04-21 15:09:35 +01:00
ed
b7b8d5be57 Multiple fixes for touch and pen input on Windows 2017-03-15 17:16:04 +00:00
ed
08707ec85c Fixed bug in ThreeValueVertical Slider where initial mouse down/drag wouldn't get correct thumb index 2017-02-21 14:03:50 +00:00
ed
16e6c6fd84 Slider and NormalisableRange changed to use standard library math functions 2016-08-31 09:00:50 +01:00
jules
3f83eedd45 Minor tidying up 2016-08-15 16:49:16 +01:00
tpoole
e9832ffdf4 Added a symmetric skew option to Slider 2016-08-15 11:31:11 +01:00
jules
674c833c84 Added method MouseEvent::mouseWasDraggedSinceMouseDown() 2016-02-16 12:59:49 +00:00
jules
ecfa5d1040 Tidied up some rotary parameter handling code in Slider 2016-02-04 09:38:20 +00:00
jules
95d88e3356 Marked Slider popup windows as temporary 2016-01-29 11:21:14 +00:00