Line | |
---|
1 | /*
|
---|
2 | * $Id: demo_panels.c,v 1.1 2003/04/26 22:11:23 tom Exp $
|
---|
3 | *
|
---|
4 | * Demonstrate a variety of functions from the panel library.
|
---|
5 | * Thomas Dickey - 2003/4/26
|
---|
6 | */
|
---|
7 | /*
|
---|
8 | panel_above -
|
---|
9 | panel_below -
|
---|
10 | panel_hidden -
|
---|
11 | replace_panel -
|
---|
12 | */
|
---|
13 |
|
---|
14 | #include <test.priv.h>
|
---|
15 |
|
---|
16 | #if USE_LIBPANEL
|
---|
17 |
|
---|
18 | #include <panel.h>
|
---|
19 |
|
---|
20 | int
|
---|
21 | main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED)
|
---|
22 | {
|
---|
23 | printf("Not implemented - demo for panel library\n");
|
---|
24 | return EXIT_SUCCESS;
|
---|
25 | }
|
---|
26 | #else
|
---|
27 | int
|
---|
28 | main(void)
|
---|
29 | {
|
---|
30 | printf("This program requires the curses panel library\n");
|
---|
31 | ExitProgram(EXIT_FAILURE);
|
---|
32 | }
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.