summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoanmarie Diggs <jdiggs@igalia.com>2015-01-23 09:56:04 -0500
committerJoanmarie Diggs <jdiggs@igalia.com>2015-01-26 08:31:47 -0500
commit12550e53a9dc01328beb152f87fc7223f834d2e0 (patch)
treeeb17deaadc72a5ca7ab62eee43a316dba29a4a36
parent577386c387c75ca7db8eaf2823816ff8cc4af77a (diff)
downloadat-spi2-core-12550e53a9dc01328beb152f87fc7223f834d2e0.tar.gz
Add new roles for fractions, roots, subscripts, and superscripts
https://bugzilla.gnome.org/show_bug.cgi?id=743403
-rw-r--r--atspi/atspi-constants.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/atspi/atspi-constants.h b/atspi/atspi-constants.h
index 0637aa8a..6095fb43 100644
--- a/atspi/atspi-constants.h
+++ b/atspi/atspi-constants.h
@@ -1173,6 +1173,14 @@ typedef enum {
* @ATSPI_ROLE_LABEL. For text views, see @ATSPI_ROLE_TEXT. For generic
* containers, see @ATSPI_ROLE_PANEL. For objects whose role is not known by the
* implementor, see @ATSPI_ROLE_UNKNOWN. @Since: 2.16.
+ *@ATSPI_ROLE_MATH_FRACTION: An object that represents a mathematical fraction.
+ * @Since: 2.16.
+ *@ATSPI_ROLE_MATH_ROOT: An object that represents a mathematical expression
+ * displayed with a radical. @Since: 2.16.
+ *@ATSPI_ROLE_SUBSCRIPT: An object that contains text that is displayed as a
+ * subscript. @Since: 2.16.
+ *@ATSPI_ROLE_SUPERSCRIPT: An object that contains text that is displayed as a
+ * superscript. @Since: 2.16.
* @ATSPI_ROLE_LAST_DEFINED: Not a valid role, used for finding end of
* enumeration.
*
@@ -1298,6 +1306,10 @@ typedef enum {
ATSPI_ROLE_RATING,
ATSPI_ROLE_TIMER,
ATSPI_ROLE_STATIC,
+ ATSPI_ROLE_MATH_FRACTION,
+ ATSPI_ROLE_MATH_ROOT,
+ ATSPI_ROLE_SUBSCRIPT,
+ ATSPI_ROLE_SUPERSCRIPT,
ATSPI_ROLE_LAST_DEFINED,
} AtspiRole;
@@ -1306,7 +1318,7 @@ typedef enum {
*
* One higher than the highest valid value of #AtspiRole.
*/
-#define ATSPI_ROLE_COUNT (90+1)
+#define ATSPI_ROLE_COUNT (121+1)
typedef enum
{