1: /*$Id: dgpause.c,v 1.28 2001/03/23 23:20:08 balay Exp $*/
2: /*
3: Provides the calling sequences for all the basic PetscDraw routines.
4: */
5: #include src/sys/src/draw/drawimpl.h
7: /*@
8: PetscDrawGetPause - Gets the amount of time that program pauses after
9: a PetscDrawPause() is called.
11: Not collective
13: Input Parameters:
14: + draw - the drawing object
15: - lpause - number of seconds to pause, -1 implies until user input
17: Level: intermediate
19: Note:
20: By default the pause time is zero unless the -draw_pause option is given
21:
22: Concepts: waiting^for user input
23: Concepts: drawing^waiting
24: Concepts: graphics^waiting
26: .seealso: PetscDrawSetPause(), PetscDrawPause()
27: @*/
28: int PetscDrawGetPause(PetscDraw draw,int *lpause)
29: {
33: *lpause = draw->pause;
34: return(0);
35: }