/*
 * altfontsel.c - Contains main() for project altfontsel
 * This file was generated by `gxv'.
 */

#include <stdio.h>
#include <locale.h>
#include <sys/param.h>
#include <sys/types.h>
#include <xview/xview.h>
#include <xview/panel.h>
#include <xview/textsw.h>
#include <xview/xv_xrect.h>
#include "altfontsel_ui.h"
#include "altfontsel_tt.h"


/*
 * External variable declarations.
 */
altfontsel_baseframe_objects	*Altfontsel_baseframe;


#ifdef MAIN

/*
 * Instance XV_KEY_DATA key.  An instance is a set of related
 * user interface objects.  A pointer to an object's instance
 * is stored under this key in every object.  This must be a
 * global variable.
 */
Attr_attribute	INSTANCE;

/*
 * main for project altfontsel
 */
void
main(int argc, char **argv)
{
	setlocale(LC_ALL,"C");
	/*
	 * Initialize XView.
	 */
	xv_init(XV_INIT_ARGC_PTR_ARGV, &argc, argv, NULL);
	INSTANCE = xv_unique_key();
	
	/*
	 * Initialize user interface components.
	 * Do NOT edit the object initializations by hand.
	 */
	Altfontsel_baseframe = altfontsel_baseframe_objects_initialize(NULL, NULL);

	initToolTalk(Altfontsel_baseframe->baseframe);

	/*
	 * Turn control over to XView.
	 */
	xv_main_loop(Altfontsel_baseframe->baseframe);
	exit(0);
}

#endif

