Ignore:
Timestamp:
Nov 25, 2007, 3:11:58 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Add cucul_manage_canvas() and cucul_unmanage_canvas(). Display drivers no longer need to access the cv->refcount private member and cucul_set_canvas_size() is no longer needed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/graphics.c

    r2043 r2055  
    239239    /* Tell libcucul we changed size */
    240240    if(dp->resize.w != dp->cv->width || dp->resize.h != dp->cv->height)
    241         __cucul_set_canvas_size(dp->cv, dp->resize.w, dp->resize.h);
     241    {
     242        dp->resize.allow = 1;
     243        cucul_set_canvas_size(dp->cv, dp->resize.w, dp->resize.h);
     244        dp->resize.allow = 0;
     245    }
    242246}
    243247
Note: See TracChangeset for help on using the changeset viewer.