introduce new HIGHLIGHTABLE and HIGHLIGHTED states. 89/49789/2
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Fri, 17 Jul 2015 14:33:25 +0000 (16:33 +0200)
committerTomasz Olszak <t.olszak@samsung.com>
Fri, 23 Oct 2015 14:56:27 +0000 (16:56 +0200)
Purpose of this states is to clearly inform Assistive Technology
client that object can be visually marked to assist low-vision users.
Idea is the same as with focused and focusable states.

Change-Id: I81525d1ea130b32cdf834d4d8e54e9581cf6e665

atspi/atspi-constants.h

index 838adc7..dd10679 100644 (file)
@@ -570,6 +570,12 @@ typedef enum {
  * @ATSPI_STATE_READ_ONLY: Indicates that an object which is ENABLED and
  * SENSITIVE has a value which can be read, but not modified, by the
  * user. @Since: 2.16
+ * @ATSPI_STATE_HIGHLIGHTED: Indicates that an object which is HIGHLIGHTABLE
+ * has been graphically marked to assits visally impared users. Only one
+ * object per window can have ATSPI_STATE_HIGHLIGHTED  state.
+ * @ATSPI_STATE_HIGHLIGHTABLE: Indicates that an object can be graphically
+ * marked to assist visially impaired users.
+ * user. @Since: 2.16
  * @ATSPI_STATE_LAST_DEFINED: This value of the enumeration should not be used
  * as a parameter, it indicates the number of items in the #AtspiStateType
  * enumeration.
@@ -624,6 +630,8 @@ typedef enum {
     ATSPI_STATE_CHECKABLE,
     ATSPI_STATE_HAS_POPUP,
     ATSPI_STATE_READ_ONLY,
+    ATSPI_STATE_HIGHLIGHTED,
+    ATSPI_STATE_HIGHLIGHTABLE,
     ATSPI_STATE_LAST_DEFINED,
 } AtspiStateType;