From: MinJeong Kim Date: Tue, 23 Dec 2014 10:13:30 +0000 (+0900) Subject: Added 'effect_style' config value to determine effect style X-Git-Tag: submit/tizen/20141223.082243^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11adbcc1f8b08d077defb50bf43f747317f3469d;p=platform%2Fupstream%2Fenlightenment.git Added 'effect_style' config value to determine effect style Change-Id: Ic50d54b2d1404909b601f3d42dd2c69b7f1d7606 --- diff --git a/src/bin/e_comp_cfdata.c b/src/bin/e_comp_cfdata.c index 3fe58474dd..f5d2555a7e 100644 --- a/src/bin/e_comp_cfdata.c +++ b/src/bin/e_comp_cfdata.c @@ -34,6 +34,7 @@ e_comp_cfdata_edd_init(E_Config_DD **conf_edd, E_Config_DD **match_edd) E_CONFIG_VAL(D, T, shadow_style, STR); E_CONFIG_VAL(D, T, engine, INT); E_CONFIG_VAL(D, T, effect_file, STR); + E_CONFIG_VAL(D, T, effect_style, STR); //E_CONFIG_VAL(D, T, max_unmapped_pixels, INT); E_CONFIG_VAL(D, T, max_unmapped_time, INT); E_CONFIG_VAL(D, T, min_unmapped_time, INT); @@ -81,6 +82,7 @@ e_comp_cfdata_config_new(void) cfg->version = E_COMP_VERSION; cfg->shadow_style = eina_stringshare_add("default"); cfg->effect_file = NULL; + cfg->effect_style = "none"; cfg->engine = E_COMP_ENGINE_SW; cfg->max_unmapped_pixels = 32 * 1024; // implement cfg->max_unmapped_time = 10 * 3600; // implement @@ -213,6 +215,7 @@ EAPI void e_comp_cfdata_config_free(E_Comp_Config *cfg) { if (!cfg) return; + eina_stringshare_del(cfg->effect_style); eina_stringshare_del(cfg->effect_file); eina_stringshare_del(cfg->shadow_style); diff --git a/src/bin/e_comp_cfdata.h b/src/bin/e_comp_cfdata.h index cac830875b..b3c18ed5f4 100644 --- a/src/bin/e_comp_cfdata.h +++ b/src/bin/e_comp_cfdata.h @@ -11,6 +11,7 @@ struct _E_Comp_Config int version; const char *shadow_style; const char *effect_file; + const char *effect_style; int engine; int max_unmapped_pixels; int max_unmapped_time;