ed
0000771751
Accessibility: Report Button on/off state via AccessibilityValueInterface
3 years ago
ed
b8aa237463
Accessibility: Add Button::setToggleable() method for manually specifying that a button's on/off state is toggleable and should be exposed to accessibility clients
3 years ago
ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
3 years ago
ed
24910cc4b4
Fix GCC Wshadow warnings
3 years ago
ed
8370542eb2
Accessibility: Only use AccessibilityRole::toggleButton role and add AccessibilityActionType::toggle for ToggleButtons
3 years ago
ed
90eb878d16
Accessibility: Make createAccessibilityHandler() private in Component subclasses
3 years ago
ed
5a78b06f5c
Update Button state after sending click callback in Button::mouseUp()
In cases where internalClickCallback() modified the state of the button this was not being updated until the next call to updateState(). Calling it a second time after the click callback will make sure the state is up to date.
3 years ago
ed
90ea4cc2ab
Accessibility: Return button tooltip from ButtonAccessibilityHandler::getHelp()
3 years ago
ed
ffdfb5b436
Accessibility: Set checked state in ButtonAccessibilityHandler::getCurrentState() if button is part of a radio group
4 years ago
ed
333983947e
Accessibility: Removed widget_handlers
4 years ago
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
4 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
4 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
ed
a529fbbf47
Don't reset Drawable's AffineTransform when using DrawableButton::ButtonStyle::ImageRaw
5 years ago
ed
718712a5a5
Ensure that the button background is drawn for DrawableButton::ButtonStyle::ImageOnButtonBackgroundOriginalSize
5 years ago
ed
b5a2d03a8c
Added DrawableButton::ButtonStyle::ImageOnButtonBackgroundOriginalSize
5 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
jules
a97c4a9139
More std::unique_ptr modernisation - changed functions that used to return raw Drawable* pointers to use it
6 years ago
ed
3d8acd864a
Fixed some pen input source issues
6 years ago
ed
dcd606531a
Fixed a documentation typo
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
da2b10ada6
Got rid of some methods which had inexplicably ended up marked both 'virtual' and 'override'.
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
Tom Poole
e5314791c1
A minor documentation update.
6 years ago
jules
4d02ac63a8
Couple more spelling fixes
6 years ago
Tom Poole
3c93cfb105
Clarified some Button LookAndFeel parameter names
6 years ago
jules
7ab4d1708b
Some misc cleanups, mainly around WeakReference usage and rectangles
6 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
ed
481221a256
Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers()
7 years ago
jules
b8b6afd9ce
Made toggle buttons call their state change listeners when its toggle state is changed remotely by a connected Value
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
Noah Dayan
1c21f34e21
Fix typo in juce_Button.h
7 years ago
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
7 years ago
jules
48a5fbd333
Another batch of ScopedPointer cleanups
7 years ago
jules
e7a5e520c6
Updated Button::onClick and added ComboBox::onChange
7 years ago
jules
ce8b2d865a
Used Button::onClick to simplify a bunch of library classes and demo code
7 years ago
jules
be5f2d62c4
Added some helper objects Button::onClick and Button::onStateChange, which let you easily assign a lambda to be called on these events
7 years ago
jules
a7e3339f86
Got rid of some very old legacy VC6 workaround typedefs
7 years ago
jules
7294118612
Changed Button so that it won't actively trigger a click when connected up to a Value source that changes
7 years ago
jules
d0111a4f96
Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi
7 years ago
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!
7 years ago
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)
7 years ago
ed
996f44f3f6
Added set and getJustificationType() methods to HyperlinkButton
7 years ago
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
7 years ago
jules
723a15c7a0
Removed a few more old compiler workarounds
7 years ago