{
AtkComponent *component = (AtkComponent *) user_data;
dbus_int32_t x, y;
- dbus_int16_t coord_type;
+ dbus_uint32_t coord_type;
DBusError error;
dbus_bool_t retval;
DBusMessage *reply;
dbus_error_init (&error);
if (!dbus_message_get_args
(message, &error, DBUS_TYPE_INT32, &x, DBUS_TYPE_INT32, &y,
- DBUS_TYPE_INT16, &coord_type, DBUS_TYPE_INVALID))
+ DBUS_TYPE_UINT32, &coord_type, DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);
}
{
AtkComponent *component = (AtkComponent *) user_data;
dbus_int32_t x, y;
- dbus_int16_t coord_type;
+ dbus_uint32_t coord_type;
DBusError error;
AtkObject *child;
dbus_error_init (&error);
if (!dbus_message_get_args
(message, &error, DBUS_TYPE_INT32, &x, DBUS_TYPE_INT32, &y,
- DBUS_TYPE_INT16, &coord_type, DBUS_TYPE_INVALID))
+ DBUS_TYPE_UINT32, &coord_type, DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);
}
{
AtkComponent *component = (AtkComponent *) user_data;
DBusError error;
- dbus_int16_t coord_type;
+ dbus_uint32_t coord_type;
gint ix, iy, iwidth, iheight;
g_return_val_if_fail (ATK_IS_COMPONENT (user_data),
dbus_error_init (&error);
if (!dbus_message_get_args
- (message, &error, DBUS_TYPE_INT16, &coord_type, DBUS_TYPE_INVALID))
+ (message, &error, DBUS_TYPE_UINT32, &coord_type, DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);
}
{
AtkComponent *component = (AtkComponent *) user_data;
DBusError error;
- dbus_int16_t coord_type;
+ dbus_uint32_t coord_type;
gint ix = 0, iy = 0;
dbus_int32_t x, y;
DBusMessage *reply;
dbus_error_init (&error);
if (!dbus_message_get_args
- (message, &error, DBUS_TYPE_INT16, &coord_type, DBUS_TYPE_INVALID))
+ (message, &error, DBUS_TYPE_UINT32, &coord_type, DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);
}
{
AtkImage *image = (AtkImage *) user_data;
DBusError error;
- dbus_int16_t coordType;
+ dbus_uint32_t coordType;
gint ix, iy, iwidth, iheight;
g_return_val_if_fail (ATK_IS_IMAGE (user_data),
droute_not_yet_handled_error (message));
dbus_error_init (&error);
if (!dbus_message_get_args
- (message, &error, DBUS_TYPE_INT16, &coordType, DBUS_TYPE_INVALID))
+ (message, &error, DBUS_TYPE_UINT32, &coordType, DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);
}
{
AtkImage *image = (AtkImage *) user_data;
DBusError error;
- dbus_int16_t coord_type;
+ dbus_uint32_t coord_type;
gint ix = 0, iy = 0;
dbus_int32_t x, y;
DBusMessage *reply;
droute_not_yet_handled_error (message));
dbus_error_init (&error);
if (!dbus_message_get_args
- (message, &error, DBUS_TYPE_INT16, &coord_type, DBUS_TYPE_INVALID))
+ (message, &error, DBUS_TYPE_UINT32, &coord_type, DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);
}
{
AtkText *text = (AtkText *) user_data;
dbus_int32_t offset;
- dbus_int16_t coordType;
+ dbus_uint32_t coordType;
dbus_int32_t x, y, width, height;
gint ix = 0, iy = 0, iw = 0, ih = 0;
DBusError error;
droute_not_yet_handled_error (message));
dbus_error_init (&error);
if (!dbus_message_get_args
- (message, &error, DBUS_TYPE_INT32, &offset, DBUS_TYPE_INT16, &coordType,
+ (message, &error, DBUS_TYPE_INT32, &offset, DBUS_TYPE_UINT32, &coordType,
DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);
{
AtkText *text = (AtkText *) user_data;
dbus_int32_t x, y;
- dbus_int16_t coordType;
+ dbus_uint32_t coordType;
dbus_int32_t rv;
DBusError error;
DBusMessage *reply;
dbus_error_init (&error);
if (!dbus_message_get_args
(message, &error, DBUS_TYPE_INT32, &x, DBUS_TYPE_INT32, &y,
- DBUS_TYPE_INT16, &coordType, DBUS_TYPE_INVALID))
+ DBUS_TYPE_UINT32, &coordType, DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);
}
{
AtkText *text = (AtkText *) user_data;
dbus_int32_t startOffset, endOffset;
- dbus_int16_t coordType;
+ dbus_uint32_t coordType;
AtkTextRectangle rect;
dbus_int32_t x, y, width, height;
DBusError error;
dbus_error_init (&error);
if (!dbus_message_get_args
(message, &error, DBUS_TYPE_INT32, &startOffset, DBUS_TYPE_INT32,
- &endOffset, DBUS_TYPE_INT16, &coordType, DBUS_TYPE_INVALID))
+ &endOffset, DBUS_TYPE_UINT32, &coordType, DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);
}
{
AtkText *text = (AtkText *) user_data;
dbus_int32_t x, y, width, height;
- dbus_int16_t coordType, xClipType, yClipType;
+ dbus_uint32_t coordType, xClipType, yClipType;
DBusError error;
AtkTextRange **range_list = NULL;
AtkTextRectangle rect;
dbus_error_init (&error);
if (!dbus_message_get_args
(message, &error, DBUS_TYPE_INT32, &x, DBUS_TYPE_INT32, &y,
- DBUS_TYPE_INT32, &height, DBUS_TYPE_INT32, &width, DBUS_TYPE_INT16,
- &coordType, DBUS_TYPE_INT32, &xClipType, DBUS_TYPE_INT32, &yClipType,
+ DBUS_TYPE_INT32, &height, DBUS_TYPE_INT32, &width, DBUS_TYPE_UINT32,
+ &coordType, DBUS_TYPE_UINT32, &xClipType, DBUS_TYPE_UINT32, &yClipType,
DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);
<tp:enumvalue suffix="LOCALE_TYPE_NUMERIC" value="4"/>
<tp:enumvalue suffix="LOCALE_TYPE_TIME" value="5"/>
</tp:enum>
+
+<tp:enum name="COORD_TYPE" type="u">
+ <tp:docstring>
+ Used by Component, Image, and Text interfaces to specify whether coordinates are relative to the window or the screen.
+ </tp:docstring>
+ <tp:enumvalue suffix="COORD_TYPE_SCREEN"/>
+ <tp:enumvalue suffix="COORD_TYPE_WINDOW" value="1"/>
+</tp:enum>
+
<tp:struct name="BoundingBox">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
Used by Component and Text interfaces, a struct defining a bounding rectangle.
<method name="contains">
<arg direction="in" name="x" type="i"/>
<arg direction="in" name="y" type="i"/>
- <arg direction="in" name="coord_type" type="n" tp:type="short"/>
+ <arg direction="in" name="coord_type" type="u" tp:type="COORD_TYPE"/>
<arg direction="out" type="b" tp:type="boolean">
<tp:docstring>
<code>True</code>if the specified point lies within the Component's bounding box, <code>False</code> otherwise.
<method name="getAccessibleAtPoint">
<arg direction="in" name="x" type="i"/>
<arg direction="in" name="y" type="i"/>
- <arg direction="in" name="coord_type" type="n" tp:type="short"/>
+ <arg direction="in" name="coord_type" type="u" tp:type="COORD_TYPE"/>
<arg direction="out" type="o" tp:type="Accessible">
<tp:docstring>
The Accessible child whose bounding box contains the specified point.
<tp:docstring>
Obtain the Component's bounding box, in pixels, relative to the specified coordinate system.
</tp:docstring>
- <arg direction="in" name="coord_type" type="n" tp:type="short"/>
+ <arg direction="in" name="coord_type" type="u" tp:type="COORD_TYPE"/>
<arg direction="out" type="(iiii)" tp:type="BoundingBox">
<tp:docstring>
A BoundingBox which entirely contains the object's onscreen visual representation.
by <code>coord_type.</code>
</p>
</tp:docstring>
- <arg direction="in" name="coord_type" type="n" tp:type="short">
+ <arg direction="in" name="coord_type" type="u" tp:type="COORD_TYPE">
<tp:docstring>
<ol>
<li>0 indicates coord_type_xy_screen, coordinates are relative to the display screen, in pixels.</li>
view, and not the nominal size of the source data in the
event that the original image has been rescaled. </p>
</tp:docstring>
- <arg direction="in" name="coordType" type="n" tp:type="short">
+ <arg direction="in" name="coordType" type="u" tp:type="COORD_TYPE">
<tp:docstring>
<p>If 0, the returned bounding box position is returned
relative to the screen; if 1, the bounding box position is returned
onscreen image (i.e. the minimum y coordinate)
</tp:docstring>
</arg>
- <arg direction="in" name="coordType" type="n" tp:type="short">
+ <arg direction="in" name="coordType" type="u" tp:type="COORD_TYPE">
<tp:docstring>
If 0, the returned x and y coordinates are
returned relative to the screen;
</arg>
<arg direction="in" name="type" type="u" tp:type="TEXT_BOUNDARY_TYPE">
<tp:docstring>
- The text-boundary delimiter which determines whether the returned text constitures
+ The text-boundary delimiter which determines whether the returned text constitutes
a character, word, line, or sentence (and possibly attendant whitespace),
and whether the start or ending of such a substring forms the boundary condition.
</tp:docstring>
the character at <code>offset</code>.
</tp:docstring>
</arg>
- <arg direction="in" name="coordType" type="n" tp:type="short">
+ <arg direction="in" name="coordType" type="u" tp:type="COORD_TYPE">
<tp:docstring>
<p>If 0, the results will be reported in screen coordinates, i.e. in pixels
relative to the upper-left corner of the screen, with the x axis pointing right
</tp:docstring>
<arg direction="in" name="x" type="i"/>
<arg direction="in" name="y" type="i"/>
- <arg direction="in" name="coordType" type="n" tp:type="short">
+ <arg direction="in" name="coordType" type="u" tp:type="COORD_TYPE">
<tp:docstring>
If 0, the input coordinates are interpreted relative to the entire screen, if 1,
they are relative to the toplevel window containing this Text object.
An integer parameter which is back-filled with the
vertical extent of the bounding box.
</arg>
- <arg direction="in" name="coordType" type="n" tp:type="short">
+ <arg direction="in" name="coordType" type="u" tp:type="COORD_TYPE">
<tp:docstring>
If 0, the above coordinates are reported in pixels relative to
corner of the screen; if 1, the coordinates are reported relative to the
is (y + height);
</tp:docstring>
</arg>
- <arg direction="in" name="coordType" type="n" tp:type="short">
+ <arg direction="in" name="coordType" type="u" tp:type="COORD_TYPE">
<tp:docstring>
If 0, the above coordinates are interpreted as pixels relative to
corner of the screen; if 1, the coordinates are interpreted as pixels relative to the