Enlightenment CVS committal Author : essiene Project : e17 Module : proto
Dir : e17/proto/entrance_edit_gui/src/gui Modified Files: Egui.h Makefile.am background.c theme.c Added Files: egui_graphics_dialog.c egui_graphics_dialog.h Removed Files: egui_graphics_selector.c Log Message: Evolution is occuring, egui_* internal library is taking a life of its own and maturing in the right direction (and we're still not duplicating code that much, which is good). Its now clear what I need to fix, and how the whole thing fits in a whole. Getting there very soon now. =================================================================== RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/gui/Egui.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- Egui.h 27 Sep 2006 21:45:47 -0000 1.11 +++ Egui.h 28 Sep 2006 22:09:50 -0000 1.12 @@ -5,39 +5,8 @@ #include <Ecore_Data.h> #include "egui_settings.h" +#include "egui_graphics_dialog.h" -typedef struct _Egui_Graphics_Selector { - char *name; - char *files_path; - char *preview_edje_part; - char *dialog_title; - char *list_title; - char *entrance_edit_key; - - int use_full_path; - int show_pointer_options; -} Egui_Graphics_Selector; - -typedef struct { - - Entrance_Dialog win; - Entrance_Preview img_preview; - Entrance_Widget pointer_preview; - Entrance_List list_thumbs; - Entrance_Entry browse_entry; - Entrance_Widget browse_button; - Entrance_Widget pointer_browse_button; - Entrance_Widget group_graphics; - Entrance_Widget group_preview; - Entrance_Widget group_options; - Entrance_Widget group_pointer; - - Egui_Graphics_Selector egs; - - char *first; - int newly_created; - -} *Egui_Graphics_Dialog; void egui_theme_dialog_show(void*); @@ -49,8 +18,6 @@ void egui_x_settings_dialog_show(void*); /*void egui_preview_show(void*);*/ -Egui_Graphics_Dialog egui_gd_new(Egui_Graphics_Selector egs); -void egui_gd_show(Egui_Graphics_Dialog egd); #endif =================================================================== RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/gui/Makefile.am,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- Makefile.am 23 Aug 2006 02:10:49 -0000 1.13 +++ Makefile.am 28 Sep 2006 22:09:50 -0000 1.14 @@ -9,7 +9,8 @@ sessions.c \ theme.c \ x_settings.c \ - egui_graphics_selector.c \ + egui_graphics_dialog.c \ + egui_graphics_dialog.h \ egui_settings.c \ egui_settings.h \ Egui.h =================================================================== RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/gui/background.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- background.c 27 Sep 2006 21:45:47 -0000 1.10 +++ background.c 28 Sep 2006 22:09:50 -0000 1.11 @@ -9,7 +9,7 @@ void egui_background_dialog_show(void* data) { - Egui_Graphics_Selector background_egs = { + Egui_Graphics_Dialog_Settings background_settings = { "background", "/usr/share/enlightenment/data/backgrounds", "desktop/background", @@ -22,6 +22,6 @@ static Egui_Graphics_Dialog egd = NULL; if(!egd) - egd = egui_gd_new(background_egs); + egd = egui_gd_new(background_settings); egui_gd_show(egd); } =================================================================== RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/gui/theme.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- theme.c 27 Sep 2006 21:45:47 -0000 1.11 +++ theme.c 28 Sep 2006 22:09:50 -0000 1.12 @@ -9,7 +9,7 @@ void egui_theme_dialog_show(void *data) { - Egui_Graphics_Selector theme_egs = { + Egui_Graphics_Dialog_Settings theme_settings = { "theme", "/usr/share/entrance/themes", "Preview", @@ -24,7 +24,7 @@ static Egui_Graphics_Dialog egd = NULL; if(!egd) { - egd = egui_gd_new(theme_egs); + egd = egui_gd_new(theme_settings); } egui_gd_show(egd); } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs