/* File: DummyScan.r Copyright 1990-91 by Thomas Knoll. Copyright 1992-93 by Adobe Systems, Inc. Rez source file for DummyScan example. */ /* Plug-in module version number */ #include "PIGeneral.r" resource 'PiMI' (16000, purgeable) { latestAcquireVersion, latestAcquireSubVersion, 0, supportsBitmap + supportsGrayScale + supportsIndexedColor + supportsRGBColor, ' ', /* No required host */ {}, {} }; /* About dialog box */ resource 'DLOG' (16000, purgeable) { {0, 0, 130, 200}, dBoxProc, visible, noGoAway, 0x0, 16000, "" }; resource 'DITL' (16000, purgeable) { { {-80, 0, -60, 60}, Button { enabled, "Hidden" }, {0, 0, 130, 200}, UserItem { enabled }, {10, 10, 26, 190}, StaticText { disabled, "DummyScan" }, {36, 10, 52, 190}, StaticText { disabled, "© 1990-93 Adobe Systems, Inc." }, {62, 10, 110, 190}, StaticText { disabled, "An example plug-in image " "acquisition module " "for Adobe Photoshopª." } } }; /* Parameters dialog box */ resource 'DLOG' (16001, purgeable) { {0, 0, 170, 280}, movableDBoxProc, visible, noGoAway, 0x0, 16001, "DummyScan" }; resource 'DITL' (16001, purgeable) { { {15, 205, 35, 265}, Button { enabled, "OK" }, {45, 205, 65, 265}, Button { enabled, "Cancel" }, {0, 0, 0, 0}, UserItem { disabled }, {10, 90, 26, 135}, EditText { disabled, "" }, {36, 90, 52, 135}, EditText { disabled, "" }, {62, 90, 78, 135}, EditText { disabled, "" }, {90, 30, 106, 150}, RadioButton { enabled, "Bitmap" }, {106, 30, 122, 150}, RadioButton { enabled, "Gray Scale" }, {122, 30, 138, 150}, RadioButton { enabled, "Indexed Color" }, {138, 30, 154, 150}, RadioButton { enabled, "RGB Color" }, {10, 26, 26, 85}, StaticText { disabled, "Images:" }, {36, 40, 52, 85}, StaticText { disabled, "Rows:" }, {62, 20, 78, 85}, StaticText { disabled, "Columns:" } } };