Ignore:
Timestamp:
Apr 22, 2011, 7:32:13 PM (12 years ago)
Author:
Sam Hocevar
Message:

imlib: rename trans_image to TImage. The code is now clean enough.

File:
1 edited

Legend:

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

    r528 r533  
    5555  {
    5656    if (color>=0)
    57       let[(int)ch]->PutColor(screen,x,y,color);
    58     else let[(int)ch]->PutImage(screen,x,y);
     57      let[(int)ch]->PutColor(screen,vec2i(x,y),color);
     58    else let[(int)ch]->PutImage(screen,vec2i(x,y));
    5959  }
    6060}
     
    7474    letters->put_part(&tmp,0,0,((int)ch%32)*tl,((int)ch/32)*th,
    7575              ((int)ch%32)*tl+tl-1,((int)ch/32)*th+th-1,1);
    76     let[ch]=new trans_image(&tmp,"JCfont");
     76    let[ch]=new TImage(&tmp,"JCfont");
    7777  }
    7878}
Note: See TracChangeset for help on using the changeset viewer.