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

138 commits

Author SHA1 Message Date
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
Oliver James
9d909fc3fe Slider: LookAndFeel outline style 2023-04-04 10:06:40 +01:00
Anthony Nicholls
28c31b1f26 Slider: allow a sliders text-box to update when a colour changes in the slider 2023-03-31 13:15:27 +00:00
Anthony Nicholls
c7689793f2 Widgets: call repaint() in colourChanged() callbacks 2023-03-22 14:59:37 +00:00
attila
6da1357fde Slider: Update PopupDisplay in updateText() 2022-09-13 15:20:57 +02:00
reuk
b324a50e82
BailOutChecker: Add checks after callbacks in Slider and ComboBox
Co-authored-by: Roland Rabien <figbug@gmail.com>
2022-09-01 15:44:27 +01:00
Tom Poole
2eee1c1bd9 Slider: Respect setNumDecimalPlaces after setRange 2022-07-11 13:18:59 +01:00
attila
7c66dc8e15 Slider: Add keyboard control even without accessibility 2022-06-09 16:24:00 +02:00
Tom Poole
2ec861d99e Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
ed
b421159be3 Accessibility: Use ignored AccessibilityHandler for slider text boxes to fix keyboard focus/accessible focus sync issue 2021-12-13 12:56:15 +00:00
reuk
7f0a305199
Slider: Ensure that current Value is always treated as a double 2021-10-25 09:51:21 +01:00
ed
b3a6e796f9 Fix potential nullptr dereference in Slider::ScopedDragNotification destructor 2021-10-08 17:19:04 +01:00
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