80
80
NSData *data = [NSData dataWithBytes:&canvasPtr length:sizeof(video_canvas_t *)];
82
82
// call UI thread to create canvas
83
[[theVICEMachine app] createCanvas:data withRect:NSMakeRect(100,100,w,h)];
86
86
video_canvas_set_palette(canvas,canvas->palette);
88
91
// re-post all required notifications for new window
89
92
[[theVICEMachine machineNotifier] notifyNewWindow];