home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / POSTSCPT / GSVIEW / SRC / OS2SETUP.RC < prev    next >
Encoding:
Text File  |  1996-01-10  |  4.9 KB  |  105 lines

  1. /* Copyright (C) 1993, 1994, 1995, Russell Lang.  All rights reserved.
  2.   
  3.   This file is part of GSview.
  4.   
  5.   This program is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the GSview Free Public Licence 
  9.   (the "Licence") for full details.
  10.   
  11.   Every copy of GSview must include a copy of the Licence, normally in a 
  12.   plain ASCII text file named LICENCE.  The Licence grants you the right 
  13.   to copy, modify and redistribute GSview, but only under certain conditions 
  14.   described in the Licence.  Among other things, the Licence requires that 
  15.   the copyright notice and this notice be preserved on all copies.
  16. */
  17. /* os2setup.rc */
  18. /* Resources for OS/2 installation program */
  19.  
  20. #include <os2.h>
  21. #include "setup.h"
  22.  
  23. #ifndef ES_ANY    /* emx08g doesn't define this */
  24. #define ES_ANY 0x00000000L
  25. #endif
  26.  
  27. /* POINTER ID_GSVIEW "gvpm.ico" */
  28.  
  29. DLGTEMPLATE IDD_INTRO 
  30. BEGIN
  31.     DIALOG "GSview Install - Introduction", IDD_INTRO, 18, 15, 231, 95, WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
  32.     BEGIN
  33.         DEFPUSHBUTTON "OK", DID_OK, 6, 4, 51, 14
  34.         PUSHBUTTON "Cancel", DID_CANCEL, 60, 4, 51, 14
  35.         CONTROL "Installation program for:\012    GSview 1.4\012    Aladdin Ghostscript 3.53", IDD_INTRO_T1, 6, 61, 200, 28, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
  36.         CONTROL "Before continuing installation, make sure you have the 4 disks listed in README.GV.", IDD_INTRO_T2, 6, 28, 213, 20, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
  37.     END
  38.  
  39. END
  40.  
  41.  
  42. DLGTEMPLATE IDD_COPYRIGHT 
  43. BEGIN
  44.     DIALOG "GSview Install - Copyright", IDD_COPYRIGHT, 12, 12, 260, 124, WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
  45.     BEGIN
  46.         DEFPUSHBUTTON "OK", DID_OK, 6, 4, 51, 14
  47.         PUSHBUTTON "Cancel", DID_CANCEL, 60, 4, 51, 14
  48.         CONTROL "GSview and Aladdin Ghostscript are separate programs.  They are owned by separate entities.", IDD_COPYRIGHT_T1, 8, 102, 236, 18, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
  49.         CONTROL "GSview:\012  Copyright (C) 1993-1995 Russell Lang.\012  All rights reserved.\012  See the file LICENCE for more details.", IDD_COPYRIGHT_T2, 8, 60, 240, 37, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
  50.         CONTROL "Aladdin Ghostscript:\012  Copyright (C) 1994, 1995 Aladdin Enterprises,\012  Menlo Park, California, U.S.A.  All rights reserved.\012  See the file PUBLIC for more details.", IDD_COPYRIGHT_T3, 8, 24, 240, 33, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
  51.     END
  52.  
  53. END
  54.  
  55.  
  56. DLGTEMPLATE IDD_DIR 
  57. BEGIN
  58.     DIALOG "GSview Install - Directory", IDD_DIR, 12, 12, 292, 113, WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
  59.     BEGIN
  60.         DEFPUSHBUTTON "OK", DID_OK, 6, 4, 51, 14
  61.         PUSHBUTTON "Cancel", DID_CANCEL, 60, 4, 51, 14
  62.         CONTROL "The base directory for GSview and Ghostscript is shown below.\012Within the base directory, GSview will be installed into the subdirectory 'gsview' and Ghostscript will be installed into the subdirectory 'gs3.53'.\012Change the base directory if you wish.", IDD_DIR_TEXT, 12, 51, 267, 51, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
  63.         CONTROL "", ID_ANSWER, 12, 32, 264, 12, WC_ENTRYFIELD, ES_LEFT | ES_AUTOSCROLL | ES_MARGIN | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP
  64.     END
  65.  
  66. END
  67.  
  68.  
  69. DLGTEMPLATE IDD_UNZIP 
  70. BEGIN
  71.     DIALOG "GSview Install", IDD_UNZIP, 12, 12, 110, 48, WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
  72.     BEGIN
  73.         DEFPUSHBUTTON "Cancel", DID_CANCEL, 6, 4, 51, 14
  74.         CONTROL "Unzipping files", IDD_UNZIP_TEXT, 8, 25, 86, 13, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
  75.     END
  76.  
  77. END
  78.  
  79. DLGTEMPLATE IDD_FILE 
  80. BEGIN
  81.     DIALOG "GSview Install - Missing ZIP file", IDD_FILE, 12, 12, 279, 61, WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
  82.     BEGIN
  83.         DEFPUSHBUTTON "OK", DID_OK, 6, 4, 51, 14
  84.         PUSHBUTTON "Cancel", DID_CANCEL, 60, 4, 51, 14
  85.         CONTROL "Can't find ZIP file.  Insert disk with the file below.", IDD_FILE_TEXT, 9, 42, 267, 10, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
  86.         CONTROL "", ID_ANSWER, 8, 26, 264, 12, WC_ENTRYFIELD, ES_LEFT | ES_AUTOSCROLL | ES_MARGIN | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP
  87.     END
  88.  
  89. END
  90.  
  91.  
  92.  
  93. DLGTEMPLATE IDD_CONFIG 
  94. BEGIN
  95.     DIALOG "GSview Install - Config", IDD_CONFIG, 12, 12, 215, 49, WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
  96.     BEGIN
  97.         DEFPUSHBUTTON "OK", DID_OK, 6, 4, 51, 14
  98.         PUSHBUTTON "Don't update config.sys", DID_CANCEL, 60, 4, 121, 14
  99.         CONTROL "Some changes will be made to your config.sys.\012Your old config.sys will be renamed config.gs.", IDD_CONFIG_TEXT, 8, 24, 198, 20, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
  100.     END
  101.  
  102. END
  103.  
  104.  
  105.