Changeset 1875


Ignore:
Timestamp:
Nov 4, 2007 10:56:37 AM (7 years ago)
Author:
sam
Message:
  • Removed calls to now deprecated cucul_set_dither_invert().
Location:
libcaca/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cxx/cucul++.cpp

    r1822 r1875  
    324324}
    325325
    326 void Dither::setInvert(int i)
    327 {
    328     cucul_set_dither_invert(dither, i);
    329 }
    330 
    331326void Dither::setAntialias(char const *cv)
    332327{
  • libcaca/trunk/cxx/cucul++.h

    r1462 r1875  
    6666    void setGamma(float);
    6767    void setContrast(float);
    68     void setInvert(int);
    6968    void setAntialias(char const *);
    7069    char const *const * getAntialiasList();
  • libcaca/trunk/test/demo.c

    r1823 r1875  
    556556
    557557    dither = cucul_create_dither(32, 256, 256, 4 * 256, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000);
    558  cucul_set_dither_invert(dither, 1);
     558    cucul_set_dither_gamma(dither, -1.0);
    559559    cucul_dither_bitmap(cv, 0, 0, cucul_get_canvas_width(cv), cucul_get_canvas_height(cv), dither, (char *)buffer);
    560560    cucul_free_dither(dither);
Note: See TracChangeset for help on using the changeset viewer.