Added 'effect_style' config value to determine effect style 37/32737/1 accepted/tizen/common/20141223.162317 accepted/tizen/mobile/20141224.023044 accepted/tizen/tv/20141224.011427 accepted/tizen/wearable/20141224.011855 submit/tizen/20141223.082243
authorMinJeong Kim <minjjj.kim@samsung.com>
Tue, 23 Dec 2014 10:13:30 +0000 (19:13 +0900)
committerMinJeong Kim <minjjj.kim@samsung.com>
Tue, 23 Dec 2014 10:14:00 +0000 (19:14 +0900)
Change-Id: Ic50d54b2d1404909b601f3d42dd2c69b7f1d7606

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

index 3fe58474dd2ed91444eae9adcd22ff5b7f649e35..f5d2555a7e8d7b3248f0391992c4e3b6703d80a3 100644 (file)
@@ -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);
 
index cac830875b014714253a83abb731573d2c91a335..b3c18ed5f49736a1194b1244535478c8ca548d1f 100644 (file)
@@ -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;