Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.3KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE 7 technical preview.
  4. Copyright (c) 2022 - Raw Material Software Limited
  5. You may use this code under the terms of the GPL v3
  6. (see www.gnu.org/licenses).
  7. For the technical preview this file cannot be licensed commercially.
  8. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  9. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  10. DISCLAIMED.
  11. ==============================================================================
  12. */
  13. namespace juce
  14. {
  15. /** A list of events that can be notified to any subscribed accessibility clients.
  16. To post a notification, call `AccessibilityHandler::notifyAccessibilityEvent`
  17. on the associated handler with the appropriate `AccessibilityEvent` type and
  18. listening clients will be notified.
  19. @tags{Accessibility}
  20. */
  21. enum class AccessibilityEvent
  22. {
  23. /** Indicates that the UI element's value has changed.
  24. This should be called on the handler that implements `AccessibilityValueInterface`
  25. for the UI element that has changed.
  26. */
  27. valueChanged,
  28. /** Indicates that the title of the UI element has changed.
  29. This should be called on the handler whose title has changed.
  30. */
  31. titleChanged,
  32. /** Indicates that the structure of the UI elements has changed in a
  33. significant way.
  34. This should be called on the top-level handler whose structure has changed.
  35. */
  36. structureChanged,
  37. /** Indicates that the selection of a text element has changed.
  38. This should be called on the handler that implements `AccessibilityTextInterface`
  39. for the text element that has changed.
  40. */
  41. textSelectionChanged,
  42. /** Indicates that the visible text of a text element has changed.
  43. This should be called on the handler that implements `AccessibilityTextInterface`
  44. for the text element that has changed.
  45. */
  46. textChanged,
  47. /** Indicates that the selection of rows in a list or table has changed.
  48. This should be called on the handler that implements `AccessibilityTableInterface`
  49. for the UI element that has changed.
  50. */
  51. rowSelectionChanged
  52. };
  53. }