enabled,
"Session",
{
"New", noicon, "N", nomark, plain,
"Open\0xc9", noicon, "O", nomark, plain,
enabled,
"Session",
{
"New", noicon, "N", nomark, plain,
"Open\0xc9", noicon, "O", nomark, plain,
"-", noicon, nokey, nomark, plain,
"Close", noicon, "W", nomark, plain,
"Save", noicon, "S", nomark, plain,
"-", noicon, nokey, nomark, plain,
"Close", noicon, "W", nomark, plain,
"Save", noicon, "S", nomark, plain,
+/* 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"
+ }
+ }
+};
+
-resource 'dlgx' (wSettings, "settings", purgeable) {
- versionZero {
- kDialogFlagsUseThemeBackground | kDialogFlagsUseThemeControls
- }
-};
-
-resource 'DITL' (wSettings, "settings", purgeable) {
- {
- { 13, 13, 33, 227 },
- Button { enabled, "Open" },
- }
-};
-
"\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 "
+
+/* 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
+ }
+};