/* ------------------------------------------------------------------------ */
/*                                 mdemo.c                                  */
/* ------------------------------------------------------------------------ */
#include <stdio.h>
#include <conio.h>

#include "sstkey.h"
#include "sstwin.h"
#include "sstmnu.h"

static void      dummy     (void);

/* ---------- menu tables --------- */
char *wselcs[] = {
	" Colours Titles ",
	" Promote ",
	" Fast ",
	" Move ",
	NULL
};
char *eselcs[] = {
	" Orders ",
	" All Orders ",
	" Lists ",
	NULL
};
char *dselcs[] = {
	" Editor ",
	NULL
};
char *mselcs[] = {
	" Direct Video ",
	" Super Colors ",
	" Set 50 lines ",
	" Set 43 lines ",
	" Set 25 lines ",
	NULL
};

static void (*wfuncs[])()={dummy,dummy,dummy,dummy};
static void (*efuncs[])()={dummy,dummy,dummy};
static void (*dfuncs[])()={dummy};
static void (*mfuncs[])()={dummy,dummy,dummy,dummy,dummy};
static MENU tmn [] = {
	{"Windows", 	wselcs, wfuncs},
	{"Entrys",	eselcs, efuncs},
	{"Editor",	dselcs, dfuncs},
	{"Misc",        mselcs, mfuncs},
	{"Australia",   mselcs, mfuncs},
	{"Europe",      mselcs, mfuncs},
	{"Middle East", mselcs, mfuncs},
	{NULL,NULL,NULL}
};


/* ------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------ */
static void dummy(void)

{

}

/* ------------------------------------------------------------------------ */
void main(void)
{
    Msetcolour(WIN_BORDER,LIGHTGRAY,BLACK,DIM);
    Msetcolour(WIN_TITLE ,LIGHTGRAY,RED,DIM);
    Msetcolour(WIN_ACCENT,GREEN,BLACK,DIM);
    Msetcolour(WIN_FACE,LIGHTGRAY,BLACK,DIM);
    Msettitle("[Menu Demo]",JUST_C);
    Msetspace(2,SPC_LEFT | SPC_RIGHT);
    Msetspace(4,SPC_BETWEEN);
    Mselect(tmn,FALSE);
}



