1: /* 2: Data structure for the PetscDraw version of the viewer 3: */ 8: #include ../src/sys/viewer/viewerimpl.h 9: typedef struct { 10: PetscInt draw_max; 11: PetscInt draw_base; 12: PetscDraw *draw; 13: PetscDrawLG *drawlg; 14: PetscDrawAxis *drawaxis; 15: int w,h; /* These are saved in case additional windows are opened */ 16: char *display; 17: char *title; 18: PetscTruth singleton_made; 19: } PetscViewer_Draw; 21: #endif