1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00
Commit graph

105 commits

Author SHA1 Message Date
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
be5f2d62c4 Added some helper objects Button::onClick and Button::onStateChange, which let you easily assign a lambda to be called on these events 2018-01-03 09:25:49 +00:00
jules
a7e3339f86 Got rid of some very old legacy VC6 workaround typedefs 2018-01-03 09:25:19 +00:00
jules
7294118612 Changed Button so that it won't actively trigger a click when connected up to a Value source that changes 2017-12-22 09:20:44 +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
996f44f3f6 Added set and getJustificationType() methods to HyperlinkButton 2017-10-12 12:29:58 +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
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
jules
0ca253856b Added a method DrawableButton::getEdgeIndent() 2017-08-07 09:54:49 +01:00
tpoole
61321d2eb9 Button: Added a getTriggeredOnMouseDown method 2017-07-25 12:58:37 +01:00
jules
4e5f005421 Added a method Component::getChildren() to allow them to be iterated with a range-based for loop, and used this in appropriate places around the codebase 2017-07-19 12:08:47 +01:00
tpoole
6917e5f5ce Documentation: Fixed some Doxygen warnings 2017-06-14 19:04:48 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
ed
05c6901403 Fixed typo in DrawableButton 2017-02-23 09:49:40 +00:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
ed
c6075dec27 Added methods to ShapeButton to allow a different set of normal/over/down colours to be used when the button's toggle state is 'on' 2017-01-31 17:04:45 +00:00
ed
38a47d4387 Added a call to getToggleState() in ShapeButton::paintButton() to take into account toggle state when setting button colour 2016-12-07 12:07:58 +00:00
jules
9fa0d49be7 Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc. 2016-09-16 12:03:02 +01:00
jules
9177a94b15 Added a check in Button to detect self-deletion as a side-effect of its toggle value changing 2016-09-08 13:31:40 +01:00
ed
1631daca26 whitespace 2016-08-08 16:42:39 +01:00
ed
9062ad9ec1 Windows 10 update touch events bug fix 2016-08-08 15:51:42 +01:00
jules
d29608a65d Minor documentation corrections. 2016-06-28 19:52:14 +01:00
jules
3d1cf531e0 Added colour IDs for ToggleButton tick colour 2016-04-19 15:32:11 +01:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
Timur Doumler
70949aa0c6 Added several new features: support for AudioUnit v3, new simplified JUCE module format, deleted the Introjucer and replaced it by the Projucer, various improvements for exporting of iOS and Android projects. 2016-04-06 18:31:24 +01:00
jules
4e48b3b661 Tweak to Button so that they will always visibly flash even if released before they had time to be painted in the down state 2016-01-15 14:52:52 +00:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
jules
be3dbd5b3e Made ImageButton take into account the state of Component::setIgnoresMouseClicks 2015-11-30 08:50:21 +00:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
90b6f62318 Avoided a dangling pointer problem when changing images in DrawableButton 2015-06-09 08:23:26 -07:00
jules
455290ad91 Fixed a comment 2014-11-11 15:07:41 +00:00
jules
17cbf1a285 Added method Button::getState() 2014-10-14 15:44:14 +01:00
jules
9201070462 Made Button update its auto-gerenated tooltip when the command manager list changes. 2014-10-06 10:53:12 +01:00
jules
eb8bfa1471 Minor tweaks to make DrawableButton more customisable. 2014-06-08 11:07:30 +01:00
jules
b65dfbfc7c Refactored a couple of old methods relating to TextButton sizing: Removed TextButton::getFont() (use the LookAndFeel method instead), and replaced the LookAndFeel::changeTextButtonWidthToFitText method with one called getTextButtonWidthToFitText() 2014-06-01 15:42:39 +01:00
jules
ca43af451a Fix for HyperlinkButton::changeWidthToFitText 2014-03-23 16:47:22 +00:00
jules
dd24e058c7 Added changeTextButtonWidthToFitText to the look + feel classes. 2014-03-22 14:24:09 +00:00
jules
9a54f3a01a Stopped buttons responding to key-shortcuts when they're not actually visible. 2014-01-22 09:39:25 +00:00
jules
158d5693ce Made button toggle callbacks include the modifier state. 2013-12-26 10:55:00 +00:00
jules
3b7bcd44ee More micro-tweaking of Button callback behaviour. 2013-11-21 16:09:14 +00:00
jules
c1f90d7d6f Yet more tweaking of the minutiae of toggle button group callback behaviour.. 2013-11-18 10:02:46 +00:00
jules
062c85db12 Changed the order in which radio-group toggle button events are sent, so that the "off" event is sent before the "on". 2013-11-13 11:08:59 +00:00
jules
0a7b960b09 MSVC warning fix. 2013-11-11 14:48:32 +00:00
jules
010ba396e9 Removed some base classes from the Button class. 2013-11-11 11:01:16 +00:00
jules
823608f27a Yet another micro-tweak to button callback behaviour - prevent radio-group auto-toggle buttons sending events to other group buttons when they get turned off. 2013-11-07 16:27:29 +00:00
jules
ff0fd27127 Yet another attempt to get all the edge-cases right in Button::internalClickCallback 2013-11-07 10:19:58 +00:00