#define THE_SCREEN_WIDTH 960
#define THE_SCREEN_HEIGHT 600
#define THE_SCREEN_DEPTH 7

#include "suit.h"


/*--------------------------------------------------------------------------------*/
/*                                                                                */
/*                                  NOTE:                                         */
/*                                                                                */
/*    This file contains all the permanent properties of this application's       */
/*    objects and is read in as a data file.  Compiling this file as part of      */
/*    your application "hard codes" your interface.  Please see "shipping"        */
/*    in the SUIT reference manual for further information.                       */
/*                                                                                */
/*                                                                                */
/*                              !! DANGER !!                                      */
/*                                                                                */
/*      This file is machine-generated, and its contents are very important.      */
/*                                                                                */
/*          If you must edit this file, do so with extreme caution!               */
/*                                                                                */
/*                              !! DANGER !!                                      */
/*                                                                                */
/*--------------------------------------------------------------------------------*/


extern void SUIT_interiorInitFromCode (char *programName, SUIT_functionPointer suiRoutine,
                                       int width, int height, int depth);

extern SUIT_type *si_getType(char *typeName);

extern void si_addChildToObject(SUIT_object, SUIT_object, boolean);

static void MAKE (char *name, char *class, char *parent) 
{ 
    SUIT_object o = SUIT_name(name); 
    SUIT_object p = SUIT_name(parent); 
    if (p != NULL) {
        if (o == NULL) 
            o = SUIT_createObjectByClass(name, class); 
        si_addChildToObject(SUIT_name(parent), o, FALSE); 
    }
} 
 


static void SET (char *objOrClass, char *propertyName, char *propertyType, boolean atClass,
                 boolean locked, char *stringValue) 
{ 
    SUIT_type	*type; 
    boolean	errorStatus; 
    Pointer	retval; 
    SUIT_level level = OBJECT; 
    SUIT_object o; 
     
    if (atClass) 
        level = CLASS; 
    if (level == CLASS) 
        o = SUIT_dummyObjectInClass(objOrClass); 
    else 
        o = SUIT_name(objOrClass); 
    type = si_getType(propertyType); 
    retval = type->convertFromAscii(stringValue, &errorStatus); 
    if (errorStatus == FALSE) 
	SUIT_setProperty(o, propertyName, propertyType, retval, level); 

    if (locked) 
        SUIT_lockProperty(o, propertyName, level); 
}


static void INIT_suiRoutine(void)
{
/* This line is for parsing simplicity -- do NOT remove it!  @ */
MAKE("joe","file box","ROOT");
MAKE("joe: scroll box","scrollable list","joe");
MAKE("joe: scroll box: scrollbar","bounded value","joe: scroll box");
MAKE("joe: scroll box: list","list","joe: scroll box");
MAKE("joe: type in box","type in box","joe");
MAKE("joe: main label","label","joe");
MAKE("joe: type in box label","label","joe");
MAKE("joe: current directory label","label","joe");
MAKE("joe: count label","label","joe");
MAKE("Done","button","ROOT");
MAKE("Open","button","ROOT");
SET("arrow button","border raised","boolean",1,0,"no");
SET("arrow button","direction","SUIT_enum",1,0,"\"up\" of {\"up\" \"down\" \"left\" \"right\"}");
SET("arrow button","draw filled","boolean",1,0,"no");
SET("arrow button","has background","boolean",1,0,"no");
SET("arrow button","intermediate feedback","boolean",1,0,"no");
SET("arrow button","shadow thickness","int",1,0,"3");
SET("borderless file box","has border","boolean",1,0,"no");
SET("bounded value","arrowhead angle","int",1,0,"10");
SET("bounded value","arrowhead length","double",1,0,"0.200000");
SET("bounded value","button background color","GP_color",1,0,"black, black");
SET("bounded value","button foreground color","GP_color",1,0,"grey, white");
SET("bounded value","current value","double",1,0,"0.000000");
SET("bounded value","granularity","double",1,0,"0.000000");
SET("bounded value","has arrow","boolean",1,0,"yes");
SET("bounded value","has tick marks","boolean",1,0,"yes");
SET("bounded value","increase clockwise","boolean",1,0,"yes");
SET("bounded value","minimum value","double",1,0,"0.000000");
SET("bounded value","needle color","GP_color",1,0,"black, black");
SET("bounded value","start angle","double",1,0,"0.000000");
SET("button","disabled color","GP_color",1,0,"grey, black");
SET("button","justification","SUIT_enum",1,0,"\"center\" of {\"left\" \"center\" \"right\"}");
SET("button","shrink to fit","boolean",1,0,"yes");
SET("dialog box","border type","SUIT_enum",1,0,"\"fancy motif\" of {\"simple\" \"motif\" \"fancy motif\"}");
SET("dialog box","border width","int",1,0,"8");
SET("dialog box","cache using canvas","boolean",1,0,"yes");
SET("elevator","border raised","boolean",1,0,"no");
SET("elevator","has background","boolean",1,0,"no");
SET("file box","file filter","text",1,0,"");
SET("label","has border","boolean",1,0,"no");
SET("label","justification","SUIT_enum",1,0,"\"center\" of {\"left\" \"center\" \"right\"}");
SET("label","shrink to fit","boolean",1,0,"yes");
SET("list","border raised","boolean",1,0,"no");
SET("list","text spacing","double",1,0,"1.200000");
SET("place mat","border raised","boolean",1,0,"no");
SET("scrollable list","border raised","boolean",1,0,"no");
SET("scrollable list","has background","boolean",1,0,"no");
SET("scrollable list","has border","boolean",1,0,"no");
SET("type in box","any keystroke triggers","boolean",1,0,"no");
SET("type in box","backward char key","text",1,0,"C-b");
SET("type in box","beginning of line key","text",1,0,"C-a");
SET("type in box","beginning of text key","text",1,0,"M-<");
SET("type in box","border raised","boolean",1,0,"no");
SET("type in box","calculate block","boolean",1,0,"no");
SET("type in box","calculate lines","boolean",1,0,"no");
SET("type in box","cursor color","GP_color",1,0,"black, black");
SET("type in box","cursor index","int",1,0,"0");
SET("type in box","cursor style","SUIT_enum",1,0,"\"vertical bar\" of {\"i-beam\" \"vertical bar\"}");
SET("type in box","cursor x","int",1,0,"0");
SET("type in box","cursor y","int",1,0,"0");
SET("type in box","delete char key","text",1,0,"C-d");
SET("type in box","delete entire line key","text",1,0,"C-u");
SET("type in box","done editing key","text",1,0,"C-x");
SET("type in box","end of line key","text",1,0,"C-e");
SET("type in box","end of text key","text",1,0,"M->");
SET("type in box","forward char key","text",1,0,"C-f");
SET("type in box","highlight block","boolean",1,0,"no");
SET("type in box","kill line key","text",1,0,"C-k");
SET("type in box","last mark index","int",1,0,"0");
SET("type in box","mark end index","int",1,0,"0");
SET("type in box","mark index","int",1,0,"0");
SET("type in box","next line key","text",1,0,"C-n");
SET("type in box","open line key","text",1,0,"C-o");
SET("type in box","previous line key","text",1,0,"C-p");
SET("type in box","repaint key","text",1,0,"C-l");
SET("type in box","scroll down key","text",1,0,"M-v");
SET("type in box","scroll up key","text",1,0,"C-v");
SET("type in box","set mark key","text",1,0,"C-`");
SET("type in box","shrink to fit","boolean",1,0,"yes");
SET("type in box","spacing gap","int",1,0,"3");
SET("type in box","start x","int",1,0,"0");
SET("type in box","start y","double",1,0,"0.000000");
SET("type in box","tab length","int",1,0,"5");
SET("type in box","time between clicks for double click","double",1,0,"400000.000000");
SET("type in box","wipe block key","text",1,0,"C-w");
SET("type in box","yank key","text",1,0,"C-y");
SET("ROOT","animated","boolean",0,0,"no");
SET("ROOT","background color","GP_color",0,0,"grey, white");
SET("ROOT","border color","GP_color",0,0,"grey, black");
SET("ROOT","border raised","boolean",0,0,"yes");
SET("ROOT","border type","SUIT_enum",0,0,"\"motif\" of {\"simple\" \"motif\" \"fancy motif\"}");
SET("ROOT","border width","int",0,0,"2");
SET("ROOT","clip to viewport","boolean",0,0,"yes");
SET("ROOT","default object height","int",0,0,"80");
SET("ROOT","default object width","int",0,0,"80");
SET("ROOT","draw border on inside","boolean",0,0,"no");
SET("ROOT","font","GP_font",0,0,"times,,12.000000");
SET("ROOT","foreground color","GP_color",0,0,"black, black");
SET("ROOT","has background","boolean",0,0,"yes");
SET("ROOT","has border","boolean",0,0,"yes");
SET("ROOT","margin","int",0,0,"5");
SET("ROOT","show temporary properties","boolean",0,0,"no");
SET("ROOT","shrink to fit","boolean",0,0,"no");
SET("ROOT","springiness","SUIT_springiness",0,0,"63");
SET("ROOT","SUIT system font","GP_font",0,0,"helvetica,,14.000000");
SET("ROOT","viewport","viewport",0,1,"0 0 959 599");
SET("ROOT","visible","boolean",0,0,"yes");
SET("ROOT","window","window",0,1,"0.000000 0.000000 1.000000 1.000000");
SET("joe","active display","SUIT_enum",0,0,"\"standard\" of {\"standard\"}");
SET("joe","callback function","SUIT_functionPointer",0,0,"function ptr");
SET("joe","current directory","text",0,0,"/cs2/suit//bin");
SET("joe","current value","text",0,0,"InstallTutorial");
SET("joe","viewport","viewport",0,0,"121 145 335 452");
SET("joe: scroll box","active display","SUIT_enum",0,0,"\"bulletin board\" of {\"bulletin board\"}");
SET("joe: scroll box","callback function","SUIT_functionPointer",0,0,"function ptr");
SET("joe: scroll box","current row","int",0,0,"5");
SET("joe: scroll box","current value","text",0,0,"InstallTutorial");
SET("joe: scroll box","inside filebox","boolean",0,0,"yes");
SET("joe: scroll box","label","text",0,0,"");
SET("joe: scroll box","list","SUIT_textList",0,0,"../ (Go up 1 directory level)
archive
code_warnings
distribute
distribute~
InstallTutorial
keyecho
linkdocs
makeHelp
makeSUITFloppy
overwrite
PrintFile.fm
PrintFile.ps
props.awk
replace
split_docs
split_docs.fmbatch
unarchive
UninstallTutorial
");
SET("joe: scroll box","viewport","viewport",0,0,"12 50 201 198");
SET("joe: scroll box: scrollbar","active display","SUIT_enum",0,0,"\"scroll bar\" of {\"scroll bar\" \"vertical thermometer\" \"horizontal thermometer\" \"pie slice\" \"speedometer\"}");
SET("joe: scroll box: scrollbar","border raised","boolean",0,0,"no");
SET("joe: scroll box: scrollbar","callback function","SUIT_functionPointer",0,0,"function ptr");
SET("joe: scroll box: scrollbar","current value","double",0,0,"0.000000");
SET("joe: scroll box: scrollbar","granularity","double",0,0,"1.000000");
SET("joe: scroll box: scrollbar","maximum value","double",0,0,"10.000000");
SET("joe: scroll box: scrollbar","minimum value","double",0,0,"0.000000");
SET("joe: scroll box: scrollbar","percent full","double",0,0,"0.473684");
SET("joe: scroll box: scrollbar","springiness","SUIT_springiness",0,0,"17");
SET("joe: scroll box: scrollbar","viewport","viewport",0,0,"175 2 187 146");
SET("joe: scroll box: scrollbar: first arrow","active display","SUIT_enum",0,0,"\"motif\" of {\"simple arrow\" \"motif\"}");
SET("joe: scroll box: scrollbar: first arrow","callback function","SUIT_functionPointer",0,0,"function ptr");
SET("joe: scroll box: scrollbar: first arrow","direction","SUIT_enum",0,0,"\"up\" of {\"up\" \"down\" \"left\" \"right\"}");
SET("joe: scroll box: scrollbar: first arrow","has border","boolean",0,0,"no");
SET("joe: scroll box: scrollbar: first arrow","viewport","viewport",0,0,"0 132 12 144");
SET("joe: scroll box: scrollbar: elevator","active display","SUIT_enum",0,0,"\"motif\" of {\"motif\"}");
SET("joe: scroll box: scrollbar: elevator","callback function","SUIT_functionPointer",0,0,"function ptr");
SET("joe: scroll box: scrollbar: elevator","current value","double",0,0,"0.000000");
SET("joe: scroll box: scrollbar: elevator","has border","boolean",0,0,"no");
SET("joe: scroll box: scrollbar: elevator","percent full","double",0,0,"0.473684");
SET("joe: scroll box: scrollbar: elevator","viewport","viewport",0,0,"0 12 12 132");
SET("joe: scroll box: scrollbar: second arrow","active display","SUIT_enum",0,0,"\"motif\" of {\"simple arrow\" \"motif\"}");
SET("joe: scroll box: scrollbar: second arrow","callback function","SUIT_functionPointer",0,0,"function ptr");
SET("joe: scroll box: scrollbar: second arrow","direction","SUIT_enum",0,0,"\"down\" of {\"up\" \"down\" \"left\" \"right\"}");
SET("joe: scroll box: scrollbar: second arrow","has border","boolean",0,0,"no");
SET("joe: scroll box: scrollbar: second arrow","viewport","viewport",0,0,"0 0 12 12");
SET("joe: scroll box: list","active display","SUIT_enum",0,0,"\"standard\" of {\"standard\"}");
SET("joe: scroll box: list","callback function","SUIT_functionPointer",0,0,"function ptr");
SET("joe: scroll box: list","drawing viewport","viewport",0,0,"2 2 165 146");
SET("joe: scroll box: list","springiness","SUIT_springiness",0,0,"3");
SET("joe: scroll box: list","viewport","viewport",0,0,"2 2 165 146");
SET("joe: type in box","active display","SUIT_enum",0,0,"\"standard\" of {\"standard\"}");
SET("joe: type in box","altered","boolean",0,0,"no");
SET("joe: type in box","callback function","SUIT_functionPointer",0,0,"function ptr");
SET("joe: type in box","current value","text",0,0,"InstallTutorial");
SET("joe: type in box","cursor position","int",0,0,"0");
SET("joe: type in box","cut buffer","text",0,0,"");
SET("joe: type in box","number of lines","int",0,0,"1");
SET("joe: type in box","paint block only","boolean",0,0,"no");
SET("joe: type in box","read only","boolean",0,0,"no");
SET("joe: type in box","viewport","viewport",0,0,"12 209 201 233");
SET("joe: main label","active display","SUIT_enum",0,0,"\"standard\" of {\"standard\"}");
SET("joe: main label","justification","SUIT_enum",0,0,"\"left\" of {\"left\" \"center\" \"right\"}");
SET("joe: main label","label","text",0,0,"Print");
SET("joe: main label","shrink to fit","boolean",0,0,"no");
SET("joe: main label","viewport","viewport",0,0,"12 274 201 292");
SET("joe: type in box label","active display","SUIT_enum",0,0,"\"standard\" of {\"standard\"}");
SET("joe: type in box label","justification","SUIT_enum",0,0,"\"left\" of {\"left\" \"center\" \"right\"}");
SET("joe: type in box label","label","text",0,0,"File name:");
SET("joe: type in box label","shrink to fit","boolean",0,0,"no");
SET("joe: type in box label","viewport","viewport",0,0,"12 241 201 259");
SET("joe: current directory label","active display","SUIT_enum",0,0,"\"standard\" of {\"standard\"}");
SET("joe: current directory label","justification","SUIT_enum",0,0,"\"left\" of {\"left\" \"center\" \"right\"}");
SET("joe: current directory label","label","text",0,0,"/cs2/suit//bin");
SET("joe: current directory label","shrink to fit","boolean",0,0,"no");
SET("joe: current directory label","viewport","viewport",0,0,"12 23 201 47");
SET("joe: count label","active display","SUIT_enum",0,0,"\"standard\" of {\"standard\"}");
SET("joe: count label","justification","SUIT_enum",0,0,"\"left\" of {\"left\" \"center\" \"right\"}");
SET("joe: count label","label","text",0,0,"1 Directories, 18 Files");
SET("joe: count label","shrink to fit","boolean",0,0,"no");
SET("joe: count label","viewport","viewport",0,0,"12 5 201 23");
SET("Done","active display","SUIT_enum",0,0,"\"standard\" of {\"button with hotkey\" \"standard\"}");
SET("Done","border raised","boolean",0,0,"yes");
SET("Done","callback function","SUIT_functionPointer",0,0,"function ptr");
SET("Done","disabled","boolean",0,0,"no");
SET("Done","done callback function","SUIT_functionPointer",0,0,"function ptr");
SET("Done","has background","boolean",0,0,"yes");
SET("Done","label","text",0,0,"Done");
SET("Done","viewport","viewport",0,0,"688 118 725 142");
SET("Open","active display","SUIT_enum",0,0,"\"standard\" of {\"button with hotkey\" \"standard\"}");
SET("Open","border raised","boolean",0,0,"yes");
SET("Open","callback function","SUIT_functionPointer",0,0,"function ptr");
SET("Open","disabled","boolean",0,0,"no");
SET("Open","has background","boolean",0,0,"yes");
SET("Open","label","text",0,0,"Open");
SET("Open","viewport","viewport",0,0,"494 276 531 300");


} /* end of INIT_suiRoutine */



void SUIT_initFromCode (char *programName)
{
    SUIT_interiorInitFromCode (programName, INIT_suiRoutine, THE_SCREEN_WIDTH,
                               THE_SCREEN_HEIGHT, THE_SCREEN_DEPTH);
}
