/* This file is part of TIFFViewer Copyright (C) 2002 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 */ #include "types.r" #include "::common:tt:alert_box_defs.r" #include "version.h" #include "resource_ids.h" resource'MBAR'(MBAR_ID){{ 128, 129, 130 }}; resource'MENU'(128){ 1,textMenuProc,~0b10,enabled,apple,{ "About TIFF ViewerÉ",noIcon,noKey,noMark,plain, "-",noIcon,noKey,noMark,plain, } }; resource'MENU'(129){ 2,textMenuProc,~0b100,enabled,"File",{ "OpenÉ",noIcon,"O",noMark,plain, "Close",noIcon,"W",noMark,plain, #ifndef TARGET_CARBON "-",noIcon,noKey,noMark,plain, "Quit",noIcon,"Q",noMark,plain, #endif } }; resource'MENU'(130){ 3,textMenuProc,~0b1100010000,enabled,"Page",{ "First",noIcon,noKey,noMark,plain, "Previous",noIcon,"[",noMark,plain, "Next",noIcon,"]",noMark,plain, "Last",noIcon,noKey,noMark,plain, "-",noIcon,noKey,noMark,plain, "Zoom In",noIcon,"=",noMark,plain, "Zoom Out",noIcon,"-",noMark,plain, "Fit",noIcon,"0",noMark,plain, "-",noIcon,noKey,noMark,plain, "Anti-aliasing:",noIcon,noKey,noMark,plain, "1x1 (None, fastest)",noIcon,"1",noMark,plain, "2x2",noIcon,"2",noMark,plain, "3x3",noIcon,"3",noMark,plain, "4x4 (Best, slowest)",noIcon,"4",noMark,plain, } }; resource 'WIND' (WINDOW_ID){ {40,5,140,205},zoomDocProc,invisible,goAway,0,"" #ifdef WIND_RezTemplateVersion ,noAutoCenter #endif }; resource 'CNTL' (SCROLLBAR_ID){ {0,0,0,0},0,visible,0,0,kControlScrollBarLiveProc,0,"" }; resource 'ALRT' (MSG_ALRT){ /* stop */ {0,0,AlertHeight,AlertWidth},MSG_ALRT, {OK,visible,sound1, OK,visible,sound1, OK,visible,sound1, OK,visible,sound1} #ifdef ALRT_RezTemplateVersion ,alertPositionMainScreen #endif }; resource 'DITL' (MSG_ALRT){{ {ButtonTop,ActionButtonLeft,ButtonBottom,ActionButtonRight},Button{enabled,"OK"}, {TextTop,TextLeft,TextBottom,TextRight},StaticText{disabled,"^0"} }}; resource 'ALRT' (ABOUT_ALRT){ {0,0,AlertHeight+100,AlertWidth},ABOUT_ALRT, {OK,visible,sound1, OK,visible,sound1, OK,visible,sound1, OK,visible,sound1} #ifdef ALRT_RezTemplateVersion ,alertPositionMainScreen #endif }; resource 'DITL' (ABOUT_ALRT){{ {ButtonTop+100,ActionButtonLeft,ButtonBottom+100,ActionButtonRight},Button{enabled,"OK"}, {TextTop,TextLeft,TextBottom+100,TextRight}, StaticText{ disabled, "TIFF Viewer " VERSION_STR "\n" "Copyright (C) 2003-6 Toby Thain, Telegraphics Pty Ltd.\n" "Bug reports or comments to support@telegraphics.com.au\n" "libtiff (C) 1988-1997 Sam Leffler, (C) 1991-1997 Silicon Graphics, Inc.\n" "zlib (C) 1995-2005 Jean-loup Gailly & Mark Adler" } }}; resource 'SIZE' (-1){ reserved, acceptSuspendResumeEvents, reserved, canBackground, needsActivateOnFGSwitch, backgroundAndForeground, dontGetFrontClicks, ignoreAppDiedEvents, is32BitCompatible, isHighLevelEventAware, localAndRemoteHLEvents, notStationeryAware, dontUseTextEditServices, reserved, reserved, reserved, 8192<<10,1024<<10 }; resource 'FREF' (128){'APPL', 0, ""}; resource 'FREF' (129){'TIFF', 1, ""}; resource 'BNDL' (128){ 'TIFV', 0, { /* 'ICN#', {0,128, 1,129, 2,130, 3,131, 4,133, 5,134},*/ 'FREF', { 0,128, 1,129 } } }; type 'TIFV' as 'STR '; resource 'TIFV' (0) { "TIFF Viewer Copyright (C) 2003-6 Toby Thain http://www.telegraphics.com.au/ support@telegraphics.com.au" }; resource 'vers' (1){ VERS_RSRC #ifdef PLATFORM " " PLATFORM #endif };