From b3eefa0fd012fe72f0b4156d2357196961d40105 Mon Sep 17 00:00:00 2001 From: MinJeong Kim Date: Fri, 7 Apr 2017 15:49:17 +0900 Subject: [PATCH] e_comp_cfdata: added config values bg_effect_style Change-Id: I5378a7110210bd8f3abf753fa76929357a59bc8d Signed-off-by: MinJeong Kim --- src/bin/e_comp_cfdata.c | 3 +++ src/bin/e_comp_cfdata.h | 1 + 2 files changed, 4 insertions(+) diff --git a/src/bin/e_comp_cfdata.c b/src/bin/e_comp_cfdata.c index 3467676d91..015e13fc71 100644 --- a/src/bin/e_comp_cfdata.c +++ b/src/bin/e_comp_cfdata.c @@ -37,6 +37,7 @@ e_comp_cfdata_edd_init(E_Config_DD **conf_edd, E_Config_DD **match_edd) E_CONFIG_VAL(D, T, effect_file, STR); E_CONFIG_VAL(D, T, effect_style, STR); E_CONFIG_VAL(D, T, depth_in_style, STR); + E_CONFIG_VAL(D, T, bg_effect_style, STR); E_CONFIG_VAL(D, T, max_unmapped_time, INT); E_CONFIG_VAL(D, T, min_unmapped_time, INT); E_CONFIG_VAL(D, T, fps_average_range, INT); @@ -97,6 +98,7 @@ e_comp_cfdata_config_new(void) cfg->effect_file = NULL; cfg->effect_style = "none"; cfg->depth_in_style = "none"; + cfg->bg_effect_style = NULL; cfg->engine = E_COMP_ENGINE_SW; cfg->max_unmapped_time = 10 * 3600; // implement cfg->min_unmapped_time = 5 * 60; // implement @@ -244,6 +246,7 @@ e_comp_cfdata_config_free(E_Comp_Config *cfg) if (!cfg) return; eina_stringshare_del(cfg->effect_style); eina_stringshare_del(cfg->depth_in_style); + eina_stringshare_del(cfg->bg_effect_style); eina_stringshare_del(cfg->effect_file); eina_stringshare_del(cfg->shadow_style); eina_stringshare_del(cfg->launch_file); diff --git a/src/bin/e_comp_cfdata.h b/src/bin/e_comp_cfdata.h index ae583ea570..3d8c66720a 100644 --- a/src/bin/e_comp_cfdata.h +++ b/src/bin/e_comp_cfdata.h @@ -13,6 +13,7 @@ struct _E_Comp_Config const char *effect_file; const char *effect_style; const char *depth_in_style; + const char *bg_effect_style; int engine; int max_unmapped_time; int min_unmapped_time; -- 2.34.1