HomePhabricator

edje_data: Add missing descriptor for image.max(min).limit

Authored by jsuya on Dec 16 2020, 7:50 PM.

Description

edje_data: Add missing descriptor for image.max(min).limit

Summary:
Edje_Part_Description_Image uses EDJE_DATA_DESCRIPTOR_DESCRIPTION_COMMON_SUB,
EDJE_DATA_DESCRIPTOR_DESCRIPTION_COMMON_SUB is missing max.limit and min.limit descriptors.
Therefore, max:SOURCE and min:SOURCE did not work in EDC.
Adds a descriptor to it.

https://www.enlightenment.org/_legacy_embed/edcref.html#sec_toplevel_images
max [width] [height] or SOURCE
The maximum size of the state. A size of -1 means that it will be ignored in one direction.
When max is set to SOURCE, edje will enforce the part to be not more than the original image size.
The part must be an IMAGE part.

Test Plan:


edje_cc test.edc && gcc -o test test.c pkg-config --libs --cflags evas ecore ecore-evas edje
./test

Reviewers: Hermet, Jaehyun_Cho, cedric, raster

Reviewed By: Hermet

Subscribers: reviewers, committers, kimcinoo, herb

Tags: efl

Differential Revision: https://phab.enlightenment.org/D12215

Details

Committed
HermetDec 16 2020, 7:50 PM
Reviewer
Hermet
Differential Revision
D12215: edje_data: Add missing descriptor for image.max(min).limit
Parents
rEFL0363fd8238c3: evas: Rename EAPI macro to EVAS_API in Evas library
Branches
Unknown
Tags
Unknown