Strive for a little more consistency with my examples.

This commit is contained in:
jkh 1996-04-07 03:21:01 +00:00
parent efe5631797
commit 5b2f267378
7 changed files with 14 additions and 14 deletions

View File

@ -13,7 +13,7 @@
* the author assume any responsibility for damages incurred with
* its use.
*
* $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $
* $Id: check1.c,v 1.1 1996/01/01 03:45:22 jkh Exp $
*/
#include <stdio.h>
@ -73,7 +73,7 @@ main(int argc, unsigned char *argv[])
retval = dialog_checklist("this is a dialog_checklist() in action, test #1",
"this checklist menu shows off some of the straight-forward features\n"
"of the new menu system's check & fire dispatch hooks", -1, -1, 4, -4, &menu2, NULL);
"of the new menu system's check & fire dispatch hooks", -1, -1, 4, -4, menu2, NULL);
dialog_clear();
fprintf(stderr, "returned value for dialog_checklist was %d (%d %d %d)\n", retval, german_book, italian_book, slang_book);

View File

@ -13,7 +13,7 @@
* the author assume any responsibility for damages incurred with
* its use.
*
* $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $
* $Id: menu1.c,v 1.1 1996/01/01 03:45:26 jkh Exp $
*/
#include <stdio.h>
@ -107,7 +107,7 @@ main(int argc, unsigned char *argv[])
retval = dialog_menu("this is dialog_menu() in action, test #1",
"this simple menu shows off some of the straight-forward features\n"
"of the new menu system's action dispatch hooks. Select Cancel to leave",
-1, -1, 3, -3, &menu1, NULL, NULL, NULL);
-1, -1, 3, -3, menu1, NULL, NULL, NULL);
dialog_clear();
fprintf(stderr, "returned value for dialog_menu was %d\n", retval);

View File

@ -13,7 +13,7 @@
* the author assume any responsibility for damages incurred with
* its use.
*
* $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $
* $Id: menu2.c,v 1.1 1996/01/01 03:45:26 jkh Exp $
*/
#include <stdio.h>
@ -110,7 +110,7 @@ main(int argc, unsigned char *argv[])
"this simple menu shows off some of the straight-forward features\n"
"of the new menu system's action dispatch hooks as well as a helpline\n"
"and a helpfile. Select Cancel to leave",
-1, -1, 3, -3, &menu1, NULL, NULL, NULL);
-1, -1, 3, -3, menu1, NULL, NULL, NULL);
dialog_clear();
fprintf(stderr, "returned value for dialog_menu was %d\n", retval);

View File

@ -13,7 +13,7 @@
* the author assume any responsibility for damages incurred with
* its use.
*
* $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $
* $Id: menu3.c,v 1.1 1996/01/01 03:45:27 jkh Exp $
*/
#include <stdio.h>
@ -101,7 +101,7 @@ main(int argc, unsigned char *argv[])
retval = dialog_menu("Do you have the GUTS?",
"C'mon, macho man! Do you have what it takes to do something REALLY\n"
"dangerous and stupid? WHAT ARE YOU WAITING FOR?!",
-1, -1, 3, -3, &doit, NULL, NULL, NULL);
-1, -1, 3, -3, doit, NULL, NULL, NULL);
dialog_clear();
fprintf(stderr, "returned value for dialog_menu was %d\n", retval);

View File

@ -13,7 +13,7 @@
* the author assume any responsibility for damages incurred with
* its use.
*
* $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $
* $Id: radio1.c,v 1.1 1996/01/01 03:45:29 jkh Exp $
*/
#include <stdio.h>
@ -61,7 +61,7 @@ main(int argc, unsigned char *argv[])
retval = dialog_radiolist("this is dialog_radiolist() in action, test #1",
"this radio menu shows off some of the straight-forward features\n"
"of the new menu system's check & fire dispatch hooks", -1, -1, 3, -3, &menu5, NULL);
"of the new menu system's check & fire dispatch hooks", -1, -1, 3, -3, menu5, NULL);
dialog_clear();
fprintf(stderr, "returned value for dialog_radiolist was %d (money set to %d)\n", retval, spending);

View File

@ -13,7 +13,7 @@
* the author assume any responsibility for damages incurred with
* its use.
*
* $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $
* $Id: radio2.c,v 1.1 1996/01/01 03:45:29 jkh Exp $
*/
#include <stdio.h>
@ -79,7 +79,7 @@ main(int argc, unsigned char *argv[])
"Welcome to \"The Love Blender!\" - America's favorite game show\n"
"where YOU, the contestant, get to choose which of these two\n"
"fine specimens of humanity will go home together, whether they\n"
"like it or not!", -1, -1, 7, -7, &menu6, NULL);
"like it or not!", -1, -1, 7, -7, menu6, NULL);
dialog_clear();
fprintf(stderr, "I'm sure that %s and %s will be very happy together!\n", bachelor, bachelette);

View File

@ -13,7 +13,7 @@
* the author assume any responsibility for damages incurred with
* its use.
*
* $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $
* $Id: radio3.c,v 1.1 1996/01/01 03:45:30 jkh Exp $
*/
#include <stdio.h>
@ -88,7 +88,7 @@ main(int argc, unsigned char *argv[])
"controls at different locations, as well as the `selected' hook which\n"
"lets you follow the traversal of the selection bar as well as what's\n"
"selected.",
-1, -1, 3, -3, &menu5, NULL);
-1, -1, 3, -3, menu5, NULL);
dialog_clear();
fprintf(stderr, "returned value for dialog_radiolist was %d (money set to %d)\n", retval, spending);