1: /* 2: Provides the calling sequences for all the basic PetscDraw routines. 3: */ 4: #include src/sys/src/draw/drawimpl.h 8: /*@ 9: PetscDrawGetPause - Gets the amount of time that program pauses after 10: a PetscDrawPause() is called. 12: Not collective 14: Input Parameters: 15: + draw - the drawing object 16: - lpause - number of seconds to pause, -1 implies until user input 18: Level: intermediate 20: Note: 21: By default the pause time is zero unless the -draw_pause option is given 22: 23: Concepts: waiting^for user input 24: Concepts: drawing^waiting 25: Concepts: graphics^waiting 27: .seealso: PetscDrawSetPause(), PetscDrawPause() 28: @*/ 29: PetscErrorCode PetscDrawGetPause(PetscDraw draw,int *lpause) 30: { 34: *lpause = draw->pause; 35: return(0); 36: }