1/* Copyright (C) 1999, 2000, Ghostgum Software Pty Ltd. All rights reserved. 2 3 This software is provided AS-IS with no warranty, either express or 4 implied. 5 6 This software is distributed under license and may not be copied, 7 modified or distributed except as expressly authorized under the terms 8 of the license contained in the file LICENSE in this distribution. 9 10 For more information about licensing, please refer to 11 http://www.ghostscript.com/licensing/. For information on 12 commercial licensing, go to http://www.artifex.com/licensing/ or 13 contact Artifex Software, Inc., 101 Lucas Valley Road #110, 14 San Rafael, CA 94903, U.S.A., +1(415)492-9861. 15*/ 16 17 18// $Id: dwsetup.rc,v 1.14 2005/04/12 22:05:40 giles Exp $ 19 20#include <windows.h> 21#include "dwsetup.h" 22 23#ifndef DS_3DLOOK 24#define DS_3DLOOK 0x0004L /* for Windows 95 look */ 25#endif 26 27///////////////////////////////////////////////////////////////////////////// 28// 29// Dialog 30// 31 32IDD_MAIN DIALOG 32, 32, 300, 200 33STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP /* | WS_VISIBLE */ | WS_CAPTION | WS_SYSMENU 34CAPTION "AFPL Ghostscript Setup" 35FONT 8, "MS Sans Serif" 36BEGIN 37 DEFPUSHBUTTON "Install",IDC_INSTALL,240,178,50,14 38 ICON IDR_MAIN,IDC_STATIC,11,17,20,20 39 LTEXT "This installs",IDC_STATIC,56,6,232,8 40 LTEXT "Product Name",IDC_PRODUCT_NAME,72,16,216,8 41 LTEXT "Copyright (C) 1994-2005 artofcode LLC, Benicia, California, U.S.A. All rights reserved.\n\nRequires 25 Mbytes disk space.", 42 IDC_COPYRIGHT,56,30,232,40 43 44 LTEXT "Install to directory",IDC_STATIC,8,72,56,8 45 EDITTEXT IDC_TARGET_DIR,8,84,220,12,ES_AUTOHSCROLL 46 PUSHBUTTON "Browse...",IDC_BROWSE_DIR,240,83,50,14 47 48 LTEXT "Add shortcuts to",IDC_STATIC,8,112,52,8 49 CONTROL "All Users",IDC_ALLUSERS,"Button", 50 BS_AUTOCHECKBOX | WS_TABSTOP,160,110,44,10 51 EDITTEXT IDC_TARGET_GROUP,8,124,220,12,ES_AUTOHSCROLL 52 PUSHBUTTON "Browse...",IDC_BROWSE_GROUP,240,123,50,14 53 54 CONTROL "Install Ghostscript Fonts",IDC_INSTALL_FONTS,"Button", 55 BS_AUTOCHECKBOX | WS_TABSTOP,8,142,220,12 56 CONTROL "Use Windows TrueType fonts for Chinese, Japanese and Korean",IDC_CJK_FONTS,"Button", 57 BS_AUTOCHECKBOX | WS_TABSTOP,8,156,220,12 58 59 PUSHBUTTON "Cancel",IDCANCEL,8,178,50,14 60 PUSHBUTTON "Help",IDC_README,124,178,50,14 61END 62 63 64 65IDD_TEXTWIN DIALOG DISCARDABLE 0, 0, 318, 169 66STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU 67CAPTION "AFPL Ghostscript setup log" 68FONT 8, "MS Sans Serif" 69BEGIN 70 PUSHBUTTON "Cancel",IDCANCEL,261,148,50,14 71 EDITTEXT IDC_TEXTWIN_MLE,7,7,304,136,ES_MULTILINE | ES_WANTRETURN | 72 WS_VSCROLL | WS_HSCROLL 73 PUSHBUTTON "Copy to Clipboard",IDC_TEXTWIN_COPY,7,148,84,14 74END 75 76IDD_DIRDLG DIALOG DISCARDABLE 0, 0, 273, 140 77STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU 78CAPTION "Select Folder" 79FONT 8, "MS Sans Serif" 80BEGIN 81 DEFPUSHBUTTON "OK",IDOK,216,7,50,14 82 PUSHBUTTON "Cancel",IDCANCEL,216,24,50,14 83 LISTBOX IDC_FILES,7,7,197,70,LBS_SORT | LBS_NOINTEGRALHEIGHT | 84 WS_VSCROLL | WS_TABSTOP 85 LTEXT "Folder",IDC_FOLDER,7,82,259,12 86 LTEXT "Destination Folder",IDC_STATIC,7,105,259,12 87 EDITTEXT IDC_TARGET,7,120,259,12,ES_AUTOHSCROLL 88END 89 90 91 92///////////////////////////////////////////////////////////////////////////// 93// 94// Icon 95// 96 97// Icon with lowest ID value placed first to ensure application icon 98// remains consistent on all systems. 99IDR_MAIN ICON DISCARDABLE "gswin.ico" 100 101///////////////////////////////////////////////////////////////////////////// 102// 103// DESIGNINFO 104// 105 106#ifdef APSTUDIO_INVOKED 107GUIDELINES DESIGNINFO DISCARDABLE 108BEGIN 109 IDD_MAIN, DIALOG 110 BEGIN 111 LEFTMARGIN, 8 112 RIGHTMARGIN, 288 113 TOPMARGIN, 6 114 BOTTOMMARGIN, 192 115 END 116 IDD_TEXTWIN, DIALOG 117 BEGIN 118 LEFTMARGIN, 7 119 RIGHTMARGIN, 311 120 TOPMARGIN, 7 121 BOTTOMMARGIN, 162 122 END 123 124 IDD_DIRDLG, DIALOG 125 BEGIN 126 LEFTMARGIN, 7 127 RIGHTMARGIN, 266 128 TOPMARGIN, 7 129 BOTTOMMARGIN, 133 130 END 131END 132#endif // APSTUDIO_INVOKED 133 134 135///////////////////////////////////////////////////////////////////////////// 136// 137// String Table 138// 139 140STRINGTABLE DISCARDABLE 141BEGIN 142 IDS_APPNAME "AFPL Ghostscript Setup" 143 IDS_TARGET_DIR "gs" 144 IDS_TARGET_GROUP "Ghostscript" 145END 146 147///////////////////////////////////////////////////////////////////////////// 148 149 150 151