e_comp_cfdata:add kbd_effect_style 63/147763/2 submit/tizen/20170905.123046
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 5 Sep 2017 12:13:35 +0000 (21:13 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Tue, 5 Sep 2017 12:15:42 +0000 (12:15 +0000)
Change-Id: If8acd6095081f8886e60577e8b8277c1a927ba30

src/bin/e_comp_cfdata.c
src/bin/e_comp_cfdata.h

index 50bd6ba..cd708cd 100644 (file)
@@ -38,6 +38,7 @@ e_comp_cfdata_edd_init(E_Config_DD **conf_edd, E_Config_DD **match_edd)
    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, kbd_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);
@@ -103,6 +104,7 @@ e_comp_cfdata_config_new(void)
    cfg->effect_style = "none";
    cfg->depth_in_style = "none";
    cfg->bg_effect_style = NULL;
+   cfg->kbd_effect_style = "keyboard";
    cfg->engine = E_COMP_ENGINE_SW;
    cfg->max_unmapped_time = 10 * 3600; // implement
    cfg->min_unmapped_time = 5 * 60; // implement
@@ -276,6 +278,7 @@ e_comp_cfdata_config_free(E_Comp_Config *cfg)
    eina_stringshare_del(cfg->effect_style);
    eina_stringshare_del(cfg->depth_in_style);
    eina_stringshare_del(cfg->bg_effect_style);
+   eina_stringshare_del(cfg->kbd_effect_style);
    eina_stringshare_del(cfg->effect_file);
    eina_stringshare_del(cfg->shadow_style);
    eina_stringshare_del(cfg->launch_file);
index d4ce5e4..07bdd9e 100644 (file)
@@ -14,6 +14,7 @@ struct _E_Comp_Config
    const char   *effect_style; // name of effect group to apply
    const char   *depth_in_style; // name of effect group to apply for depth in type
    const char   *bg_effect_style; // name of effect group for background
+   const char   *kbd_effect_style; // name of keyboard group to apply
    int           engine;
    int           max_unmapped_time;
    int           min_unmapped_time;