Changeset 3046 for libcaca/trunk/caca/driver/cocoa.m
- Timestamp:
- Oct 19, 2008, 6:22:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/driver/cocoa.m
r2962 r3046 216 216 _bkg_colors = malloc(_w * _h * sizeof(NSColor*)); 217 217 218 [[self window] setContentSize: NSMakeSize(caca_get_canvas_width(dp->cv) * _font_rect.size.width, 219 caca_get_canvas_height(dp->cv) * _font_rect.size.height)]; 218 // [[self window] setContentSize: NSMakeSize(caca_get_canvas_width(dp->cv) * _font_rect.size.width, 219 // caca_get_canvas_height(dp->cv) * _font_rect.size.height)]; 220 [[self window] setContentSize: NSMakeSize(caca_get_canvas_width(dp->cv) * 8, 221 caca_get_canvas_height(dp->cv) * 13)]; 222 220 223 } 221 224 } … … 249 252 250 253 int x, y; 251 float fw = _font_rect.size.width;252 float fh = _font_rect.size.height;254 float fw = 8;//_font_rect.size.width; 255 float fh = 13;//_font_rect.size.height; 253 256 uint32_t* attrs; 254 257 uint32_t* chars = _chars;
Note: See TracChangeset
for help on using the changeset viewer.