#include "Types.Rez"


#ifdef doSecondWay   /* see the rTutor.make2 file for details */
                     /* make sure we don't include the redundant AlertWindow */
                     /* otherwise, we'll get a compile time error message */
include "rTutor.rfork" not rAlertString;
#endif

/*--------- Alert Window - used as our About Box --------------------*/

#define kAboutStr    100    /* define the constant for the About box's string */

resource rAlertString (kAboutStr) 
{
 "\$30"                 /* we're using a custom sized box */
 "\$1E\$00"             /* top coord (v1) for custom sized box */
 "\$AA\$00"             /* left coord (h1) for custom sized box */
 "\$B0\$00"             /* bottom coord (v2) for custom sized box */
 "\$D6\$01"             /* right coord for (h2) custom sized box */
 "\$30"                 /* no icon in the window */
 "/"                    /* seperator character */
 TBEndOfLine            /* stick an extra blank line in there */
 TBEndOfLine            /* stick an extra blank line in there */
 TBCenterJust           /* center the text */
 TBStyleBold            /* turn on bold face */
 "rTutor.S16"           /* the first line of text */
 TBEndOfLine            /* mark the end of the line */
 TBEndOfLine            /* stick an extra blank line in there */
 TBStylePlain           /* turn off bold face */
 "The Rez tutorial application"    /* the next line of text */
 TBEndOfLine            /* mark the end of the line */
 TBEndOfLine            /* stick an extra blank line in there */
 TBStylePlain           /* turn off italics */
 TBForeColor            /* set foreground color to... */
 TBColor0               /* ...black */
 "written by:"          /* another line of text */
 TBEndOfLine            /* mark the end of the line */
 TBEndOfLine            /* stick an extra blank line in there */
 TBForeColor            /* set foreground color to... */
 TBColor1               /* ...red */
 "Tim Swihart"          /* the name of this app's author */
 TBEndOfLine            /* mark the end of the line */
 TBEndOfLine            /* stick an extra blank line in there */
 TBEndOfLine            /* stick an extra blank line in there */
 TBStylePlain           /* turn off bold face */
 TBForeColor            /* set foreground color to... */
 TBColor0               /* ...black */
 "Version 3.2"          /* last line of text */

 #ifdef doFirstWay   /* see the rTutor.make2 file for details */
 TBEndOfLine            /* stick an extra blank line in there */
 "This was built using the -a flag"
 #endif

 #ifdef doSecondWay  /* see the rTutor.make2 file for details */
 TBEndOfLine            /* stick an extra blank line in there */
 "This was built using INCLUDE"
 #endif

 "/"                    /* "/" is our seperator character */
 "^Thanks, Tim!"     /* "^" means make the button the "default" (tie it to */
               /* the RETURN key) - make the button's text be "Thanks, Tim!" */
 "\$00"        /* make sure the string is NULL terminated since we told */
               /* the window manager we would be using a C string */
};
