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

92 commits

Author SHA1 Message Date
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
jules
bea7b83cb8 Renamed and refactored the LookAndFeel classes. The LookAndFeel class is now an abstract base-class, and there are 3 concrete subclasses you can use. These are LookAndFeel_V1 (replaces OldSchoolLookAndFeel), LookAndFeel_V2 (replaces what was the normal LookAndFeel class) and LookAndFeel_V3 (this is a new style, taken from the Introjucer's L+F). 2013-10-27 22:02:21 +00:00
jules
bbd620c1cf More tweaking of Button toggle-notification behaviour. 2013-10-22 16:10:28 +01:00
jules
286c256eeb Added an optional border size to ShapeButton. 2013-10-20 14:27:06 +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
7f6394478a Stripped out some unnecessary boilerplate includes from juce_gui_basics. 2013-08-24 11:45:55 +01:00
jules
65c155e372 Added a class ContainerDeletePolicy, to allow custom delete operations on objects held by ScopedPointers or OwnedArrays. Also cleaned away a lot of superfluous includes in juce_core files. 2013-08-23 12:08:31 +01:00
jules
3fe9d3ee93 Minor clean-ups. 2013-08-20 09:48:19 +01:00