Add ATSPI_ROLE_LEVEL_BAR
authorMike Gorse <mgorse@suse.com>
Thu, 31 Jan 2013 21:40:37 +0000 (15:40 -0600)
committerMike Gorse <mgorse@suse.com>
Thu, 31 Jan 2013 21:40:37 +0000 (15:40 -0600)
Add "level bar" role corresponding to the new atk role.

atspi/atspi-accessible.c
atspi/atspi-constants.h

index 5f98199..9d79a81 100644 (file)
@@ -301,7 +301,8 @@ static const char *role_names [] =
   "grouping",
   "image map",
   "notification",
-  "info bar"
+  "info bar",
+  "level bar"
 };
 
 #define MAX_ROLES (sizeof (role_names) / sizeof (char *))
index cb85a92..98564e0 100644 (file)
@@ -1065,6 +1065,9 @@ typedef enum {
  * particular application.
  * @ATSPI_ROLE_INFO_BAR: An object designed to present a message to the user
  * within an existing window.
+ *@ATSPI_ROLE_LEVEL_BAR: A bar that serves as a level indicator to, for
+ * instance, show the strength of a password or the state of a battery. 
+ * Since: 2.8
  * @ATSPI_ROLE_LAST_DEFINED: Not a valid role, used for finding end of
  * enumeration.
  *
@@ -1176,6 +1179,7 @@ typedef enum {
     ATSPI_ROLE_IMAGE_MAP,
     ATSPI_ROLE_NOTIFICATION,
     ATSPI_ROLE_INFO_BAR,
+    ATSPI_ROLE_LEVEL_BAR,
     ATSPI_ROLE_LAST_DEFINED,
 } AtspiRole;