Actual source code: vdraw.h

      1: /*
      2:      Data structure for the PetscDraw version of the viewer
      3: */

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

     19: #endif