Hello. I'm Jaehwan Kim.
I want to add the environment parameter "ELM_EFFECT_ENABLE". It will play a role as the enablement for the effect of all widget. The patch is the following. Thanks. Index: src/lib/elm_config.c =================================================================== --- src/lib/elm_config.c (revision 56080) +++ src/lib/elm_config.c (working copy) @@ -597,6 +597,7 @@ _desc_init(void) ELM_CONFIG_VAL(D, T, inwin_dialogs_enable, T_UCHAR); ELM_CONFIG_VAL(D, T, icon_size, T_INT); ELM_CONFIG_VAL(D, T, longpress_timeout, T_DOUBLE); + ELM_CONFIG_VAL(D, T, effect_enable, T_UCHAR); #undef T #undef D #undef T_INT @@ -1136,6 +1137,7 @@ _config_load(void) _elm_config->inwin_dialogs_enable = EINA_FALSE; _elm_config->icon_size = 32; _elm_config->longpress_timeout = 1.0; + _elm_config->effect_enable = EINA_TRUE; } static const char * @@ -1557,6 +1559,9 @@ _env_get(void) if (s) _elm_config->longpress_timeout = atof(s); if (_elm_config->longpress_timeout < 0.0) _elm_config->longpress_timeout = 0.0; + + s = getenv("ELM_EFFECT_ENABLE"); + if (s) _elm_config->effect_enable = !!atoi(s); } void Index: src/lib/elm_priv.h =================================================================== --- src/lib/elm_priv.h (revision 56080) +++ src/lib/elm_priv.h (working copy) @@ -111,6 +111,7 @@ struct _Elm_Config Eina_Bool inwin_dialogs_enable; int icon_size; double longpress_timeout; + Eina_Bool effect_enable; }; struct _Elm_Module Index: config/default/base.src =================================================================== --- config/default/base.src (revision 56080) +++ config/default/base.src (working copy) @@ -34,4 +34,5 @@ group "Elm_Config" struct { value "inwin_dialogs_enable" uchar: 1; value "icon_size" int: 32; value "longpress_timeout" double: 1.0; + value "effect_enable" uchar: 1; } ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel