/* This file is part of PSPFormat, a File Format plugin for Adobe Photoshop Copyright (C) 2003-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 "types.r" #include "dialogs.r" #include "menus.r" #include "controls.r" #include "controldefinitions.r" #include "ui_defs.h" #include "version.h" resource 'alrx' (ID_ABOUTDLG, purgeable){ versionZero { 0,0,kUseThemeWindow,"" } }; resource 'ALRT' (ID_ABOUTDLG, purgeable) { {0, 0, 216, 360}, ID_ABOUTDLG, silentStages, alertPositionMainScreen }; resource 'DITL' (ID_ABOUTDLG, purgeable) { { {16, 20, 216, 340}, StaticText { disabled, "Paint Shop Pro Image File Format " VERSION_STR "\n\n" "(C) 2003-2010 Toby Thain .\n" "http://www.telegraphics.com.au/sw/\n\n" "Please contact the author with bug reports or comments.\n\n" "Uses zlib by Jean-loup Gailly & Mark Adler, http://www.zlib.org/" }, } }; resource 'alrx' (ID_ALERTDLG, purgeable){ versionZero { 0,0,kUseThemeWindow,"" } }; resource 'ALRT' (ID_ALERTDLG, purgeable) { {0, 0, 216, 360}, ID_ALERTDLG, silentStages, alertPositionMainScreen }; resource 'DITL' (ID_ALERTDLG, purgeable) { { {180, 270, 200, 340}, Button { enabled,"OK" }, { 64, 20, 176, 340}, StaticText { disabled,"^0" }, } }; resource 'dlgx' (ID_LAYERDLG, purgeable){ versionZero { kDialogFlagsUseThemeBackground } }; resource 'DLOG' (ID_LAYERDLG, purgeable) { {0, 0, 131, 300}, dBoxProc, visible, noGoAway, 0x0, ID_LAYERDLG, "Paint Shop Pro Format", alertPositionMainScreen }; resource 'DITL' (ID_LAYERDLG, purgeable) { { {95, 210, 115, 280}, Button { enabled,"OK" }, {95, 120, 115, 190}, Button { enabled,"Cancel" }, {16, 20, 48, 280}, StaticText { disabled,"Choose image layer in �%s�:" }, {56, 20, 75, 280}, control { enabled, ID_LAYERMENU } } }; resource 'dlgx' (ID_SAVEDLG, purgeable){ versionZero { kDialogFlagsUseThemeBackground } }; resource 'DLOG' (ID_SAVEDLG, purgeable) { {0, 0, 131, 365}, dBoxProc, visible, noGoAway, 0x0, ID_SAVEDLG, "Paint Shop Pro Format", alertPositionMainScreen }; resource 'DITL' (ID_SAVEDLG, purgeable) { { {95, 275, 115, 345}, Button { enabled,"OK" }, {95, 185, 115, 255}, Button { enabled,"Cancel" }, {16, 20, 48, 140}, StaticText { disabled,"Compatibility:" }, {16, 145, 35, 345}, control { enabled, ID_FORMATMENU }, {45, 20, 61, 140}, StaticText { disabled,"Compression:" }, {45, 145, 64, 345}, control { enabled, ID_COMPMENU } } }; resource 'MENU' (ID_LAYERMENU){ ID_LAYERMENU,textMenuProc,~0,enabled,"",{ } }; resource 'CNTL' (ID_LAYERMENU){ {0,0,19,180},popupTitleLeftJust,visible,0,ID_LAYERMENU,popupMenuCDEFproc,0,"" }; resource 'MENU' (ID_FORMATMENU){ ID_FORMATMENU,textMenuProc,~0,enabled,"",{ "Paint Shop Pro 5",noIcon,noKey,noMark,plain, "Paint Shop Pro 6, 7, 8, 9",noIcon,noKey,noMark,plain, } }; resource 'CNTL' (ID_FORMATMENU){ {0,0,19,200},popupTitleLeftJust,visible,0,ID_FORMATMENU,popupMenuCDEFproc,0,"" }; resource 'MENU' (ID_COMPMENU){ ID_COMPMENU,textMenuProc,~0,enabled,"",{ "None",noIcon,noKey,noMark,plain, "RLE",noIcon,noKey,noMark,plain, "LZ77",noIcon,noKey,noMark,plain, } }; resource 'CNTL' (ID_COMPMENU){ {0,0,19,200},popupTitleLeftJust,visible,0,ID_COMPMENU,popupMenuCDEFproc,0,"" };