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

92 commits

Author SHA1 Message Date
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
jules
f8047066d6 Made Slider::getPositionOfValue() const 2015-08-28 16:55:00 +01:00
hogliux
71e7624235 Jump to slider default value if only the alt key is down (and no other modifiers) 2015-07-29 15:28:22 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
06c1a15496 Added some missing 'override' decorators 2015-05-15 12:54:44 +01:00
Timur Doumler
b68b4670b9 Added SliderLayout to LookAndFeel to allow flexible slider/textbox positioning. Refactored Slider to separate this functionality. 2015-05-07 17:16:45 +01:00
jules
3cee0e2c19 Updates to Slider to keep the text box editability in sync when the parent is enabled. 2015-03-04 16:01:20 +00:00
jules
ad8cc4b693 Changed the very old and strangely written Slider::getDoubleClickReturnValue method into two separate methods. 2015-01-27 17:05:31 +00:00
jules
ddb7e88cf9 Added Slider::isRotary() 2015-01-14 10:54:05 +00:00
jules
6678046167 Made the Slider's popup display inherit from its parent's lookandfeel. 2014-10-06 11:03:25 +01:00
jules
b7d922d4d1 Improved the way sliders react to vertical/horizontal mouse-wheel moves. 2014-09-15 18:53:34 +01:00
jules
300029971a Fixed some assertions in Slider 2014-08-28 16:53:00 +01:00
jules
87a2c67e99 Fixed tooltips with certain kinds of sliders. 2014-08-20 20:58:18 +01:00
jules
8c99011b4c Minor change to the order in which Slider callbacks are made, so that the order is the same for async/sync callbacks. 2014-08-11 18:50:25 +01:00
jules
82726a9e66 Improved slider mouse wheel behaviour for inc/dec sliders. 2014-07-26 10:53:29 +01:00
jules
2f1ef234ce Tightened up a few places where numeric conversion warnings could happen. 2014-07-10 18:57:24 +01: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
9aa3245315 Slider drag mode fix. 2014-03-12 19:27:09 +00:00
jules
51a0f6e9ff Changed Slider::snapValue to provide more details about the drag mode involved. 2014-02-28 20:53:33 +00:00
jules
dad1b4634c Numeric rounding error fix in Slider. 2013-12-28 16:46:57 +00:00