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

50 commits

Author SHA1 Message Date
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +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
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
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
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
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
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
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +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
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
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +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
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
jules
bbd620c1cf More tweaking of Button toggle-notification behaviour. 2013-10-22 16:10:28 +01:00
jules
9d505609b7 Stopped buttons with auto-toggle sending duplicated events. 2013-10-14 14:09:58 +01:00
jules
2cded82ea6 Fix for auto-toggle DrawableButtons not updating their image immediately. 2013-10-12 15:44:31 +01:00
jules
57db92b276 Cleaned up some ints that should have been CommandIDs. 2013-09-17 18:45:48 +01:00
jules
a62d0b5d44 Prevented Button::setToggleState sending unwanted state change messages. 2013-09-13 14:29:24 +01:00
jules
74f8f64608 Added notification option to Button::setRadioGroupId 2013-09-11 20:17:52 +01:00
jules
b093f47a8c Misc minor cleanups and comment fixes. 2013-09-07 20:18:00 +01:00
jules
641cb754f0 Minor clean-ups. 2013-08-30 10:52:54 +01:00
jules
eb646f8c42 Deprecated some old bool notification mode parameters, and replaced them with NotificationType values in the ComboBox and Button classes. 2013-07-08 13:05:51 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
6f88b7ae60 Minor clean-ups. 2013-01-03 10:29:01 +00:00
jules
0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 2012-12-04 21:39:15 +00:00
jules
8ae91bb39a Minor clean-ups. 2012-10-28 20:33:17 +00:00
jules
e3537ba57a Cleaned out some defunct ComponentBuilder code. 2012-07-26 15:32:34 +01:00
jules
56bbab1537 (automated whitespace clean-up) 2012-03-20 16:00:06 +00:00
jules
295d125142 Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code. 2012-02-11 14:09:23 +00:00
jules
15375dd223 Internal work on the ComponentBuilder system. 2012-01-17 18:33:35 +00:00
Julian Storer
f18cb9f382 Some internal refactoring in PopupMenu. 2011-09-25 15:33:12 +01:00
Julian Storer
638a93d639 Fixes for AU hosting and Button Value reference handling. Minor clean-ups. 2011-09-23 18:29:51 +01:00
Julian Storer
bd9a32c757 Removed 'const' from some virtual method return types - this might require a few tweaks to user-code. 2011-09-12 21:59:19 +01:00
Julian Storer
b70e0a28d2 First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum.. 2011-08-12 10:04:52 +01:00
Renamed from src/gui/components/buttons/juce_Button.cpp (Browse further)