Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/tools/ewl_config
Modified Files:
ewl_config.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/tools/ewl_config/ewl_config.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- ewl_config.c 4 Jun 2003 01:46:45 -0000 1.22
+++ ewl_config.c 18 Jul 2003 18:13:51 -0000 1.23
@@ -258,132 +258,6 @@
ewl_notebook_append_page(EWL_NOTEBOOK(e_conf.notebook),
e_conf.page_debug, e_conf.page_debug_label);
- /* FX Page */
- /*
- e_conf.page_fx_label = ewl_text_new("FX Settings");
- ewl_text_set_font_size(EWL_TEXT(e_conf.page_fx_label), 8);
- ewl_widget_show(e_conf.page_fx_label);
-
- e_conf.page_fx = ewl_vbox_new();
- ewl_object_set_padding(EWL_OBJECT(e_conf.page_fx), 10, 5, 5, 0);
- ewl_box_set_spacing(EWL_BOX(e_conf.page_fx), 5);
- ewl_widget_show(e_conf.page_fx);
-
-
- e_conf.global_label = ewl_text_new("Global Settings");
- ewl_container_append_child(EWL_CONTAINER(e_conf.page_fx),
- e_conf.global_label);
- ewl_widget_show(e_conf.global_label);
-
- e_conf.global_fps_label = ewl_text_new("Frames Per Second");
- ewl_container_append_child(EWL_CONTAINER(e_conf.page_fx),
- e_conf.global_fps_label);
- ewl_widget_show(e_conf.global_fps_label);
-
- e_conf.global_fps = ewl_spinner_new();
- ewl_spinner_set_min_val(EWL_SPINNER(e_conf.global_fps), 1.0);
- ewl_spinner_set_max_val(EWL_SPINNER(e_conf.global_fps), 80.0);
- ewl_spinner_set_digits(EWL_SPINNER(e_conf.global_fps), 1);
- ewl_spinner_set_step(EWL_SPINNER(e_conf.global_fps), 1.0);
- ewl_container_append_child(EWL_CONTAINER(e_conf.page_fx),
- e_conf.global_fps);
- ewl_widget_show(e_conf.global_fps);
-
- if (avail && !ewd_list_is_empty(avail))
- {
- Ewl_FX_Proto *fxp;
- Ewl_Widget *label, *settings_button, *about_button;
- char *name;
- int i = 0;
-
- e_conf.fx_separator1 = ewl_vseparator_new();
- ewl_object_set_padding(EWL_OBJECT(e_conf.fx_separator1),
- 0, 0, 5, 5);
- ewl_container_append_child(EWL_CONTAINER(e_conf.page_fx),
- e_conf.fx_separator1);
- ewl_widget_show(e_conf.fx_separator1);
-
- e_conf.plugins_label = ewl_text_new("Plugins");
- ewl_container_append_child(EWL_CONTAINER(e_conf.page_fx),
- e_conf.plugins_label);
- ewl_widget_show(e_conf.plugins_label);
-
- e_conf.effects_table = ewl_grid_new(3, ewd_list_nodes(avail));
- ewl_container_append_child(EWL_CONTAINER(e_conf.page_fx),
- e_conf.effects_table);
- ewl_widget_show(e_conf.effects_table);
-
- ewd_list_goto_first(avail);
-
- while ((name = ewd_list_next(avail)) != NULL)
- {
- ++i;
-
- fxp = ewl_fx_proto_get(name);
-
- if (!fxp)
- {
- ewl_fx_plugin_load(name);
-
- fxp = ewl_fx_proto_get(name);
-
- if (!fxp)
- continue;
- }
-
- label = ewl_text_new(name);
- ewl_grid_add(EWL_GRID(e_conf.effects_table),
- label, 1, 1, i, i);
- ewl_widget_show(label);
-
- settings_button = ewl_button_new("Settings");
- ewl_object_set_custom_size(EWL_OBJECT
- (settings_button), 50,
- 17);
- ewl_object_set_fill_policy(EWL_OBJECT
- (settings_button),
- EWL_FILL_POLICY_NORMAL);
- if (fxp->create_settings_dialog)
- ewl_callback_append(settings_button,
- EWL_CALLBACK_CLICKED,
- EWL_CALLBACK_FUNCTION
- (fxp->
- create_settings_dialog),
- NULL);
- else
- ewl_widget_disable(settings_button);
-
- ewl_grid_add(EWL_GRID(e_conf.effects_table),
- settings_button, 2, 2, i, i);
- ewl_widget_show(settings_button);
-
- about_button = ewl_button_new("About");
- ewl_object_set_custom_size(EWL_OBJECT
- (about_button), 40,
- 17);
- ewl_object_set_fill_policy(EWL_OBJECT
- (about_button),
- EWL_FILL_POLICY_NORMAL);
- if (fxp->create_about_dialog)
- ewl_callback_append(about_button,
- EWL_CALLBACK_CLICKED,
- EWL_CALLBACK_FUNCTION
- (fxp->
- create_about_dialog),
- NULL);
- else
- ewl_widget_disable(about_button);
-
- ewl_grid_add(EWL_GRID(e_conf.effects_table),
- about_button, 3, 3, i, i);
- ewl_widget_show(about_button);
- }
- }
-
- ewl_notebook_append_page(EWL_NOTEBOOK(e_conf.notebook), e_conf.page_fx,
- e_conf.page_fx_label);
- */
-
/* Theme Page */
e_conf.page_theme_label = ewl_text_new("Theme Settings");
ewl_text_set_font_size(EWL_TEXT(e_conf.page_theme_label), 8);
-------------------------------------------------------
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