From 12550e53a9dc01328beb152f87fc7223f834d2e0 Mon Sep 17 00:00:00 2001 From: Joanmarie Diggs Date: Fri, 23 Jan 2015 09:56:04 -0500 Subject: [PATCH] Add new roles for fractions, roots, subscripts, and superscripts https://bugzilla.gnome.org/show_bug.cgi?id=743403 --- atspi/atspi-constants.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/atspi/atspi-constants.h b/atspi/atspi-constants.h index 0637aa8..6095fb4 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 { -- 2.7.4