Add new roles for fractions, roots, subscripts, and superscripts
authorJoanmarie Diggs <jdiggs@igalia.com>
Mon, 12 Jan 2015 13:36:15 +0000 (08:36 -0500)
committerJoanmarie Diggs <jdiggs@igalia.com>
Mon, 19 Jan 2015 11:37:40 +0000 (06:37 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=742806

atk/atkobject.h

index da0e146..b89b430 100755 (executable)
@@ -213,6 +213,14 @@ G_BEGIN_DECLS
  * labels which describe another widget, see ATK_ROLE_LABEL. For text views, see
  * ATK_ROLE_TEXT. For generic containers, see ATK_ROLE_PANEL. For objects whose
  * role is not known by the implementor, see ATK_ROLE_UNKNOWN. @Since: ATK-2.16.
+ *@ATK_ROLE_MATH_FRACTION: An object that represents a mathematical fraction.
+ * @Since: ATK-2.16.
+ *@ATK_ROLE_MATH_ROOT: An object that represents a mathematical expression
+ * displayed with a radical. @Since: ATK-2.16.
+ *@ATK_ROLE_SUBSCRIPT: An object that contains text that is displayed as a
+ * subscript. @Since: ATK-2.16.
+ *@ATK_ROLE_SUPERSCRIPT: An object that contains text that is displayed as a
+ * superscript. @Since: ATK-2.16.
  *@ATK_ROLE_LAST_DEFINED: not a valid role, used for finding end of the enumeration
  *
  * Describes the role of an object
@@ -341,6 +349,10 @@ typedef enum
   ATK_ROLE_DESCRIPTION_TERM,
   ATK_ROLE_DESCRIPTION_VALUE,
   ATK_ROLE_STATIC,
+  ATK_ROLE_MATH_FRACTION,
+  ATK_ROLE_MATH_ROOT,
+  ATK_ROLE_SUBSCRIPT,
+  ATK_ROLE_SUPERSCRIPT,
   ATK_ROLE_LAST_DEFINED
 } AtkRole;