]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - mac/mac_res.r
Update faq-bce further for changes in 0.54.
[PuTTY.git] / mac / mac_res.r
index 78071c72aa245abfa40062ed9d39f74f8e668cb7..b0e4fb24e516bdc610d74894451a0cd4fc1bc376 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mac_res.r,v 1.29 2003/02/27 23:21:23 ben Exp $ */
+/* $Id$ */
 /*
  * Copyright (c) 1999, 2002, 2003 Ben Harris
  * All rights reserved.
 /*
  * Copyright (c) 1999, 2002, 2003 Ben Harris
  * All rights reserved.
@@ -72,8 +72,8 @@ resource 'SIZE' (-1) {
     reserved,
     reserved,
     reserved,
     reserved,
     reserved,
     reserved,
+    2048 * 1024,       /* Preferred size */
     1024 * 1024,       /* Minimum size */
     1024 * 1024,       /* Minimum size */
-    1024 * 1024,       /* Preferred size */
 };
 
 #define FREF_APPL 128
 };
 
 #define FREF_APPL 128
@@ -971,6 +971,38 @@ resource 'DITL' (wFatal, "fatalbox", purgeable) {
        }
 };
 
        }
 };
 
+/* Caution box.  Stolen from the Finder. */
+
+resource 'ALRT' (wQuestion, "questionbox", purgeable) {
+       {54, 67, 152, 435},
+       wQuestion,
+       beepStages,
+       alertPositionMainScreen
+};
+
+resource 'DITL' (wQuestion, "fatalbox", purgeable) {
+       {       /* array DITLarray: 3 elements */
+               /* [1] */
+               {68, 299, 88, 358},
+               Button {
+                       enabled,
+                       "OK"
+               },
+               /* [2] */
+               {68, 227, 88, 286},
+               Button {
+                       enabled,
+                       "Cancel"
+               },
+               /* [3] */
+               {7, 74, 55, 358},
+               StaticText {
+                       disabled,
+                       "^0"
+               }
+       }
+};
+
 /* Terminal window */
 
 resource 'WIND' (wTerminal, "terminal", purgeable) {
 /* Terminal window */
 
 resource 'WIND' (wTerminal, "terminal", purgeable) {
@@ -991,30 +1023,16 @@ resource 'CNTL' (cVScroll, "vscroll", purgeable) {
 
 /* Settings dialogue */
 
 
 /* Settings dialogue */
 
-resource 'DLOG' (wSettings, "settings", purgeable) {
-    { 0, 0, 46, 240 },
+resource 'WIND' (wSettings, "settings", purgeable) {
+    { 0, 0, 432, 626 },
     noGrowDocProc,
     invisible,
     goAway,
     noGrowDocProc,
     invisible,
     goAway,
-    wSettings,
-    wSettings,
-    "Settings",
+    0x0,
+    "untitled",
     staggerParentWindowScreen
 };
 
     staggerParentWindowScreen
 };
 
-resource 'dlgx' (wSettings, "settings", purgeable) {
-    versionZero {
-       kDialogFlagsUseThemeBackground | kDialogFlagsUseThemeControls
-    }
-};
-
-resource 'DITL' (wSettings, "settings", purgeable) {
-    {
-       { 13, 13, 33, 227 },
-       Button { enabled, "Open" },
-    }
-};        
-
 /* Event log */
 resource 'WIND' (wEventLog, "event log", purgeable) {
     { 0, 0, 200, 200 },
 /* Event log */
 resource 'WIND' (wEventLog, "event log", purgeable) {
     { 0, 0, 200, 200 },
@@ -1074,11 +1092,11 @@ type 'TEXT' {
 };
 
 resource 'TEXT' (wLicence, "licence", purgeable) {
 };
 
 resource 'TEXT' (wLicence, "licence", purgeable) {
-    "PuTTY is copyright 1997-2003 Simon Tatham.\n"
+    "PuTTY is copyright 1997-2005 Simon Tatham.\n"
     "\n"
     "Portions copyright Robert de Bath, Joris van Rantwijk, Delian"
     "Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry,"
     "\n"
     "Portions copyright Robert de Bath, Joris van Rantwijk, Delian"
     "Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry,"
-    "Justin Bradford, Ben Harris, and CORE SDI S.A.\n"
+    "Justin Bradford, Ben Harris, Malcolm Smith, and CORE SDI S.A.\n"
     "\n"    
     "Permission is hereby granted, free of charge, to any person "
     "obtaining a copy of this software and associated documentation "
     "\n"    
     "Permission is hereby granted, free of charge, to any person "
     "obtaining a copy of this software and associated documentation "
@@ -1101,3 +1119,28 @@ resource 'TEXT' (wLicence, "licence", purgeable) {
     "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE "
     "SOFTWARE."
 };
     "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE "
     "SOFTWARE."
 };
+
+/* Custom xDEFs */
+
+data 'CDEF' (CDEF_EditBox) {
+    $"4EF9 00000000"
+};
+data 'CDEF' (CDEF_Default) {
+    $"4EF9 00000000"
+};
+data 'CDEF' (CDEF_ListBox) {
+    $"4EF9 00000000"
+};
+
+/* List box template */
+
+resource 'ldes' (ldes_Default) {
+    versionZero {
+       0, /* rows */
+       1, /* cols */
+       0, 0, /* default cell size */
+       hasVertScroll, noHorizScroll,
+       0, /* LDEF number */
+       noGrowSpace
+    }
+};
\ No newline at end of file