Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src
Modified Files:
ewl_config.c ewl_widget.c
Log Message:
Clean out the remnants of the old fx plugins. Edje fulfills the functionality
these provided.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_config.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_config.c 13 Jul 2003 05:52:49 -0000 1.25
+++ ewl_config.c 18 Jul 2003 18:13:51 -0000 1.26
@@ -9,7 +9,6 @@
static E_DB_File *config_db = NULL;
void __create_user_config(void);
-void __create_fx_config(void);
static int __open_config_db(const char *name);
static void __close_config_db(void);
@@ -37,11 +36,6 @@
else
__create_user_config();
- if (__config_exists("fx") != -1)
- __close_config_db();
- else
- __create_fx_config();
-
DRETURN_INT(TRUE, DLEVEL_STABLE);
}
@@ -299,33 +293,10 @@
ewl_config_set_str("system", "/evas/render_method", "software_x11");
ewl_config_set_int("system", "/evas/font_cache", 2097152);
ewl_config_set_int("system", "/evas/image_cache", 8388608);
- ewl_config_set_str("system", "/fx/paths/0",
- PACKAGE_DATA_DIR "/plugins/fx");
- ewl_config_set_int("system", "/fx/paths/count", 1);
- ewl_config_set_int("system", "/fx/fps", 50);
ewl_config_set_str("system", "/theme/name", "default");
ewl_config_set_int("system", "/theme/cache", 0);
DRETURN(DLEVEL_STABLE);
-}
-
-void __create_fx_config(void)
-{
- /* Give buttons fade_in & glow & fade_out effects by default */
- ewl_config_set_int("fx", "/user/button/count", 2);
- ewl_config_set_str("fx", "/user/button/0/name", "glow");
- ewl_config_set_int("fx", "/user/button/0/callbacks/count", 1);
- ewl_config_set_int("fx", "/user/button/0/callbacks/0/cb_start",
- EWL_CALLBACK_FOCUS_IN);
- ewl_config_set_int("fx", "/user/button/0/callbacks/0/cb_stop",
- EWL_CALLBACK_FOCUS_OUT);
-
- ewl_config_set_str("fx", "/user/button/1/name", "fade_in");
- ewl_config_set_int("fx", "/user/button/1/callbacks/count", 1);
- ewl_config_set_int("fx", "/user/button/1/callbacks/0/cb_start",
- EWL_CALLBACK_SHOW);
- ewl_config_set_int("fx", "/user/button/1/callbacks/0/cb_stop",
- EWL_CALLBACK_HIDE);
}
static int __open_config_db(const char *name)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_widget.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- ewl_widget.c 18 Jul 2003 16:51:29 -0000 1.63
+++ ewl_widget.c 18 Jul 2003 18:13:51 -0000 1.64
@@ -72,10 +72,6 @@
w->state = EWL_STATE_NORMAL;
/*
- ewl_fx_init_widget(w);
- */
-
- /*
* Add the common callbacks that all widgets must perform
*/
ewl_callback_append(w, EWL_CALLBACK_SHOW, __ewl_widget_show, NULL);
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs