From: raster Date: Mon, 28 Sep 2009 05:53:48 +0000 (+0000) Subject: add some macros/defin es to make life easier X-Git-Tag: submit/trunk/20120815.174732~3180 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f320d571e835a5713e9d748a7ae8837bd8a35ee;p=profile%2Fivi%2Fevas.git add some macros/defin es to make life easier git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@42757 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/Evas.h b/src/lib/Evas.h index b49955d..a2bf0ca 100644 --- a/src/lib/Evas.h +++ b/src/lib/Evas.h @@ -264,6 +264,11 @@ struct _Evas_Native_Surface #define EVAS_TEXTURE_RESTRICT_REPEAT 4 /**< tiling clamps and any range offset repeats */ #define EVAS_TEXTURE_PAD 5 /**< tiling extends with end values */ +#define EVAS_HINT_EXPAND 1.0 /**< Use with evas_object_size_hint_weight_set(), evas_object_size_hint_eight_get() */ +#define EVAS_HINT_FILL -1.0 /**< Use with evas_object_size_hint_align_set(), evas_object_size_hint_align_get(), evas_object_size_hint_fill_set(), evas_object_size_hint_fill_get() */ +#define evas_object_size_hint_fill_set evas_object_size_hint_align_set /**< Convenience macro to make it easier to understand that align is also used for fill properties (as fill is mutually exclusive to align) */ +#define evas_object_size_hint_fill_get evas_object_size_hint_align_get /**< Convenience macro to make it easier to understand that align is also used for fill properties (as fill is mutually exclusive to align) */ + typedef enum _Evas_Render_Op { EVAS_RENDER_BLEND = 0, /**< default op: d = d*(1-sa) + s */