1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00
Commit graph

482 commits

Author SHA1 Message Date
ed
7a8a4944cb ComboBox: Hide active menu when disabled 2021-10-08 17:19:04 +01:00
ed
e6360ca4cf Accessibility: Send AccessibilityEvent::valueChanged when ComboBox selection is changed 2021-10-08 17:19:03 +01:00
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.
2021-09-29 16:14:00 +01:00
ed
c933ad5a16 Accessibility: Fix issue with ListBox selection duplication 2021-09-29 11:46:10 +01:00
ed
5801cf7d09 Accessibility: Fix issue with ListBox custom components not being accessible 2021-09-29 11:46:10 +01:00
ed
55ffe91db8 TreeView: Don't add MouseListener for nested custom components
This restores the behaviour of TreeViews with custom item components prior to ec990202
2021-09-23 10:20:36 +01:00
reuk
32322a51e8
TableHeaderComponent: Avoid repainting in setColumnWidth if requested size is outside limits 2021-09-22 10:23:04 +01:00
ed
8370542eb2 Accessibility: Only use AccessibilityRole::toggleButton role and add AccessibilityActionType::toggle for ToggleButtons 2021-09-07 17:33:02 +01:00
ed
90eb878d16 Accessibility: Make createAccessibilityHandler() private in Component subclasses 2021-09-07 11:23:17 +01:00
ed
3739fe4829 Accessibility: Added ScopedDragNotification for sending slider drag notifications 2021-09-07 11:23:17 +01:00
ed
8d6ba3b54e Accessibility: Use AccessibilityRole::ignored for UI elements that should not be accessible to screen readers but have accessible children 2021-09-07 11:23:17 +01:00
ed
8bb08f558e Accessibility: Fix off-by-one row index bug when using a ListBox with an accessible header component 2021-09-02 08:35:14 +01:00
ed
945a7f4477 Accessibility: Send value change notifications from SliderAccessibilityHandler 2021-09-02 08:35:14 +01:00
ed
6f8c464747 TextEditor: Fix a highlighting bug 2021-08-16 16:07:40 +01:00
ed
c3cb59d6ae TextEditor: Avoid some potential nullptr dereferences in the Iterator class 2021-08-16 16:07:40 +01:00
reuk
3c68581567
Use jassertquiet where possible 2021-07-23 10:58:44 +01:00
reuk
19e1488e18
Slider: Add getScrollWheelEnabled function 2021-07-23 10:50:00 +01:00
ed
a5c3b81f82 Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +01:00
ed
3321ff231d Accessibility: Fall back to RowComponent AccessibilityHandler if no custom cell component handler has been set in TableListBox 2021-07-05 12:07:30 +01:00
ed
c559d31e90 Accessibility: Override Accessibility::getHelp() for JUCE widgets that support tooltips 2021-07-05 12:07:30 +01:00
ed
e2d41dfa0a Accessibility: Fixed slider step size for sliders with no interval explicitly set 2021-06-21 18:52:07 +01:00
ed
399f8d5bf6 Accessibility: Use AccessibilityRole::editableText role when Label is editable 2021-06-16 17:18:24 +01:00
ed
94fb4a20e3 Restored previous behaviour of Label::focusGained() to just show editor on tab focus change 2021-06-16 17:17:44 +01:00
ed
c29ddf7681 Accessibility: Return non-focusable AccessibleState from LabelAccessibilityHandler::getCurrentState() when the TextEditor is showing and active so focus is passed through correctly 2021-06-11 13:50:46 +01:00
ed
cdee88c003 Accessibility: Set TreeViewItem expanded/collapsed state only when it has sub-items 2021-06-11 13:48:18 +01:00
ed
a7f33da900 Accessibility: Set caret position when passed an empty range selection in CodeEditorComponent and TextEditor AccessibilityTextInterface implementations 2021-06-11 13:48:07 +01:00
ed
e2aa2a2048 Accessibility: Throttle TreeView/ListBox Viewport move AccessibilityEvent::structureChanged notifications 2021-06-07 19:38:29 +01:00
ed
8b2f3088d7 Accessibility: Added AccessibilityTextInterface::isReadOnly() method and AccessibilityRole::label to distinguish between navigable and selectable read-only text elements and simple labels 2021-06-07 19:38:29 +01:00
ed
3fd4f7a231 TextEditor: Take border size into account when calculating text bounds 2021-06-01 11:22:35 +01:00
ed
13e7ffbdfb Accessibility: Use AccessibilityTextValueInterface for read-only text in Label, TextEditor and CodeEditorComponent 2021-05-28 14:48:59 +01:00
ed
e28525b05d TreeView: Fixed a potential crash when dragging a TreeViewItem with a custom component 2021-05-27 17:06:46 +01:00
ed
7b34d56069 TreeView: Use content component coordinate space in TreeView::getItemAt() 2021-05-27 17:06:45 +01:00
ed
ce72fe4143 Label: Check for deletion before calling repaint() in hideEditor() 2021-05-26 16:54:38 +01:00
ed
083a5af323 TextEditor: Offset selection fill bounds by viewport position to fix bug with multi-line highlighting 2021-05-26 16:54:38 +01:00
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
ed
edd4ff9cfc ListBox: Select row on focus 2021-05-26 09:20:59 +01:00
ed
8dfb916e9a ListBox: Send AccessibilityEvent::rowSelectionChanged events 2021-05-26 09:20:59 +01:00
ed
b6d429a3f7 Accessibility: Add table and cell interface support to ListBox accessibility handlers 2021-05-20 18:24:58 +01:00
ed
5e6fe0db3d Accessibility: Send structure change message when TreeView viewport is scrolled 2021-05-20 18:24:58 +01:00
ed
361b29edb6 Offset TextEditor::getTextBounds() by viewport position 2021-05-20 18:24:57 +01:00
ed
f3aa49e0d3 Accessibility: Fixed ListBox multiple selection 2021-05-20 18:24:57 +01:00
ed
333983947e Accessibility: Removed widget_handlers 2021-05-20 18:24:56 +01:00
ed
6bb3b9208b TreeView: Use Component::getApproximateScaleFactorForComponent() when creating drag images 2021-05-19 16:21:31 +01:00
ed
64896eefcd Accessibility: Fixed a potential crash when re-using custom ListBox components 2021-05-13 14:35:51 +01:00
ed
6a36af2a11 Fixed a lambda capture lifetime issue when setting up IncDecButtons style sliders 2021-05-11 15:57:48 +01:00
ed
533f68219b Fixed some Doxygen issues 2021-05-11 11:48:52 +01:00
ed
ec990202b1 Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics 2021-05-10 10:53:14 +01:00
ed
665fac678f TextEditor: Enable horizontal scrollbars for multi-line editors with word wrapping disabled 2021-04-29 17:05:00 +01:00
ed
f5dac0780d TextEditor: Only start new lines when shouldStartNewLine == true when splitting long atoms 2021-04-26 15:05:00 +01:00
ed
7fb45db0d2 TextEditor: Always return positive integers from getMaximumTextWidth/Height() 2021-04-26 15:03:52 +01:00