home *** CD-ROM | disk | FTP | other *** search
- /****************************************/
- /* file rien.dark.c */
- /* This file is a skeleton to */
- /* create new blankers for SuperDark */
- /* This one does absolutly nothing, but */
- /* you can easyly take it and put your */
- /* own dark() function...read the docs! */
- /****************************************/
-
- /****************************************************************/
- /* v1.1 22/06/93 Add a return value in the dark function */
- /****************************************************************/
-
- #include <exec/types.h>
- #include <exec/ports.h>
- #include <dos/dos.h>
- #include "/includes/struct.h"
- #include "/includes/tom_gadget.h"
-
- extern struct RastPort *rp;
- extern struct Screen *s;
- extern struct appel_proc *p_data_proc;
-
- char *name_module="vide.dark";
- char *p_text_info=
- "Rien\n"
- "This programm do nothing\n"
- "It's a skeletton for your own\n"
- "purpose";
-
- /* An empty list of gadget....*/
- struct tom_gadget my_gadg[]={
- {0, END_LISTE, 0, 0, 0, 0, 0,0,0,0,0}};
-
-
- /**************************/
- /* Put here your own code */
- /**************************/
- LONG dark()
- {
- wait_end();
- DCloseScreen(NULL);
- return(NULL);
- }
-
- /************************************************************************/
- /* These 3 function have to be here, even if they are empty */
- /************************************************************************/
-
- void proc_init()
- {
- /* This tel you that you don't want a copy of the WBench screen */
- p_data_proc->type_screen=SCR_OWN;
- }
-
- void proc_save()
- {
- }
- void proc_end()
- {
- }
-