home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / 第1特集Plug-in / Photoshop / Plug-in_Kit_2.5.1.sit / Plug-in_Kit_2.5.1 / Code / HistoryExport.r < prev    next >
Text File  |  1993-04-28  |  2KB  |  84 lines

  1. /*
  2.     File: HistoryExport.r
  3.  
  4.     Copyright 1990-91 by Thomas Knoll.
  5.     Copyright 1992-93 by Adobe Systems, Inc.
  6.  
  7.     Rez source file for HistoryExport example.
  8. */
  9.  
  10. /* Plug-in module version number */
  11.  
  12. #include "PIGeneral.r"
  13.  
  14. resource 'PiMI' (17000, purgeable)
  15.     { latestExportVersion,
  16.       latestExportSubVersion,
  17.       0,
  18.       supportsGrayScale +
  19.           supportsRGBColor +
  20.         supportsCMYKColor +
  21.         supportsHSLColor +
  22.         supportsHSBColor +
  23.         supportsMultichannel +
  24.         supportsDuotone +
  25.         supportsLABColor,
  26.       '    ', /* No required host */
  27.       {},
  28.       {}
  29.      };
  30.  
  31. /* About dialog box */
  32.  
  33. resource 'DLOG' (17000, purgeable)
  34.     {
  35.     {0, 0, 130, 240},
  36.     dBoxProc,
  37.     visible,
  38.     noGoAway,
  39.     0x0,
  40.     17000,
  41.     ""
  42.     };
  43.  
  44. resource 'DITL' (17000, purgeable)
  45.     {
  46.         {
  47.         {-80, 0, -60, 60},      Button { enabled, "Hidden" },
  48.         {0, 0, 155, 280},      UserItem { enabled },
  49.         {10, 10, 26, 230},      StaticText { disabled, "HistoryExport" },
  50.         {36, 10, 52, 230},      StaticText { disabled, "ゥ 1990-93 Adobe Systems, Inc." },
  51.         {62, 10, 110, 230},   StaticText { disabled, "An example plug-in export "
  52.                                                      "module for Adobe Photoshopェ." }
  53.         }
  54.     };
  55.  
  56. /* History dialog box */
  57.  
  58. resource 'DLOG' (17001, purgeable)
  59.     {
  60.     {0, 0, 145, 230},
  61.     movableDBoxProc,
  62.     visible,
  63.     noGoAway,
  64.     0x0,
  65.     17001,
  66.     "History"
  67.     };
  68.  
  69. resource 'DITL' (17001, purgeable)
  70.     {
  71.         {
  72.         {15, 135, 35, 215},   Button { enabled, "OK" },
  73.         {45, 135, 65, 215},   Button { enabled, "Cancel" },
  74.         {80, 135, 100, 215},  Button { enabled, "Trim First" },
  75.         {110, 135, 130, 215}, Button { enabled, "Trim Last" },
  76.         {0, 0, 0, 0},          UserItem { disabled },
  77.         {17, 10, 33, 120},      StaticText { disabled, "^0" },
  78.         {37, 10, 53, 120},      StaticText { disabled, "^1" },
  79.         {57, 10, 73, 120},      StaticText { disabled, "^2" },
  80.         {77, 10, 93, 120},      StaticText { disabled, "^3" },
  81.         }
  82.     };
  83.  
  84.