Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_histogram.c ewl_histogram.h 


Log Message:
Remove unnecessary fields from histogram since image source conversion.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_histogram.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_histogram.c     13 Sep 2006 06:52:21 -0000      1.2
+++ ewl_histogram.c     14 Sep 2006 01:34:43 -0000      1.3
@@ -212,10 +212,6 @@
        data = evas_object_image_data_get(hist->source->image, 0);
        evas_object_image_size_get(hist->source->image, &width, &height);
 
-       hist->data = data;
-       hist->width = width;
-       hist->height = height;
-
        for (y = 0; y < height; y++) {
                for (x = 0; x < width; x++) {
                        unsigned int color;
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_histogram.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_histogram.h     13 Sep 2006 06:52:21 -0000      1.2
+++ ewl_histogram.h     14 Sep 2006 01:34:43 -0000      1.3
@@ -44,8 +44,6 @@
        Ewl_Image *source; /**< Source image used for data graph */
        Ewl_Color_Set color; /**< Color for drawing the histogram */
 
-       const unsigned int *data; /**< Image data for calculating values */
-       int width, height; /**< Dimensions of the image data */
        int graph[256]; /**< Calculated histogram points */
        int maxv; /**< Largest data point in graph */
        Ewl_Histogram_Channel channel; /**< Channel of data for graphing */



-------------------------------------------------------------------------
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