Enlightenment CVS committal

Author  : essiene
Project : e17
Module  : proto

Dir     : e17/proto/entrance_edit_gui/src/gui


Modified Files:
        Egui.h background.c egui_graphics_selector.c theme.c 


Log Message:
- Add pointer options dialog to egui_graphics_selector. It only shows for the 
theme dialog. Not working yet as file selector is not ready yet.
- TODO--

===================================================================
RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/gui/Egui.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Egui.h      13 Aug 2006 23:11:47 -0000      1.4
+++ Egui.h      16 Aug 2006 01:05:52 -0000      1.5
@@ -10,6 +10,7 @@
        char *entrance_edit_key;
 
        int use_full_path;
+       int show_pointer_options;
 } Egui_Graphics_Selector;
 
 
===================================================================
RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/gui/background.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- background.c        13 Aug 2006 23:11:47 -0000      1.7
+++ background.c        16 Aug 2006 01:05:52 -0000      1.8
@@ -16,7 +16,8 @@
                "Entrance Configuration - Background",
                "Backgrounds",
                ENTRANCE_EDIT_KEY_CLIENT_BACKGROUND_STR,
-               1
+               1,
+               0
        };
 
        egui_gs_dialog_show(background_egs);
===================================================================
RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/gui/egui_graphics_selector.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- egui_graphics_selector.c    15 Aug 2006 03:50:04 -0000      1.8
+++ egui_graphics_selector.c    16 Aug 2006 01:05:52 -0000      1.9
@@ -19,12 +19,15 @@
 
 static Entrance_Dialog win;
 static Entrance_Widget img_preview;
+static Entrance_Widget pointer_preview;
 static Entrance_List list_thumbs;
 static Entrance_Entry browse_entry;
 static Entrance_Widget browse_button;
+static Entrance_Widget pointer_browse_button;
 static Entrance_Widget group_graphics;
 static Entrance_Widget group_preview;
 static Entrance_Widget group_options;
+static Entrance_Widget group_pointer;
 
 static Egui_Graphics_Selector egs;
 
@@ -59,6 +62,17 @@
 
    browse_button = ew_button_new(_("Browse..."), _gs_cb_browse, NULL);
    ew_group_add(group_options, browse_button);
+
+   if(egs.show_pointer_options)
+   {
+          group_pointer = ew_dialog_group_add(win, _("Pointer Options"), 
EW_GROUP_HORIZONTAL);
+
+          pointer_preview = ew_image_new(100, 50);
+          ew_group_add(group_pointer, pointer_preview);
+
+          pointer_browse_button = ew_button_new(_("Browse..."), _gs_cb_browse, 
NULL);
+          ew_group_add(group_pointer, pointer_browse_button);
+   }
    
    ew_dialog_close_button_add(win, _gs_cb_close, NULL);
    ew_dialog_apply_button_add(win, _gs_cb_apply, NULL);
===================================================================
RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/gui/theme.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- theme.c     13 Aug 2006 23:11:47 -0000      1.8
+++ theme.c     16 Aug 2006 01:05:52 -0000      1.9
@@ -16,7 +16,8 @@
                "Entrance Configuration - Themes",
                "Themes",
                ENTRANCE_EDIT_KEY_CLIENT_THEME_STR,
-               0
+               0,
+               1
        };
 
        egui_gs_dialog_show(theme_egs);



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to