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

125 commits

Author SHA1 Message Date
ed
3739fe4829 Accessibility: Added ScopedDragNotification for sending slider drag notifications 2021-09-07 11:23:17 +01:00
ed
945a7f4477 Accessibility: Send value change notifications from SliderAccessibilityHandler 2021-09-02 08:35:14 +01:00
reuk
19e1488e18
Slider: Add getScrollWheelEnabled function 2021-07-23 10:50:00 +01:00
ed
c559d31e90 Accessibility: Override Accessibility::getHelp() for JUCE widgets that support tooltips 2021-07-05 12:07:30 +01:00
ed
e2d41dfa0a Accessibility: Fixed slider step size for sliders with no interval explicitly set 2021-06-21 18:52:07 +01:00
ed
333983947e Accessibility: Removed widget_handlers 2021-05-20 18:24:56 +01:00
ed
6a36af2a11 Fixed a lambda capture lifetime issue when setting up IncDecButtons style sliders 2021-05-11 15:57:48 +01:00
ed
ec990202b1 Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics 2021-05-10 10:53:14 +01:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
ed
2539f4d24f DRY-ed some code by adding a static Component::getApproximateScaleFactorForComponent() method 2019-04-29 12:55:39 +01:00
Tom Poole
92c30e780d Allowed linear-drag rotary sliders to rollover 2019-04-09 16:26:25 +01:00
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