Ignore:
Timestamp:
Nov 25, 2007, 3:11:58 PM (12 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/driver_cocoa.m

    r2040 r2055  
    835835
    836836    unsigned int width = dp->cv->width, height = dp->cv->height;
    837     __cucul_set_canvas_size(dp->cv, width ? width : 80, height ? height : 32);
     837    dp->resize.allow = 1;
     838    cucul_set_canvas_size(dp->cv, width ? width : 80, height ? height : 32);
     839    dp->resize.allow = 0;
    838840
    839841    // first create a full cocoa app if the host has no bundle
Note: See TracChangeset for help on using the changeset viewer.