reuk
eb58b471c7
Toolbar: Add accessible name for custom popup menu item
2022-02-23 10:56:10 +00:00
reuk
6d404236e2
Toolbar: Fix missing-items button when LookAndFeel changes after construction of toolbar
...
Previously, setting a new look and feel would create a new missing-items
button, but would not add it to the toolbar or set the onClick callback.
2022-02-23 10:56:09 +00:00
Attila Szarvas
101a886821
MouseInputSource: Eliminate superfluous drag events caused by pressure change
...
The bug was triggered on Monterey where a pressure of 1 is reported
while a mouse button is being held down. This caused an extra drag
event being triggered between mouse down and up events, even if no
movement occurred.
2022-02-15 10:53:32 +00:00
reuk
4cf74dfff6
Viewport: Improve drag-to-scroll on devices that can accept simultaneous mouse and touch input
...
Some Windows 11 devices have both touch screens and mouse inputs, and
these can be used simultaneously.
The Viewport (and ListBox) now check the input source of each mouse
down. If the source is not a mouse, the viewport will always enter
drag-to-scroll mode, regardless of the result of isScrollOnDragEnabled.
2022-02-07 14:24:11 +00:00
reuk
b2f318a775
TreeView: Allow built-in mouse handling to be enabled/disabled for custom components
2022-01-28 16:09:59 +00:00
reuk
ef7c3c6947
TreeView: Support TooltipClient interface
2022-01-28 16:09:59 +00:00
Tom Poole
c072b1bc8e
Fix some typos
2022-01-25 11:48:46 +00:00
reuk
cd34f1b00b
TreeView: Reset itemUnderMouse when deleting TreeViewItems to avoid dereferencing dangling pointers
2022-01-06 16:32:43 +00:00
attila
2b3abd3ca6
MacOS: Fix TextEditor when using marked text (e.g. Korean)
2022-01-04 17:20:11 +01:00
ed
b421159be3
Accessibility: Use ignored AccessibilityHandler for slider text boxes to fix keyboard focus/accessible focus sync issue
2021-12-13 12:56:15 +00:00
reuk
34fdea0708
DragAndDropContainer: Allow custom scaling
2021-12-01 15:35:54 +00:00
ed
1fe8fa467b
TextEditor: Fix floating-point -> integer bounds conversion of text selection bounds
2021-11-09 15:35:52 +00:00
ed
b70fbb9bca
TreeView: Fix drag-to-scroll viewport jump on mouse exit
2021-10-25 16:40:18 +01:00
reuk
7f0a305199
Slider: Ensure that current Value is always treated as a double
2021-10-25 09:51:21 +01:00
ed
6218e2f92b
Fix bug in LabelKeyboardFocusTraverser causing editable labels to consume focus traversal events
2021-10-25 08:20:21 +01:00
ed
de375ab6d7
TreeView: Prevent dragging items from scrolling viewport on mobile and fix issue with dragged item component being deleted during drag operations
2021-10-20 16:36:40 +01:00
ed
1e0acdf83d
Accessibility: Update ComboBox label accessibility when editable state changed
2021-10-15 10:11:13 +01:00
ed
428260a6fd
Whitespace
2021-10-14 12:31:17 +01:00
ed
70968d46c8
TreeView: Coalesce item position recalculation to fix performance issues with large trees
2021-10-13 15:06:18 +01:00
ed
b3a6e796f9
Fix potential nullptr dereference in Slider::ScopedDragNotification destructor
2021-10-08 17:19:04 +01:00
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