hermet pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=f89a9be19f7ff692a718ddf36c3ff8578c72f009
commit f89a9be19f7ff692a718ddf36c3ff8578c72f009 Author: Jaehyun Cho <jae_hyun....@samsung.com> Date: Wed Oct 22 15:53:01 2014 +0900 auto_comp: Support auto_comp and color for keyword base_scale. Summary: auto_comp: Support auto_comp and color for keyword base_scale. Reviewers: Hermet Differential Revision: https://phab.enlightenment.org/D1562 --- data/color/color.src | 1 + src/lib/auto_comp.c | 1 + src/lib/auto_comp_code.h | 8 +++++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/data/color/color.src b/data/color/color.src index db0305e..0ab2e81 100644 --- a/data/color/color.src +++ b/data/color/color.src @@ -64,6 +64,7 @@ group "syntax_color_group" struct { value "key" string: "aspect_preference"; value "key" string: "aspect"; value "key" string: "backface_cull"; + value "key" string: "base_scale"; value "key" string: "base"; value "key" string: "border_scale"; value "key" string: "border"; diff --git a/src/lib/auto_comp.c b/src/lib/auto_comp.c index 6a8838e..0a5adac 100644 --- a/src/lib/auto_comp.c +++ b/src/lib/auto_comp.c @@ -95,6 +95,7 @@ init_thread_cb(void *data, Ecore_Thread *thread EINA_UNUSED) COMPDATA_SET(ad, "after", AUTOCOMP_AFTER, 2, 0); COMPDATA_SET(ad, "styles", AUTOCOMP_STYLES, 2, 1); COMPDATA_SET(ad, "style", AUTOCOMP_STYLE, 4, 1); + COMPDATA_SET(ad, "base_scale", AUTOCOMP_BASE_SCALE, 1, 0); COMPDATA_SET(ad, "base", AUTOCOMP_BASE, 2, 0); COMPDATA_SET(ad, "sounds", AUTOCOMP_SOUNDS, 2, 1); COMPDATA_SET(ad, "sample", AUTOCOMP_SAMPLE, 13, 1); diff --git a/src/lib/auto_comp_code.h b/src/lib/auto_comp_code.h index 2d1e16e..5d039b3 100644 --- a/src/lib/auto_comp_code.h +++ b/src/lib/auto_comp_code.h @@ -326,4 +326,10 @@ const char *AUTOCOMP_CLIP_TO[AUTOCOMP_CLIP_TO_LINE_CNT] = "clip_to: \"\";", }; -#define COMPSET_CNT 50 +#define AUTOCOMP_BASE_SCALE_LINE_CNT 1 +const char *AUTOCOMP_BASE_SCALE[AUTOCOMP_BASE_SCALE_LINE_CNT] = +{ + "base_scale: ;", +}; + +#define COMPSET_CNT 51 --