* @return map.perspective.focal value of given part state.
* @since 1.11
**/
-EAPI Eina_Bool edje_edit_state_map_perspective_focal_get(Evas_Object *obj, const char *part, const char *state, double value);
+EAPI int edje_edit_state_map_perspective_focal_get(Evas_Object *obj, const char *part, const char *state, double value);
/** Set map.perspective.focal value of given part state.
*
* @return map.perspective.zplane value of given part state.
* @since 1.11
**/
-EAPI Eina_Bool edje_edit_state_map_perspective_zplane_get(Evas_Object *obj, const char *part, const char *state, double value);
+EAPI int edje_edit_state_map_perspective_zplane_get(Evas_Object *obj, const char *part, const char *state, double value);
/** Set map.perspective.zplane value of given part state.
*
return EINA_TRUE;
}
-EAPI Eina_Bool
+EAPI int
edje_edit_state_map_perspective_zplane_get(Evas_Object *obj, const char *part, const char *state, double value)
{
GET_PD_OR_RETURN(EINA_FALSE);
return EINA_TRUE;
}
-EAPI Eina_Bool
+EAPI int
edje_edit_state_map_perspective_focal_get(Evas_Object *obj, const char *part, const char *state, double value)
{
GET_PD_OR_RETURN(EINA_FALSE);
pd->color2.r, pd->color2.g, pd->color2.b, pd->color2.a);
}
- if ((pd->persp.zplane != 0) || (pd->persp.focal != 1000))
- {
- BUF_APPEND(I5 "perspective {\n");
-
- if (pd->persp.zplane != 0)
- BUF_APPENDF(I6 "zplane: %d;\n", pd->persp.zplane);
- if (pd->persp.focal != 1000)
- BUF_APPENDF(I6 "focal: %d;\n", pd->persp.focal);
-
- BUF_APPEND(I5 "}\n");
- }
-
//Box
if (rp->part->type == EDJE_PART_TYPE_BOX)
_edje_generate_source_state_box(pd, inherit_pd, buf);