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

376 commits

Author SHA1 Message Date
ed
666d9d1ed4 Add a nullptr check in Slider PopupDisplayComponent destructor 2018-07-31 09:23:02 +01:00
ed
fcecf67ab3 Added a drawComboBoxTextWhenNothingSelected() method to ComboBox::LookAndFeelMethods and made the drawing code consistent with drawLabel() 2018-07-27 09:18:19 +01:00
ed
33fb0e9d60 Fixed an error in the documentation of ComboBox::setText() 2018-07-27 09:15:49 +01:00
jules
7ab4d1708b Some misc cleanups, mainly around WeakReference usage and rectangles 2018-07-09 16:00:45 +01:00
jules
47535718dc Added an assertion to Label to help catch some 'doh!' moments 2018-07-09 15:11:15 +01:00
hogliux
e71084a7e9 Fixed a windows warning in the previous commit 2018-06-26 18:13:46 +01:00
hogliux
64be913fa2 Added a LookAndFeel method to customise the options of a ComboBox's PopupMenu 2018-06-26 18:07:31 +01:00
jules
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +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
ed
f70a450bd4 Ensure that ComboBox::menuActive flag is set when calling showPopup() 2018-05-15 11:00:02 +01:00
ed
481221a256 Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers() 2018-05-09 10:04:27 +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
Lukasz Kozakiewicz
c8b9bc79ba AlertWindow: ensure a native keyboard is hidden when alert window gets dismissed. 2018-04-09 18:56:38 +02:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00: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
Lukasz Kozakiewicz
4469217b3e Android: un-focus TextEditor when keyboard is hidden from nav bar. Ensure immersive mode is properly restored. Fix TextEditor not hiding keyboard if deleted immediately after getting focus. 2018-03-02 11:48:37 +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
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +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
ed
5b32ef4897 Implement the menuActive flag in TextEditor 2018-01-08 10:18:03 +00:00
jules
80a7718286 Added some event lambda callbacks for TextEditor and simplified a bit more code using them 2018-01-03 16:34:11 +00:00
jules
e7a5e520c6 Updated Button::onClick and added ComboBox::onChange 2018-01-03 12:07:15 +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
jules
a7e3339f86 Got rid of some very old legacy VC6 workaround typedefs 2018-01-03 09:25:19 +00:00
jules
1d64394727 Tidied up a few things in Label 2018-01-02 10:27:58 +00:00
ed
9bb4e025ca Made the documentation of some classes clearer regarding when a notification will be sent 2017-12-28 17:02:58 +00:00
Tom Poole
cff37f5b6a Fixed some const violation errors 2017-12-19 12:44:24 +00:00
jules
d9585241ad Changed the parameters to Graphics::fillCheckerBoard() to be floats rather than ints, and improved its performance 2017-12-06 17:33:26 +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
f85d706131 Some minor formatting and comment fixes 2017-11-28 17:46:15 +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
ed
a40f6b3e5e Added ComboBox::ColourIds::focusedOutlineColourId 2017-11-20 16:34:47 +00:00
Noah Dayan
1815d7db8a Add missing enum documentation and fix comma in juce_Slider.h 2017-11-20 15:10:15 +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
jules
98f37e02ae Tweaked the ComboBox to not keep a reference to its LookAndFeel when its popup is not active. Also improved its scroll-wheel behaviour 2017-10-26 15:00:45 +01: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
Lukasz Kozakiewicz
37d151cdce ListBox: update obsolete comment. 2017-10-19 15:35:33 +02:00
tpoole
51b3eaebb2 Fixed some VS2013 compiler errors 2017-10-18 11:05:40 +01:00
jules
7c4a40470d Added some better use of the Range class in NormalisableRange and Slider 2017-10-16 16:21:41 +01:00