Ignore:
Timestamp:
May 5, 2011, 12:36:33 PM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: refactor the Filter and ColorFilter? classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/menu.cpp

    r577 r579  
    7171      uint8_t g=((*(paddr++))-g_to)*percent/256+g_to;
    7272      uint8_t b=((*(paddr++))-b_to)*percent/256+b_to;
    73       *sl=color_table->lookup_color((r)>>3,(g)>>3,(b)>>3);
     73      *sl=color_table->Lookup((r)>>3,(g)>>3,(b)>>3);
    7474    }
    7575  }
     
    9999      uint8_t g=(*(paddr++))*amount/256;
    100100      uint8_t b=(*(paddr++))*amount/256;
    101       *sl=color_table->lookup_color((r)>>3,(g)>>3,(b)>>3);
     101      *sl=color_table->Lookup((r)>>3,(g)>>3,(b)>>3);
    102102    }
    103103  }
Note: See TracChangeset for help on using the changeset viewer.