/* This file is part of TIFFlib Format, a File Format plugin for Adobe Photoshop Copyright (C) 2005-7 Toby Thain, toby@telegraphics.com.au This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define SystemSevenOrLater 1 #include "dialogs.r" #include "menus.r" #include "controls.r" #include "controldefinitions.r" #include "ui.h" #include "version.h" resource 'ALRT' (ID_ABOUTDLG, purgeable) { {0, 0, 264, 360}, ID_ABOUTDLG, silentStages, alertPositionMainScreen }; resource 'DITL' (ID_ABOUTDLG, purgeable) { { {16, 20, 80, 340}, StaticText { disabled, "TIFFlib Format " VERSION_STR "\n\n" "(C) 2005-7 Toby Thain .\n" "http://www.telegraphics.com.au/sw/\n" "Please contact the author with bug reports or comments.\n\n" }, {96, 20, 264, 340}, StaticText { disabled, "Uses libtiff: http://libtiff.maptools.org/\n" "(C) 1988-1997 Sam Leffler\n" "(C) 1991-1997 Silicon Graphics, Inc.\n\n" "Uses zlib: http://www.zlib.net/\n" "(C) 1995-2004 Jean-loup Gailly & Mark Adler.\n\n" "Uses the Independent JPEG Group's software: http://www.ijg.org/" }, } }; resource 'MENU' (ID_COMPMENU){ ID_COMPMENU,textMenuProc,~0,enabled,"",{ /* items are added on the fly, see ui.c */ } }; resource 'CNTL' (ID_COMPMENU){ {0,0,19,200},popupTitleLeftJust,visible,0,ID_COMPMENU,popupMenuCDEFproc,0,"" }; resource 'dlgx' (ID_COMPDLG, purgeable){ versionZero { kDialogFlagsUseThemeBackground } }; resource 'DLOG' (ID_COMPDLG, purgeable) { {0, 0, 131, 300}, dBoxProc, visible, noGoAway, 0x0, ID_COMPDLG, "TIFFlib Plugin", alertPositionMainScreen }; resource 'DITL' (ID_COMPDLG, purgeable) { { {95, 210, 115, 280}, Button { enabled,"OK" }, {95, 120, 115, 190}, Button { enabled,"Cancel" }, {16, 20, 32, 280}, StaticText { disabled,"TIFF Compression:" }, {45, 20, 64, 280}, control { enabled, ID_COMPMENU } } };