X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=cspi%2Fspi-impl.h;h=60049b334b2f1acdedcf9f48c67a7f1e295a478d;hb=8ea015764f1509bf78b64065072a3de0d9a8abbe;hp=66e8fd85ed683168c15766c7327eb2e61fe22d3b;hpb=b221ba1183f4089e27b93cc6e43c7c1d94024a29;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/cspi/spi-impl.h b/cspi/spi-impl.h index 66e8fd8..60049b3 100644 --- a/cspi/spi-impl.h +++ b/cspi/spi-impl.h @@ -44,7 +44,15 @@ typedef Accessible AccessibleHyperlink; typedef Accessible AccessibleHypertext; typedef Accessible AccessibleImage; typedef Accessible AccessibleMatchRule; -typedef Accessible AccessibleRelation; + +typedef struct _AccessibleRelation AccessibleRelation; +struct _AccessibleRelation +{ + gint ref_count; + Accessibility_RelationType type; + GArray *targets; +}; + typedef Accessible AccessibleSelection; typedef Accessible AccessibleStreamableContent; typedef Accessible AccessibleTable; @@ -69,6 +77,22 @@ typedef unsigned int SPIBoolean; #define SPI_FALSE (0) #define SPI_TRUE (!SPI_FALSE) +/** + * SPIRect: + * @x: The position of the minimum x value of the rectangle (i.e. left hand corner) + * @y: The position of the minimum y value of the rectangle's bounds. + * @width: Width of the rectangle in pixels. + * @height: Height of the rectangle in pixels. + * + * A structure encapsulating a rectangle. + **/ +typedef struct { + long x; + long y; + long width; + long height; +} SPIRect; + #ifdef __cplusplus } #endif