reuk
eb58b471c7
Toolbar: Add accessible name for custom popup menu item
3 years ago
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.
3 years ago
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.
3 years ago
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.
3 years ago
reuk
b2f318a775
TreeView: Allow built-in mouse handling to be enabled/disabled for custom components
3 years ago
reuk
ef7c3c6947
TreeView: Support TooltipClient interface
3 years ago
Tom Poole
c072b1bc8e
Fix some typos
3 years ago
reuk
9055820a30
TreeView: Reset itemUnderMouse when deleting TreeViewItems to avoid dereferencing dangling pointers
3 years ago
reuk
cd34f1b00b
TreeView: Reset itemUnderMouse when deleting TreeViewItems to avoid dereferencing dangling pointers
3 years ago
attila
2b3abd3ca6
MacOS: Fix TextEditor when using marked text (e.g. Korean)
3 years ago
ed
b421159be3
Accessibility: Use ignored AccessibilityHandler for slider text boxes to fix keyboard focus/accessible focus sync issue
3 years ago
reuk
34fdea0708
DragAndDropContainer: Allow custom scaling
3 years ago
ed
1fe8fa467b
TextEditor: Fix floating-point -> integer bounds conversion of text selection bounds
3 years ago
ed
b70fbb9bca
TreeView: Fix drag-to-scroll viewport jump on mouse exit
3 years ago
reuk
7f0a305199
Slider: Ensure that current Value is always treated as a double
3 years ago
ed
6218e2f92b
Fix bug in LabelKeyboardFocusTraverser causing editable labels to consume focus traversal events
3 years ago
ed
de375ab6d7
TreeView: Prevent dragging items from scrolling viewport on mobile and fix issue with dragged item component being deleted during drag operations
3 years ago
ed
1e0acdf83d
Accessibility: Update ComboBox label accessibility when editable state changed
3 years ago
ed
428260a6fd
Whitespace
3 years ago
ed
70968d46c8
TreeView: Coalesce item position recalculation to fix performance issues with large trees
3 years ago
ed
b3a6e796f9
Fix potential nullptr dereference in Slider::ScopedDragNotification destructor
3 years ago
ed
7a8a4944cb
ComboBox: Hide active menu when disabled
3 years ago
ed
e6360ca4cf
Accessibility: Send AccessibilityEvent::valueChanged when ComboBox selection is changed
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
c933ad5a16
Accessibility: Fix issue with ListBox selection duplication
3 years ago
ed
5801cf7d09
Accessibility: Fix issue with ListBox custom components not being accessible
3 years ago
ed
55ffe91db8
TreeView: Don't add MouseListener for nested custom components
This restores the behaviour of TreeViews with custom item components prior to ec990202
3 years ago
reuk
32322a51e8
TableHeaderComponent: Avoid repainting in setColumnWidth if requested size is outside limits
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
3739fe4829
Accessibility: Added ScopedDragNotification for sending slider drag notifications
3 years ago
ed
8d6ba3b54e
Accessibility: Use AccessibilityRole::ignored for UI elements that should not be accessible to screen readers but have accessible children
3 years ago
ed
8bb08f558e
Accessibility: Fix off-by-one row index bug when using a ListBox with an accessible header component
3 years ago
ed
945a7f4477
Accessibility: Send value change notifications from SliderAccessibilityHandler
3 years ago
ed
6f8c464747
TextEditor: Fix a highlighting bug
3 years ago
ed
c3cb59d6ae
TextEditor: Avoid some potential nullptr dereferences in the Iterator class
3 years ago
reuk
3c68581567
Use jassertquiet where possible
3 years ago
reuk
19e1488e18
Slider: Add getScrollWheelEnabled function
3 years ago
ed
a5c3b81f82
Use C++14 lambda capture initialisers for initialising deletion checkers
3 years ago
ed
3321ff231d
Accessibility: Fall back to RowComponent AccessibilityHandler if no custom cell component handler has been set in TableListBox
3 years ago
ed
c559d31e90
Accessibility: Override Accessibility::getHelp() for JUCE widgets that support tooltips
3 years ago
ed
e2d41dfa0a
Accessibility: Fixed slider step size for sliders with no interval explicitly set
4 years ago
ed
399f8d5bf6
Accessibility: Use AccessibilityRole::editableText role when Label is editable
4 years ago
ed
94fb4a20e3
Restored previous behaviour of Label::focusGained() to just show editor on tab focus change
4 years ago
ed
c29ddf7681
Accessibility: Return non-focusable AccessibleState from LabelAccessibilityHandler::getCurrentState() when the TextEditor is showing and active so focus is passed through correctly
4 years ago
ed
cdee88c003
Accessibility: Set TreeViewItem expanded/collapsed state only when it has sub-items
4 years ago
ed
a7f33da900
Accessibility: Set caret position when passed an empty range selection in CodeEditorComponent and TextEditor AccessibilityTextInterface implementations
4 years ago
ed
e2aa2a2048
Accessibility: Throttle TreeView/ListBox Viewport move AccessibilityEvent::structureChanged notifications
4 years ago
ed
8b2f3088d7
Accessibility: Added AccessibilityTextInterface::isReadOnly() method and AccessibilityRole::label to distinguish between navigable and selectable read-only text elements and simple labels
4 years ago
ed
3fd4f7a231
TextEditor: Take border size into account when calculating text bounds
4 years ago