* Text classes: Fixed edje_text_class_set to behave like
edje_object_text_class_set (and as expected) wrt NULL fonts.
+2012-07-12 Cedric Bail
+
+ * Warn at compile time about forgotten image definition.
+
process (Use it to replace RECT part that are never visible and never catch any event).
* Add accessibility flags and API to retrieve the relevant part.
* Emit signal when flagged part size get to zero.
+ * Warn at compile time about forgotten image.
Improvements:
* Allocate once and reuse Evas_Map.
{
unsigned int i;
-#if 0 /* FIXME: This check sounds like not a useful one */
- if (epd->image.id == -1)
- ERR(ef, "Collection %s(%i): image attributes missing for "
- "part \"%s\", description \"%s\" %f\n",
+ /* FIXME: This check sounds like not a useful one */
+ if (epd->image.id == -1 && epd->common.visible)
+ WRN("Collection %s(%i): image attributes missing for "
+ "part \"%s\", description \"%s\" %f",
pc->part, pc->id, ep->name, epd->common.state.name, epd->common.state.value);
-#endif
for (i = 0; i < epd->image.tweens_count; ++i)
{
{
if (image_num == (image_count - 1))
{
- image_id = _edje_image_find(ep->object, ed,
- &ep->param2->set,
- (Edje_Part_Description_Image*) ep->param2->description,
- NULL);
+ image_id = _edje_image_find(ep->object, ed,
+ &ep->param2->set,
+ (Edje_Part_Description_Image*) ep->param2->description,
+ NULL);
}
else
{
}
if (image_id < 0)
{
- ERR("¨Part \"%s\" has description, "
- "\"%s\" %3.3f with a missing image id!!!",
+ ERR("¨Part \"%s\" description, "
+ "\"%s\" %3.3f with image %i index has a missing image id in a set of %i !!!",
ep->part->name,
ep->param1.description->state.name,
- ep->param1.description->state.value);
+ ep->param1.description->state.value,
+ image_num,
+ image_count);
}
else
{