Ignore:
Timestamp:
Apr 22, 2011, 4:13:04 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: some cleaning up in trans_image before I templatise half of it.

File:
1 edited

Legend:

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

    r518 r527  
    2828             int aneal_steps, void (*stat_fun)(int))
    2929{
    30   int x,y,w1=hint1->width(),
    31           h1=hint1->height(),
    32           w2=hint2->width(),
    33           h2=hint2->height();
     30  int x,y,w1=hint1->Size().x,
     31          h1=hint1->Size().y,
     32          w2=hint2->Size().x,
     33          h2=hint2->Size().y;
    3434  if (w1>w2) w=w1; else w=w2;
    3535  if (h1>h2) h=h1; else h=h2;
     
    4141  memset(hints2,0,256*2);
    4242
    43   dp=hint1->t_data();
     43  dp=hint1->Data();
    4444  for (y=0; y<h1; y++)
    4545  {
     
    5858
    5959  // hint2 image2
    60   dp=hint2->t_data();
     60  dp=hint2->Data();
    6161  for (y=0; y<h2; y++)
    6262  {
     
    102102
    103103  /**************** Now scan the images again setup hints *********************/
    104   dp=hint1->t_data();
     104  dp=hint1->Data();
    105105  for (y=0; y<h1; y++)
    106106  {
     
    124124  }
    125125
    126   dp=hint2->t_data();
     126  dp=hint2->Data();
    127127  for (y=0; y<h2; y++)
    128128  {
Note: See TracChangeset for help on using the changeset viewer.