Lines Matching refs:canvas
110 frame->canvas = frame->CreateCanvas(NULL, frame);
150 canvas = NULL;
157 if (canvas && palette)
171 canvas->SetSize(canvasX, canvasY, canvasW, canvasH);
188 (void)wxMessageBox(_T("OGLEdit Demo\nTo draw a shape, select a shape on the toolbar and left-click on the canvas.\nTo draw a line, right-drag between shapes.\nFor further details, see the OGL manual.\n (c) Julian Smart 1996"), _T("About OGLEdit"));
191 // Creates a canvas. Called by OnInit as a child of the main window
197 // Non-retained canvas
198 MyCanvas *canvas = new MyCanvas(view, parent, wxID_ANY, wxPoint(0, 0), wxSize(width, height), 0);
199 canvas->SetCursor(wxCursor(wxCURSOR_HAND));
202 canvas->SetScrollbars(20, 20, 50, 50);
204 return canvas;