home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / commodities / superdark / programmer.lha / prog / rien.dark.c < prev    next >
C/C++ Source or Header  |  1993-03-21  |  1KB  |  55 lines

  1. /****************************************/
  2. /* file rien.dark.c             */
  3. /* This file is a skeleton to         */
  4. /* create new blankers for SuperDark    */
  5. /* This one does absolutly nothing, but */
  6. /* you can easyly take it and put your  */
  7. /* own dark() function...read the docs! */
  8. /****************************************/
  9.  
  10. #include    <exec/types.h>
  11. #include    <exec/ports.h>
  12. #include    <dos/dos.h>
  13. #include    "/includes/struct.h"
  14. #include    "/includes/tom_gadget.h"
  15.  
  16. extern    struct    RastPort    *rp;
  17. extern    struct    Screen        *s;
  18. extern    struct    appel_proc    *p_data_proc;
  19.  
  20. char    *name_module="vide.dark";
  21. char    *p_text_info=
  22. "Rien\n"
  23. "This programm do nothing\n"
  24. "It's a skeletton for your own\n"
  25. "purpose";
  26.  
  27. /* An empty list of gadget....*/
  28. struct    tom_gadget    my_gadg[]={
  29.     {0,        END_LISTE,  0,  0,   0, 0, 0,0,0,0,0}};
  30.  
  31.  
  32. /* Put here your own code */
  33.  
  34. void    dark()
  35. {
  36.     wait_end();
  37. }
  38.  
  39. /************************************************************************/
  40. /* These 3 function have to be here, even if they are empty         */
  41. /************************************************************************/
  42.  
  43. void    proc_init()
  44. {
  45.     /* This tel you that you don't want a copy of the WBench screen */
  46.     p_data_proc->type_screen=SCR_OWN;
  47. }
  48.  
  49. void    proc_save()
  50. {
  51. }
  52. void    proc_end()
  53. {
  54. }
  55.