From 5a494df22cccdcc1fbefbe51ee9d1c3839b42d6b Mon Sep 17 00:00:00 2001 From: Lukasz Stanislawski Date: Fri, 17 Jul 2015 16:33:25 +0200 Subject: [PATCH] introduce new HIGHLIGHTABLE and HIGHLIGHTED states. 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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/atspi/atspi-constants.h b/atspi/atspi-constants.h index 838adc7..dd10679 100644 --- a/atspi/atspi-constants.h +++ b/atspi/atspi-constants.h @@ -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; -- 2.7.4