-#include <Types.r>
-
-#if UNIVERSAL_INTERFACES_VERSION > 0x320
- #include <ControlDefinitions.r>
+#ifdef __UNIX__
+ #include <Carbon.r>
+#else
+ #include <Types.r>
+ #if UNIVERSAL_INTERFACES_VERSION > 0x320
+ #include <ControlDefinitions.r>
+ #endif
#endif
-#define kMacOKAlertResourceID 128
-#define kMacYesNoAlertResourceID 129
-#define kMacYesNoCancelAlertResourceID 130
-#define kMacNoYesAlertResourceID 131
-#define kMacNoYesCancelAlertResourceID 132
-
-resource 'ALRT' (kMacOKAlertResourceID, purgeable) {
- {70, 50, 198, 470},
- kMacOKAlertResourceID,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- },
- noAutoCenter
-};
-
-resource 'ALRT' (kMacYesNoAlertResourceID, purgeable) {
- {70, 50, 198, 470},
- kMacYesNoAlertResourceID,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- },
- noAutoCenter
-};
-
-resource 'ALRT' (kMacYesNoAlertResourceID + 10, purgeable) {
- {70, 50, 198, 470},
- kMacYesNoAlertResourceID + 10,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- },
- noAutoCenter
-};
-
-resource 'ALRT' (kMacYesNoAlertResourceID + 20, purgeable) {
- {70, 50, 198, 470},
- kMacYesNoAlertResourceID + 20,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- },
- noAutoCenter
-};
-
-resource 'ALRT' (kMacYesNoCancelAlertResourceID, purgeable) {
- {70, 50, 198, 470},
- 130,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- },
- noAutoCenter
-};
-
-resource 'ALRT' (kMacNoYesAlertResourceID, purgeable) {
- {70, 50, 198, 470},
- 131,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- },
- noAutoCenter
-};
-
-resource 'ALRT' (kMacNoYesCancelAlertResourceID, purgeable) {
- {70, 50, 198, 470},
- 132,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- },
- noAutoCenter
-};
-
-resource 'DITL' (kMacOKAlertResourceID, purgeable) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {100, 340, 120, 408},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {38, 64, 88, 408},
- StaticText {
- disabled,
- "^1"
- },
- /* [3] */
- {10, 64, 30, 412},
- StaticText {
- disabled,
- "^0"
- }
- }
-};
-
-resource 'DITL' (kMacYesNoAlertResourceID, purgeable) {
- { /* array DITLarray: 4 elements */
- /* [1] */
- {100, 340, 120, 408},
- Button {
- enabled,
- "Ja"
- },
- /* [2] */
- {100, 260, 120, 324},
- Button {
- enabled,
- "Nein"
- },
- /* [3] */
- {38, 64, 88, 408},
- StaticText {
- disabled,
- "^1"
- },
- /* [4] */
- {10, 64, 30, 412},
- StaticText {
- disabled,
- "^0"
- }
- }
-};
-
-resource 'DITL' (kMacYesNoAlertResourceID + 10, purgeable) {
- { /* array DITLarray: 4 elements */
- /* [1] */
- {100, 340, 120, 408},
- Button {
- enabled,
- "Oui"
- },
- /* [2] */
- {100, 260, 120, 324},
- Button {
- enabled,
- "Non"
- },
- /* [3] */
- {38, 64, 88, 408},
- StaticText {
- disabled,
- "^1"
- },
- /* [4] */
- {10, 64, 30, 412},
- StaticText {
- disabled,
- "^0"
- }
- }
-};
-
-resource 'DITL' (kMacYesNoAlertResourceID + 20, purgeable) {
- { /* array DITLarray: 4 elements */
- /* [1] */
- {100, 340, 120, 408},
- Button {
- enabled,
- "Si"
- },
- /* [2] */
- {100, 260, 120, 324},
- Button {
- enabled,
- "No"
- },
- /* [3] */
- {38, 64, 88, 408},
- StaticText {
- disabled,
- "^1"
- },
- /* [4] */
- {10, 64, 30, 412},
- StaticText {
- disabled,
- "^0"
- }
- }
-};
-
-resource 'DITL' (kMacYesNoCancelAlertResourceID, purgeable) {
- { /* array DITLarray: 5 elements */
- /* [1] */
- {100, 340, 120, 408},
- Button {
- enabled,
- "Yes"
- },
- /* [2] */
- {100, 260, 120, 324},
- Button {
- enabled,
- "No"
- },
- /* [3] */
- {100, 65, 120, 145},
- Button {
- enabled,
- "Cancel"
- },
- /* [4] */
- {38, 64, 88, 408},
- StaticText {
- disabled,
- "^1"
- },
- /* [5] */
- {10, 64, 30, 412},
- StaticText {
- disabled,
- "^0"
- }
- }
-};
-
-resource 'DITL' (kMacNoYesAlertResourceID, purgeable) {
- { /* array DITLarray: 4 elements */
- /* [1] */
- {100, 340, 120, 408},
- Button {
- enabled,
- "No"
- },
- /* [2] */
- {100, 260, 120, 324},
- Button {
- enabled,
- "Yes"
- },
- /* [3] */
- {38, 64, 88, 408},
- StaticText {
- disabled,
- "^1"
- },
- /* [4] */
- {10, 64, 30, 412},
- StaticText {
- disabled,
- "^0"
- }
- }
-};
-
-resource 'DITL' (kMacNoYesCancelAlertResourceID, purgeable) {
- { /* array DITLarray: 5 elements */
- /* [1] */
- {100, 340, 120, 408},
- Button {
- enabled,
- "No"
- },
- /* [2] */
- {100, 260, 120, 324},
- Button {
- enabled,
- "Yes"
- },
- /* [3] */
- {100, 65, 120, 145},
- Button {
- enabled,
- "Cancel"
- },
- /* [4] */
- {38, 64, 88, 408},
- StaticText {
- disabled,
- "^1"
- },
- /* [5] */
- {10, 64, 30, 412},
- StaticText {
- disabled,
- "^0"
- }
- }
-};
-
-data 'DLGX' (128) {
- $"0743 6869 6361 676F 0000 0000 0000 0000" /* .Chicago........ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"000C 0000 0000 0001 0004 0004 0000 0000" /* ................ */
- $"0003 0002 0000 0000 0000 0000 0000 0006" /* ................ */
- $"0000 0000 0000 0000 0000 0006 0000 0000" /* ................ */
- $"0000 0000 0000" /* ...... */
-};
-
-data 'DLGX' (129) {
- $"0743 6869 6361 676F 0000 0000 0000 0000" /* .Chicago........ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"000C 0000 0000 0001 0004 0004 0000 0000" /* ................ */
- $"0004 0002 0000 0000 0000 0000 0000 0002" /* ................ */
- $"0000 0000 0000 0000 0000 0006 0000 0000" /* ................ */
- $"0000 0000 0000 0006 0000 0000 0000 0000" /* ................ */
- $"0000" /* .. */
-};
-
-data 'DLGX' (131) {
- $"0743 6869 6361 676F 0000 0000 0000 0000" /* .Chicago........ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"000C 0000 0000 0001 0004 0004 0000 0000" /* ................ */
- $"0004 0002 0000 0000 0000 0000 0000 0002" /* ................ */
- $"0000 0000 0000 0000 0000 0006 0000 0000" /* ................ */
- $"0000 0000 0000 0006 0000 0000 0000 0000" /* ................ */
- $"0000" /* .. */
-};
-
-data 'DLGX' (132) {
- $"0743 6869 6361 676F 0000 0000 0000 0000" /* .Chicago........ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
- $"000C 0000 0000 0001 0004 0004 0000 0000" /* ................ */
- $"0005 0002 0000 0000 0000 0000 0000 0002" /* ................ */
- $"0000 0000 0000 0000 0000 0002 0000 0000" /* ................ */
- $"0000 0000 0000 0006 0000 0000 0000 0000" /* ................ */
- $"0000 0006 0000 0000 0000 0000 0000" /* .............. */
-};
-
resource 'ldes' ( 128 )
{
versionZero
0 ,
hasVertScroll ,
noHorizScroll ,
- 128 ,
+ 0 ,
+ noGrowSpace ,
+ }
+} ;
+
+resource 'ldes' ( 129 )
+{
+ versionZero
+ {
+ 0 ,
+ 0 ,
+ 0 ,
+ 0 ,
+ hasVertScroll ,
+ hasHorizScroll ,
+ 0 ,
noGrowSpace ,
}
} ;
-resource 'CURS' (9, "Hand") {
- $"01 80 1A 70 26 48 26 4A 12 4D 12 49 68 09 98 01"
- $"88 02 40 02 20 02 20 04 10 04 08 08 04 08 04 08",
- $"01 80 1B F0 3F F8 3F FA 1F FF 1F FF 7F FF FF FF"
- $"FF FE 7F FE 3F FE 3F FC 1F FC 0F F8 07 F8 07 F8",
- {9, 8}
+data 'CURS' (10) {
+ $"0000 03E0 0630 0808 1004 31C6 2362 2222"
+ $"2362 31C6 1004 0808 0630 03E0 0000 0000"
+ $"0000 03E0 07F0 0FF8 1FFC 3FFE 3FFE 3FFE"
+ $"3FFE 3FFE 1FFC 0FF8 07F0 03E0 0000 0000"
+ $"0007 0008"
};
-resource 'CURS' (10, "SizeWE") {
- $"0000 0180 0180 0180 0180 1188 318C 7FFE"
- $"318C 1188 0180 0180 0180 0180",
- $"03C0 03C0 03C0 03C0 1BD8 3BDC 7BFE FFFF"
- $"7FFE 3BDC 1BD8 03C0 03C0 03C0 03C0",
- {7, 7}
+data 'CURS' (11) {
+ $"0000 0000 0000 0000 0000 0000 0000 0000"
+ $"0000 0000 0000 0000 0000 0000 0000 0000"
+ $"0000 0000 0000 0000 0000 0000 0000 0000"
+ $"0000 0000 0000 0000 0000 0000 0000 0000"
+ $"0000 0000"
};
-resource 'CURS' (11, "Size NS") {
- $"0000 0080 01C0 03E0 0080 0080 0080 3FFE"
- $"3FFE 0080 0080 0080 03E0 01C0 0080",
- $"0080 01C0 03E0 07F0 07F0 0180 7FFF 7FFF"
- $"7FFF 7FFF 01C0 07F0 07F0 03E0 01C0 0080",
- {7, 7}
+data 'CURS' (12) {
+ $"00F0 0088 0108 0190 0270 0220 0440 0440"
+ $"0880 0880 1100 1E00 1C00 1800 1000 0000"
+ $"00F0 00F8 01F8 01F0 03F0 03E0 07C0 07C0"
+ $"0F80 0F80 1F00 1E00 1C00 1800 1000 0000"
+ $"000E 0003"
};
-// get folder
+data 'CURS' (13) {
+ $"0000 1E00 2100 4080 4080 4080 4080 2180"
+ $"1FC0 00E0 0070 0038 001C 000E 0006 0000"
+ $"3F00 7F80 FFC0 FFC0 FFC0 FFC0 FFC0 7FC0"
+ $"3FE0 1FF0 00F8 007C 003E 001F 000F 0007"
+ $"0004 0004"
+};
-resource 'DITL' (250, purgeable) {
- { /* array DITLarray: 11 elements */
- /* [1] */
- {157, 253, 177, 333},
- Button {
- enabled,
- "Open"
- },
- /* [2] */
- {126, 253, 146, 333},
- Button {
- enabled,
- "Cancel"
- },
- /* [3] */
- {0, 0, 0, 0},
- HelpItem {
- disabled,
- HMScanhdlg {
- -6043
- }
- },
- /* [4] */
- {30, 236, 46, 338},
- UserItem {
- enabled
- },
- /* [5] */
- {54, 253, 74, 333},
- Button {
- enabled,
- "Eject"
- },
- /* [6] */
- {82, 253, 102, 333},
- Button {
- enabled,
- "Desktop"
- },
- /* [7] */
- {51, 13, 181, 231},
- UserItem {
- enabled
- },
- /* [8] */
- {28, 13, 47, 231},
- UserItem {
- enabled
- },
- /* [9] */
- {113, 252, 114, 334},
- Picture {
- disabled,
- 11
- },
- /* [10] */
- {189, 24, 209, 211},
- Button {
- enabled,
- ""
- },
- /* [11] */
- {6, 15, 23, 300},
- StaticText {
- disabled,
- "^0"
- }
- }
+data 'CURS' (14) {
+ $"0000 07E0 1FF0 3838 3C0C 6E0E 6706 6386"
+ $"61C6 60E6 7076 303C 1C1C 0FF8 07E0 0000"
+ $"0540 0FF0 3FF8 3C3C 7E0E FF0F 6F86 E7C7"
+ $"63E6 E1F7 70FE 707E 3C3C 1FFC 0FF0 0540"
+ $"0007 0007"
};
-resource 'DLOG' (250, purgeable) {
- {0, 0, 215, 344},
- dBoxProc,
- invisible,
- noGoAway,
- 0x0,
- 250,
- "" , 0
+data 'CURS' (15) {
+ $"0000 0380 0380 0380 0380 0380 0380 0FE0"
+ $"1FF0 1FF0 0000 1FF0 1FF0 1550 1550 1550"
+ $"07C0 07C0 07C0 07C0 07C0 07C0 0FE0 1FF0"
+ $"3FF8 3FF8 3FF8 3FF8 3FF8 3FF8 3FF8 3FF8"
+ $"000B 0007"
};
-resource 'STR#' (250) {
- { /* array StringArray: 3 elements */
- /* [1] */
- "Select \"^0\"",
- /* [2] */
- "Desktop",
- /* [3] */
- "Select ^0"
- }
+data 'CURS' (16) {
+ $"00C0 0140 0640 08C0 3180 47FE 8001 8001"
+ $"81FE 8040 01C0 0040 03C0 C080 3F80 0000"
+ $"00C0 01C0 07C0 0FC0 3F80 7FFE FFFF FFFF"
+ $"FFFE FFC0 FFC0 FFC0 FFC0 FF80 3F80 0000"
+ $"0006 000F"
+};
+
+data 'CURS' (17) {
+ $"0100 0280 0260 0310 018C 7FE3 8000 8000"
+ $"7F80 0200 0380 0200 03C0 0107 01F8 0000"
+ $"0100 0380 03E0 03F0 01FC 7FFF FFFF FFFF"
+ $"FFFF 03FF 03FF 03FF 03FF 01FF 01F8 0000"
+ $"0006 0000"
};
-// end of get folder
+data 'CURS' (18) {
+ $"0000 4078 60FC 71CE 7986 7C06 7E0E 7F1C"
+ $"7FB8 7C30 6C30 4600 0630 0330 0300 0000"
+ $"C078 E0FC F1FE FBFF FFCF FF8F FF1F FFBE"
+ $"FFFC FE78 FF78 EFF8 CFF8 87F8 07F8 0300"
+ $"0001 0001"
+};
-// get file
+data 'CURS' (19) {
+ $"0000 0002 0006 000E 001E 003E 007E 00FE"
+ $"01FE 003E 0036 0062 0060 00C0 00C0 0000"
+ $"0003 0007 000F 001F 003F 007F 00FF 01FF"
+ $"03FF 07FF 007F 00F7 00F3 01E1 01E0 01C0"
+ $"0001 000E"
+};
-resource 'DITL' (251, purgeable) {
- { /* array DITLarray: 11 elements */
- /* [1] */
- {157, 253, 177, 333},
- Button {
- enabled,
- "Open"
- },
- /* [2] */
- {126, 253, 146, 333},
- Button {
- enabled,
- "Cancel"
- },
- /* [3] */
- {0, 0, 0, 0},
- HelpItem {
- disabled,
- HMScanhdlg {
- -6043
- }
- },
- /* [4] */
- {30, 236, 46, 338},
- UserItem {
- enabled
- },
- /* [5] */
- {54, 253, 74, 333},
- Button {
- enabled,
- "Eject"
- },
- /* [6] */
- {82, 253, 102, 333},
- Button {
- enabled,
- "Desktop"
- },
- /* [7] */
- {51, 13, 181, 231},
- UserItem {
- enabled
- },
- /* [8] */
- {28, 13, 47, 231},
- UserItem {
- enabled
- },
- /* [9] */
- {113, 252, 114, 334},
- Picture {
- disabled,
- 11
- },
- /* [10] */
- {6, 15, 23, 300},
- StaticText {
- disabled,
- "^0"
- }
- }
+data 'CURS' (20) {
+ $"0000 0080 01C0 03E0 0080 0080 0080 1FFC"
+ $"1FFC 0080 0080 0080 03E0 01C0 0080 0000"
+ $"0080 01C0 03E0 07F0 0FF8 01C0 3FFE 3FFE"
+ $"3FFE 3FFE 01C0 0FF8 07F0 03E0 01C0 0080"
+ $"0007 0008"
};
-resource 'DLOG' (251, purgeable) {
- {0, 0, 195, 344},
- dBoxProc,
- invisible,
- noGoAway,
- 0x0,
- 251,
- "" , 0
+data 'CURS' (21) {
+ $"0000 0080 01C0 03E0 0080 0888 188C 3FFE"
+ $"188C 0888 0080 03E0 01C0 0080 0000 0000"
+ $"0080 01C0 03E0 07F0 0BE8 1DDC 3FFE 7FFF"
+ $"3FFE 1DDC 0BE8 07F0 03E0 01C0 0080 0000"
+ $"0007 0008"
};
-resource 'STR#' (251) {
- { /* array StringArray: 3 elements */
- /* [1] */
- "Select \"^0\"",
- /* [2] */
- "Desktop",
- /* [3] */
- "Select ^0"
- }
+data 'CURS' (22) {
+ $"0000 001E 000E 060E 0712 03A0 01C0 00E0"
+ $"0170 1238 1C18 1C00 1E00 0000 0000 0000"
+ $"007F 003F 0E1F 0F0F 0F97 07E3 03E1 21F0"
+ $"31F8 3A7C 3C3C 3E1C 3F00 3F80 0000 0000"
+ $"0006 0009"
+};
+
+data 'CURS' (23) {
+ $"0000 7800 7000 7060 48E0 05C0 0380 0700"
+ $"0E80 1C48 1838 0038 0078 0000 0000 0000"
+ $"FE00 FC00 F870 F0F0 E9F0 C7E0 87C0 0F84"
+ $"1F8C 3E5C 3C3C 387C 00FC 01FC 0000 0000"
+ $"0006 0006"
+};
+
+data 'CURS' (24) {
+ $"0006 000E 001C 0018 0020 0040 00F8 0004"
+ $"1FF4 200C 2AA8 1FF0 1F80 3800 6000 8000"
+ $"000F 001F 003E 007C 0070 00E0 01FC 3FF6"
+ $"7FF6 7FFE 7FFC 7FF8 3FF0 7FC0 F800 E000"
+ $"000A 0006"
};
-// end of get file
\ No newline at end of file