home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / b / bouncer.zip / BOUNCER.H < prev    next >
C/C++ Source or Header  |  1992-05-01  |  1KB  |  35 lines

  1. /* BOUNCER.H - Header file for BOUNCER sample screen saver application.
  2.  */
  3.  
  4. #include <scrnsave.h>
  5.  
  6. #define ID_BITMAP   100
  7. #define ID_SPEED    101
  8. #define ID_XPOS     102
  9. #define ID_YPOS     103
  10. #define ID_VELOCITY 104
  11. #define ID_GRAVITY  105
  12. #define ID_SOUND    106
  13. #define ID_PAUSE    107
  14. #define ID_PASSWORDPROTECTED        108
  15. #define ID_SETPASSWORD              109
  16. #define ID_HELP                     110
  17.  
  18. #define ID_TIMER 200
  19.  
  20. #define DEF_SPEED 50                    // Timer period in milliseconds
  21. #define DEF_INIT_XPOS -110              // Starting x 
  22. #define DEF_INIT_YPOS 0                 // Starting y
  23. #define DEF_INIT_VELOC 5                // Starting velocity
  24. #define DEF_INIT_GRAVITY 3              // Starting gravity
  25. #define DEF_SOUND TRUE                  // Starting sound state
  26. #define DEF_PAUSE TRUE                  // Starting bottom-pause state
  27.  
  28. /* Function prototypes
  29.  */
  30. void GetIniEntries(void);
  31. void MoveImage(HWND hWnd);
  32. void GetIniSettings(void);
  33. void WriteProfileInt(LPSTR key, LPSTR tag, int i);
  34. extern BOOL FAR PASCAL ScreenSaverConfigureDialog(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);
  35.