1: /*$Id: dpause.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: PetscDrawPause - Waits n seconds or until user input, depending on input
9: to PetscDrawSetPause().
11: Collective operation on PetscDraw object.
13: Input Parameter:
14: . draw - the drawing context
16: Level: beginner
18: Concepts: waiting^for user input
19: Concepts: drawing^waiting
20: Concepts: graphics^waiting
22: .seealso: PetscDrawSetPause(), PetscDrawGetPause()
23: @*/
24: int PetscDrawPause(PetscDraw draw)
25: {
29: if (draw->ops->pause) {
30: (*draw->ops->pause)(draw);
31: }
32: return(0);
33: }