Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_iconbox.c ewl_iconbox.h 


Log Message:
Holder for last selected icon

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_iconbox.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- ewl_iconbox.c       23 Oct 2005 07:42:19 -0000      1.43
+++ ewl_iconbox.c       23 Oct 2005 08:15:32 -0000      1.44
@@ -954,6 +954,10 @@
        /*printf ("Button down on icon: %s\n", 
ewl_border_text_get(EWL_BORDER(ib)));*/
        ib->drag = 1;
        ib->icon_box_parent->drag_icon = ib;
+       ib->icon_box_parent->select_icon = ib; /*We rely on this being the 
first callback - so
+                                                client*/
+
+       
        ib->icon_box_parent->xdown = ev->x;
        ib->icon_box_parent->ydown = ev->y;
 
@@ -1023,9 +1027,20 @@
 void ewl_iconbox_configure_cb(Ewl_Widget *w, void *ev_data, void *user_data)
 {
        /*printf ("Got a configure\n");*/
+       int xx,yy,ww,hh;
 
        Ewl_IconBox* ib = EWL_ICONBOX(w);
+
+/*     xx = CURRENT_X(ib->ewl_iconbox_pane_inner);
+       yy = CURRENT_Y(ib->ewl_iconbox_pane_inner);
+       ww = CURRENT_W(ib->ewl_iconbox_pane_inner);
+       hh = CURRENT_H(ib->ewl_iconbox_pane_inner);
+
        
+
+               
evas_damage_rectangle_add(evas_object_evas_get(EWL_CONTAINER(ib->ewl_iconbox_pane_inner)->clip_box),
+                                                       xx, yy, ww, hh);*/
+
        
 
        if (REALIZED(ib) && VISIBLE(ib)) { 
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_iconbox.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- ewl_iconbox.h       23 Oct 2005 07:13:41 -0000      1.18
+++ ewl_iconbox.h       23 Oct 2005 08:15:32 -0000      1.19
@@ -81,6 +81,8 @@
 
        Ewl_IconBox_Icon* drag_icon;
        Ewl_IconBox_Icon* edit_icon;
+       Ewl_IconBox_Icon* select_icon;
+
        int xdown, ydown;                  /* Last icon button down x/y, for 
edge resistence */
        int dx, dy;                        /* Drag start x/y */
        int lx, ly;                        /*Layout x, layout y */
@@ -123,6 +125,7 @@
 void ewl_iconbox_icon_image_set(Ewl_IconBox_Icon* icon, char* filename);
 void ewl_iconbox_background_set(Ewl_IconBox* ib, char* file);
 void ewl_iconbox_context_menu_item_add(Ewl_IconBox* ib, Ewl_Widget* item);
+void ewl_iconbox_icon_menu_item_add(Ewl_IconBox* ib, Ewl_Widget* item);
 void ewl_iconbox_scrollpane_recalculate(Ewl_IconBox* ib);
 Ecore_List* ewl_iconbox_get_selection(Ewl_IconBox* ib);
 




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to