Ignore:
Timestamp:
May 14, 2011, 4:00:53 PM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: remove unused code and tag unused method arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/image.h

    r650 r653  
    2525{
    2626public :
    27   int16_t dx1,dy1,dx2,dy2;
    28   dirty_rect(int16_t x1, int16_t y1, int16_t x2, int16_t y2)
    29   { dx1=x1; dy1=y1; dx2=x2; dy2=y2;
    30     if(x2<x1 || y2<y1)
    31       printf("add incorrect dirty\n");
    32   }
    33   virtual int16_t compare(void *n1, int16_t field)
    34   { return((dirty_rect *)n1)->dy1>dy1; }
    35 } ;
     27    int16_t dx1, dy1, dx2, dy2;
     28    dirty_rect(int16_t x1, int16_t y1, int16_t x2, int16_t y2)
     29    {
     30        dx1 = x1; dy1 = y1; dx2 = x2; dy2 = y2;
     31        if (x2 < x1 || y2 < y1)
     32            printf("add incorrect dirty\n");
     33    }
     34    virtual int compare(void *n1) { return ((dirty_rect *)n1)->dy1 > dy1; }
     35};
    3636
    3737class image_descriptor
Note: See TracChangeset for help on using the changeset viewer.