1 /* Splash Screen
2 
3  * Copyright (C) 1998 J.A. Bezemer
4  *
5  * Licensed under the terms of the GNU General Public License.
6  * ABSOLUTELY NO WARRANTY.
7  * See the file `COPYING' in this directory.
8  */
9 
10 #include <unistd.h>
11 #ifndef OLD_CURSES
12 #include <ncurses.h>
13 #else
14 #include <curses.h>
15 #endif
16 
17 
18 void
splashscreen(void)19 splashscreen (void)
20 {
21   char splashtext[] = "\
22 \n\
23   #######                                            ####### ##   ###\n\
24  ##                                                 ##             ##\n\
25  ##        ## ####   #####   ## ### ###    #####    ##      ###    ##    #####\n\
26  ##  ####   ##   ##      ##   ##  ##  ##  ##   ##   #####    ##    ##   ##   ##\n\
27  ##     ##  ##       ######   ##  ##  ##  ##   ##   ##       ##    ##   ######\n\
28  ##     ##  ##      ##   ##   ##  ##  ##  ##   ##   ##       ##    ##   ##\n\
29   #######   ##       ######   ##  ##  ##   #####    ##      ####  ####   #####\n\
30 \n\
31                                                                    Version 1.6\n\
32 ________________________________________________________________________________     \n\
33         Recording  -  Playback  -  Track Splitting  -  Signal Processing\n\
34 \n\
35 \n\
36 \n\
37    Copyright (C) 1998 J.A. Bezemer\n\
38 \n\
39    This program is free software; you are encouraged to redistribute it under\n\
40    the terms of the GNU General Public License.\n\
41 \n\
42    This program comes with ABSOLUTELY NO WARRANTY. See the GNU General Public\n\
43    License (e.g. in the file named `COPYING') for more details.\
44 ";
45 
46 /* int i;
47    for (i=0; i<strlen(splashtext); i++)
48    addch(splashtext[i]=='#' ? ' ' | A_REVERSE : splashtext[i]);
49  */
50 
51   clear ();
52   refresh ();
53 
54   usleep (500000);
55 
56   addstr (splashtext);
57   move (0, 79);
58   refresh ();
59 
60   sleep (3);
61 }
62