home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities2 / desklib / !DeskLib / h / Hourglass < prev    next >
Encoding:
Text File  |  1992-03-23  |  1.3 KB  |  41 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for 
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #                                      
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Hourglass.h
  12.     Author:  Copyright © 1992 Jason Williams
  13.     Version: 1.00 (22 Mar 1992)
  14.     Purpose: Hourglass module veneer macros
  15. */
  16.  
  17.  
  18. #ifndef __dl_hourglass_h
  19. #define __dl_hourglass_h
  20.  
  21. #ifndef __dl_swi_h
  22. #include "SWI.h"
  23. #endif
  24.  
  25. /* void Hourglass_On(void);                */
  26. #define Hourglass_On() SWI(0,0,0x606c0)
  27.  
  28. /* void Hourglass_Start(int startdelay);   */
  29. #define Hourglass_Start(startdelay) SWI(1,0,0x606c3,startdelay)
  30.  
  31. /* void Hourglass_Percentage(int percent); */
  32. #define Hourglass_Percentage(percent) SWI(1,0,0x606c4,percent)
  33.  
  34. /* void Hourglass_Off(void);               */
  35. #define Hourglass_Off() SWI(0,0,0x606c1)
  36.  
  37. /* void Hourglass_Smash(void);             */
  38. #define Hourglass_Smash() SWI(0,0,0x606c2)
  39.  
  40. #endif
  41.