Remove code for splatting test data into new terminals, since we can do
[u/mdw/putty] / mac / mac_res.r
index 1884427..24f124c 100644 (file)
@@ -1,6 +1,6 @@
-/* $Id: mac_res.r,v 1.7 2002/12/30 23:14:11 ben Exp $ */
+/* $Id: mac_res.r,v 1.12 2003/01/12 01:25:34 ben Exp $ */
 /*
- * Copyright (c) 1999 Ben Harris
+ * Copyright (c) 1999, 2002 Ben Harris
  * All rights reserved.
  *
  * Permission is hereby granted, free of charge, to any person
@@ -36,6 +36,7 @@
 # include "Types.r"
 # include "Dialogs.r"
 # include "Palettes.r"
+# include "Script.r"
 
 /* Get resource IDs we share with C code */
 #include "macresid.h"
@@ -56,7 +57,7 @@ resource 'SIZE' (-1) {
     reserved,
     ignoreSuspendResumeEvents,
     reserved,
-    cannotBackground,
+    canBackground,
     needsActivateOnFGSwitch,
     backgroundAndForeground,
     dontGetFrontClicks,
@@ -351,7 +352,7 @@ resource 'vers' (1, purgeable) {
     development,
 #endif
     0, /* No prerelease version */
-    2, /* Region code 2 = UK */
+    verBritain,
 #ifdef RELEASESTR
     RELEASESTR,
     "Release " RELEASESTR,
@@ -375,7 +376,7 @@ resource 'vers' (2, purgeable) {
     development,
 #endif
     0, /* No prerelease version */
-    2, /* Region code 2 = UK */
+    verBritain,
 #ifdef RELEASESTR
     RELEASESTR,
     "PuTTY " RELEASESTR,
@@ -494,6 +495,32 @@ resource 'CNTL' (cVScroll, "vscroll", purgeable) {
     scrollBarProc, 0, ""
 };
 
+/* Settings dialogue */
+
+resource 'DLOG' (wSettings, "settings", purgeable) {
+    { 0, 0, 46, 240 },
+    noGrowDocProc,
+    invisible,
+    goAway,
+    wSettings,
+    wSettings,
+    "Settings",
+    staggerParentWindowScreen
+};
+
+resource 'dlgx' (wSettings, "settings", purgeable) {
+    versionZero {
+       kDialogFlagsUseThemeBackground | kDialogFlagsUseThemeControls
+    }
+};
+
+resource 'DITL' (wSettings, "settings", purgeable) {
+    {
+       { 13, 13, 33, 227 },
+       Button { enabled, "Open" },
+    }
+};        
+
 /* "About" box */
 
 resource 'DLOG' (wAbout, "about", purgeable) {
@@ -542,7 +569,7 @@ type 'TEXT' {
 };
 
 resource 'TEXT' (wLicence, "licence", purgeable) {
-    "PuTTY is copyright 1997-2001 Simon Tatham.\n"
+    "PuTTY is copyright 1997-2003 Simon Tatham.\n"
     "\n"
     "Portions copyright Robert de Bath, Joris van Rantwijk, Delian"
     "Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry,"
@@ -569,5 +596,3 @@ resource 'TEXT' (wLicence, "licence", purgeable) {
     "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE "
     "SOFTWARE."
 };
-
-read 'pTST' (128, "test data", purgeable) "fragment";