home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / POV-Ray 3.0.2 / src / MacSource / ProgressDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-14  |  2.2 KB  |  63 lines  |  [TEXT/CWIE]

  1. /*
  2. ==============================================================================
  3. Project:    POV-Ray
  4.  
  5. Version:    3
  6.  
  7. File Name:    ProgressDialog.h
  8.  
  9. Description:
  10.     General-purpose progress bar handling for dialogs.
  11.  
  12.     This is the header file, containing the public definitions for
  13.     the useful external functions.
  14.  
  15. Related Files:
  16.     ProgressDialog.c    - Main implementation for these routines
  17. ------------------------------------------------------------------------------
  18. Author:
  19.     Eduard [esp] Schwan
  20. ------------------------------------------------------------------------------
  21.     from Persistence of Vision(tm) Ray Tracer
  22.     Copyright 1996 Persistence of Vision Team
  23. ------------------------------------------------------------------------------
  24.     NOTICE: This source code file is provided so that users may experiment
  25.     with enhancements to POV-Ray and to port the software to platforms other 
  26.     than those supported by the POV-Ray Team.  There are strict rules under
  27.     which you are permitted to use this file.  The rules are in the file
  28.     named POVLEGAL.DOC which should be distributed with this file. If 
  29.     POVLEGAL.DOC is not available or for more info please contact the POV-Ray
  30.     Team Coordinator by leaving a message in CompuServe's Graphics Developer's
  31.     Forum.  The latest version of POV-Ray may be found there as well.
  32.  
  33.     This program is based on the popular DKB raytracer version 2.12.
  34.     DKBTrace was originally written by David K. Buck.
  35.     DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
  36. ------------------------------------------------------------------------------
  37. Change History:
  38.     920820    [esp]    Created
  39.     920920    [esp]    changed highestVal from int to long
  40.     930619    [esp]    added dispose fn
  41.     931001    [esp]    version 2.0 finished (Released on 10/4/93)
  42.     931119    [djh]    brought into conformance with PPCC header requirements
  43. ==============================================================================
  44. */
  45.  
  46. #if !defined(PROGRESSDIALOG_H)
  47. #define PROGRESSDIALOG_H
  48.  
  49.  
  50. #include "config.h"
  51. #include <dialogs.h>    // DialogPtr
  52.  
  53.  
  54. DialogPtr    GetNewProgressDialog(short theDialogID, short theProgressItemNum);
  55.  
  56. void        updateProgressDialog(DialogPtr pDialogPtr, long lowestVal, long highestVal, long currentVal);
  57.  
  58. void        disposeProgressDialog(DialogPtr pDialogPtr);
  59.  
  60.  
  61. #endif // PROGRESSDIALOG_H
  62.  
  63.