Ignore:
Timestamp:
Apr 21, 2011, 9:03:06 PM (12 years ago)
Author:
Sam Hocevar
Message:

imlib: remove unused image::make_color and timage::make_color. They were
probably used for debugging purposes, but we can still revive them when
we need them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/timage.cpp

    r520 r521  
    1515#include "timage.h"
    1616
    17 void trans_image::make_color(int c)
    18 {
    19   uint8_t *dp=data;
    20   int y,x;
    21   for (y=0; y<h; y++)
    22   {
    23     x=0;
    24     while(x<w)
    25     {
    26       x+=*(dp++);
    27       if (x<w)
    28       {
    29     int run=*(dp++);
    30     memset(dp,c,run);
    31     x+=run;
    32     dp+=run;
    33       }
    34     }
    35   }
    36 }
    37 
    3817image *trans_image::make_image()
    3918{
Note: See TracChangeset for help on using the changeset viewer.