disable masking support. back to clip rects.

SVN revision: 59896
This commit is contained in:
Carsten Haitzler 2011-06-02 10:00:05 +00:00
parent 7d08af1ed0
commit 2ffa0f4075
2 changed files with 5 additions and 1 deletions

View File

@ -159,7 +159,7 @@ evas_object_mapped_clip_across_mark(Evas_Object *obj)
}
/* public functions */
extern const char *o_rect_type;
EAPI void
evas_object_clip_set(Evas_Object *obj, Evas_Object *clip)
@ -178,6 +178,8 @@ evas_object_clip_set(Evas_Object *obj, Evas_Object *clip)
if (obj->cur.clipper == clip) return;
if (obj == clip) return;
if (evas_object_intercept_call_clip_set(obj, clip)) return;
// illegal to set anything but a rect as a clip
if (clip->type != o_rect_type) return;
if (obj->smart.smart)
{
if (obj->smart.smart->smart_class->clip_set)

View File

@ -4,6 +4,8 @@
/* private magic number for rectangle objects */
static const char o_type[] = "rectangle";
const char *o_rect_type = o_type;
/* private struct for rectangle object internal data */
typedef struct _Evas_Object_Rectangle Evas_Object_Rectangle;