e_comp_cfdata: added config values bg_effect_style 32/123932/3
authorMinJeong Kim <minjjj.kim@samsung.com>
Fri, 7 Apr 2017 06:49:17 +0000 (15:49 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Thu, 13 Apr 2017 13:16:58 +0000 (06:16 -0700)
Change-Id: I5378a7110210bd8f3abf753fa76929357a59bc8d
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/bin/e_comp_cfdata.c
src/bin/e_comp_cfdata.h

index 3467676d910102a403d55400c9cabd4a5bfde93c..015e13fc7184de0ca5ffc46ca1e715cbc82b4481 100644 (file)
@@ -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);
index ae583ea570ff29356d39db6f2e5651358770df17..3d8c66720afc3dd5d1d19d99d1e9a20fd638a7f1 100644 (file)
@@ -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;