1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00
Commit graph

76 commits

Author SHA1 Message Date
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
jules
cfe45720cc Moved DrawableButton painting into a new method LookAndFeel::drawDrawableButton() 2013-08-12 12:13:15 +01:00
jules
5a1112ab94 Updated the format of the header include guard macros. 2013-07-17 16:26:35 +01:00
jules
4fc8fbaef1 Added some more override decorators. 2013-07-10 10:22:33 +01:00
jules
4ce1908f79 Misc tidying-up. 2013-07-09 20:25:46 +01:00
jules
5918d039ce Added some "override" annotations. 2013-07-08 19:05:14 +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
c21e90a2a7 Added missing repaint in ShapeButton. 2013-07-01 22:39:06 +01:00
jules
a53a50eb35 Improved ShapeButton's mouse-click movement behaviour. 2013-07-01 22:12:07 +01:00
jules
2091e8dfc8 Replaced a few Justification references. 2013-07-01 22:07:39 +01:00
jules
2329e63f20 Converted a few Colour references to pass-by-values. 2013-07-01 17:38:47 +01:00
jules
c75a7300f5 Added some 'override' modifiers to overridden methods. 2013-06-23 23:09:52 +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
c7506df13f Changed some pass-by-references to pass-by-value to improve compiler optimisation. 2013-05-22 23:05:53 -06:00
jules
2b613d8da8 Documentation fix. 2013-04-22 10:27:56 +01:00
jules
0ee5dbf91d Added DrawableButton::textColourOnId 2013-01-22 17:01:39 +00:00
jules
6f88b7ae60 Minor clean-ups. 2013-01-03 10:29:01 +00:00