/* This file is part of "scramble", a filter plugin for Adobe Photoshop Copyright (C) 2006-2011 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 "controls.r" #include "ControlDefinitions.r" #include "ui_defs.h" #include "version.h" resource 'dlgx' (ID_TILEDLG, purgeable){ versionZero { kDialogFlagsUseThemeBackground } }; resource 'DLOG' (ID_TILEDLG, purgeable) { {0, 0, 152, 320}, dBoxProc, visible, noGoAway, 0x0, ID_TILEDLG, "Scramble", alertPositionMainScreen }; resource 'DITL' (ID_TILEDLG, purgeable) { { /* t,l,b,r */ {116, 230, 136, 300}, Button { enabled, "OK" }, {116, 140, 136, 210}, Button { enabled, "Cancel" }, { 24, 20, 40, 140}, StaticText { disabled, "Tile width (pixels):" }, { 24, 150, 40, 200}, EditText { disabled, "" }, { 56, 20, 72, 140}, StaticText { disabled, "Tile height (pixels):" }, { 56, 150, 72, 200}, EditText { disabled, "" }, } }; resource 'ALRT' (ID_ABOUTDLG, purgeable) { {0, 0, 216, 360}, ID_ABOUTDLG, silentStages, alertPositionMainScreen }; resource 'DITL' (ID_ABOUTDLG, purgeable) { { {16, 20, 80, 340}, StaticText { disabled, "Scramble, version " VERSION_STR "\n(C) 2006-2011 Toby Thain ." "\nLatest version available from\nhttp://www.telegraphics.com.au/sw/" }, {88, 20, 200, 340}, StaticText { disabled, "Please contact the author with any bug reports, suggestions or comments." } } };