Actual source code: vdraw.h

  1: /* $Id: vdraw.h,v 1.4 2001/01/15 21:43:15 bsmith Exp $ */
  2: /*
  3:      Data structure for the PetscDraw version of the viewer
  4: */


  9: #define PETSC_VIEWER_DRAW_MAX 5

 11:  #include src/sys/src/viewer/viewerimpl.h
 12: typedef struct {
 13:   PetscDraw      draw[PETSC_VIEWER_DRAW_MAX];
 14:   PetscDrawLG    drawlg[PETSC_VIEWER_DRAW_MAX];
 15:   PetscDrawAxis  drawaxis[PETSC_VIEWER_DRAW_MAX];
 16:   int            w,h;        /* These are saved in case additional windows are opened */
 17:   char           *display;
 18:   PetscTruth     singleton_made;
 19: } PetscViewer_Draw;

 21: #endif