home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / programs / develop / gadtoolsbox / gengtxsource / source / sourcestrings.c < prev    next >
C/C++ Source or Header  |  1995-02-27  |  4KB  |  141 lines

  1. /*
  2. **      $Filename: SourceStrings.c $
  3. **      $Release: 1.0 $
  4. **      $Revision: 38.1 $
  5. **
  6. **      Strings used in the source output.
  7. **
  8. **      (C) Copyright 1992 Jaba Development.
  9. **          Written by Jan van den Baard
  10. **/
  11.  
  12. #include "GenGTXSource.h"
  13.  
  14. /*
  15.  *      Exported symbols.
  16.  */
  17. Prototype UBYTE                     *GadgetKinds[];
  18. Prototype UBYTE                     *GadToolsIDCMP[];
  19. Prototype UBYTE                     *GadToolsMenus[];
  20. Prototype UBYTE                     *MainHeader;
  21. Prototype UBYTE                     *HeaderDefs;
  22. Prototype UBYTE                     *FixedRoutines;
  23. Prototype UBYTE                     *Includes;
  24. Prototype UBYTE                     *Static;
  25. Prototype UBYTE                     *Pragmas;
  26. Prototype UBYTE                     *AztecPragmas;
  27. Prototype UBYTE                     *Includes;
  28.  
  29. /*
  30.  *      Gadget kind constants.
  31.  */
  32. UBYTE *GadgetKinds[] = {
  33.     "GENERIC_KIND",
  34.     "BUTTON_KIND",
  35.     "CHECKBOX_KIND",
  36.     "INTEGER_KIND",
  37.     "LISTVIEW_KIND",
  38.     "MX_KIND",
  39.     "NUMBER_KIND",
  40.     "CYCLE_KIND",
  41.     "PALETTE_KIND",
  42.     "SCROLLER_KIND",
  43.     "RESERVED_KIND",
  44.     "SLIDER_KIND",
  45.     "STRING_KIND",
  46.     "TEXT_KIND"
  47. };
  48.  
  49. /*
  50.  *      GadTools IDCMP constants.
  51.  */
  52. UBYTE *GadToolsIDCMP[] = {
  53.     "IDCMP_GADGETUP",
  54.     "BUTTONIDCMP",
  55.     "CHECKBOXIDCMP",
  56.     "INTEGERIDCMP",
  57.     "LISTVIEWIDCMP",
  58.     "MXIDCMP",
  59.     "NUMBERIDCMP",
  60.     "CYCLEIDCMP",
  61.     "PALETTEIDCMP",
  62.     "SCROLLERIDCMP",
  63.     "RESERVEDIDCMP",
  64.     "SLIDERIDCMP",
  65.     "STRINGIDCMP",
  66.     "TEXTIDCMP"
  67. };
  68.  
  69. /*
  70.  *      GadTools menu types.
  71.  */
  72. UBYTE *GadToolsMenus[] = {
  73.     "NM_END",
  74.     "NM_TITLE",
  75.     "NM_ITEM",
  76.     "NM_SUB"
  77. };
  78.  
  79. /*
  80.  *      Source headers.
  81.  */
  82. UBYTE *MainHeader =
  83.     "/*\n"\
  84.     " *      Source machine generated by GenGTXSource v1.0\n"\
  85.     " *      which is (C) Copyright 1992 Jaba Development\n"\
  86.     " *\n"\
  87.     " *      GUI designed by : %s\n"\
  88.     " */\n\n";
  89.  
  90. /*
  91.  *      Miscellanious.
  92.  */
  93. UBYTE *Static =
  94.     "static ";
  95.  
  96. /*
  97.  *      Headers.
  98.  */
  99. UBYTE *Includes =
  100.     "#include <exec/types.h>\n"\
  101.     "#include <intuition/intuition.h>\n"\
  102.     "#include <intuition/classes.h>\n"\
  103.     "#include <intuition/classusr.h>\n"\
  104.     "#include <intuition/imageclass.h>\n"\
  105.     "#include <intuition/gadgetclass.h>\n"\
  106.     "#include <libraries/gadtools.h>\n"\
  107.     "#include <libraries/locale.h>\n"\
  108.     "#include <graphics/displayinfo.h>\n"\
  109.     "#include <graphics/gfxbase.h>\n"\
  110.     "#include <graphics/gfxmacros.h>\n"\
  111.     "#include <gadtoolsbox/hotkey.h>\n"\
  112.     "#include <clib/exec_protos.h>\n"\
  113.     "#include <clib/intuition_protos.h>\n"\
  114.     "#include <clib/gadtools_protos.h>\n"\
  115.     "#include <clib/locale_protos.h>\n"\
  116.     "#include <clib/graphics_protos.h>\n"\
  117.     "#include <clib/utility_protos.h>\n"\
  118.     "#include <clib/gtx_protos.h>\n"\
  119.     "#include <clib/diskfont_protos.h>\n"\
  120.     "#include <string.h>\n\n";
  121.  
  122. UBYTE *Pragmas =
  123.     "#include <pragmas/exec_pragmas.h>\n"\
  124.     "#include <pragmas/intuition_pragmas.h>\n"\
  125.     "#include <pragmas/gadtools_pragmas.h>\n"\
  126.     "#include <pragmas/locale_pragmas.h>\n"\
  127.     "#include <pragmas/graphics_pragmas.h>\n"\
  128.     "#include <pragmas/utility_pragmas.h>\n"\
  129.     "#include <pragmas/diskfont_pragmas.h>\n"\
  130.     "#include <pragmas/gtx_pragmas.h>\n\n";
  131.  
  132. UBYTE *AztecPragmas =
  133.     "#include <pragmas/exec_lib.h>\n"\
  134.     "#include <pragmas/intuition_lib.h>\n"\
  135.     "#include <pragmas/gadtools_lib.h>\n"\
  136.     "#include <pragmas/locale_lib.h>\n"\
  137.     "#include <pragmas/graphics_lib.h>\n"\
  138.     "#include <pragmas/utility_lib.h>\n"\
  139.     "#include <pragmas/diskfont_lib.h>\n"\
  140.     "#include <pragmas/gtx_lib.h>\n\n";
  141.