]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/corersrc.r
title-less windows also for windows
[wxWidgets.git] / src / mac / corersrc.r
index 46850cfcc3f2937b13627325ed37315b5b7e837c..2193043cd6c67ef468fb9ae39662f46153175ef0 100644 (file)
-#include <Types.r>
-
-resource 'ALRT' (128, purgeable) {
-       {70, 50, 198, 470},
-       128,
-       {       /* array: 4 elements */
-               /* [1] */
-               OK, visible, sound1,
-               /* [2] */
-               OK, visible, sound1,
-               /* [3] */
-               OK, visible, sound1,
-               /* [4] */
-               OK, visible, sound1
-       },
-       noAutoCenter
-};
-
-resource 'ALRT' (129, purgeable) {
-       {70, 50, 198, 470},
-       129,
-       {       /* array: 4 elements */
-               /* [1] */
-               OK, visible, sound1,
-               /* [2] */
-               OK, visible, sound1,
-               /* [3] */
-               OK, visible, sound1,
-               /* [4] */
-               OK, visible, sound1
-       },
-       noAutoCenter
-};
-
-resource 'ALRT' (130, 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' (131, 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' (132, 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' (128, 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' (129, purgeable) {
-       {       /* array DITLarray: 4 elements */
-               /* [1] */
-               {100, 340, 120, 408},
-               Button {
-                       enabled,
-                       "Yes"
-               },
-               /* [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' (130, 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' (131, 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' (132, 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"                 /* .............. */
-};
-
-data 'ics#' (200, "¥ New File") {
-       $"0000 3FE0 2C70 3458 2C78 3408 2C08 3408"            /* ..?à,p4X,x4.,.4. */
-       $"2C08 3408 2C08 3408 2C0E 340F 3FFE 0000"            /* ,.4.,.4.,.4.?þ.. */
-       $"0000 3FE0 3FF0 3FF8 3FF8 3FF8 3FF8 3FF8"            /* ..?à?ð?ø?ø?ø?ø?ø */
-       $"3FF8 3FF8 3FF8 3FF8 3FFE 3FFF 3FFE 0000"            /* ?ø?ø?ø?ø?þ?ÿ?þ.. */
-};
-
-data 'ics4' (200, "¥ New File") {
-       $"0000 0000 0000 0000 00FF FFFF FFF0 0000"            /* .........ÿÿÿÿð.. */
-       $"00F1 FFED EFFF 0000 00FF 1FDE DFCF F000"            /* .ñÿíïÿ...ÿ.ÞßÏð. */
-       $"00F1 FFED EFFF F000 00FF 1FDE DEEE F000"            /* .ñÿíïÿð..ÿ.ÞÞîð. */
-       $"00F1 FFED EDED F000 00FF 1FDE DEDE F000"            /* .ñÿíííð..ÿ.ÞÞÞð. */
-       $"00F1 FFED EDED F000 00FF 1FDE DEDE F000"            /* .ñÿíííð..ÿ.ÞÞÞð. */
-       $"00F1 FFED EDED F000 00FF 1FDE DEDE F000"            /* .ñÿíííð..ÿ.ÞÞÞð. */
-       $"00F1 FFED EDED FEE0 00FF 1FDE DEDE FEEE"            /* .ñÿíííþà.ÿ.ÞÞÞþî */
-       $"00FF FFFF FFFF FEE0 0000 0000 0000 0000"            /* .ÿÿÿÿÿþà........ */
-};
-
-data 'ics8' (200, "¥ New File") {
-       $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
-       $"0000 FFFF FFFF FFFF FFFF FF00 0000 0000"            /* ..ÿÿÿÿÿÿÿÿÿ..... */
-       $"0000 FF05 FFFF FB7F FBFF FFFF 0000 0000"            /* ..ÿ.ÿÿû.ûÿÿÿ.... */
-       $"0000 FFFF 0BFF 7FFB 7FFF F6FF FF00 0000"            /* ..ÿÿ.ÿ.û.ÿöÿÿ... */
-       $"0000 FF05 FFFF FB7F FBFF FFFF FF00 0000"            /* ..ÿ.ÿÿû.ûÿÿÿÿ... */
-       $"0000 FFFF 0BFF 7FFB 7FFB FBFB FF00 0000"            /* ..ÿÿ.ÿ.û.ûûûÿ... */
-       $"0000 FF05 FFFF FB7F FB7F FB7F FF00 0000"            /* ..ÿ.ÿÿû.û.û.ÿ... */
-       $"0000 FFFF 0BFF 7FFB 7FFB 7FFB FF00 0000"            /* ..ÿÿ.ÿ.û.û.ûÿ... */
-       $"0000 FF05 FFFF FB7F FB7F FB7F FF00 0000"            /* ..ÿ.ÿÿû.û.û.ÿ... */
-       $"0000 FFFF 0BFF 7FFB 7FFB 7FFB FF00 0000"            /* ..ÿÿ.ÿ.û.û.ûÿ... */
-       $"0000 FF05 FFFF FB7F FB7F FB7F FF00 0000"            /* ..ÿ.ÿÿû.û.û.ÿ... */
-       $"0000 FFFF 0BFF 7FFB 7FFB 7FFB FF00 0000"            /* ..ÿÿ.ÿ.û.û.ûÿ... */
-       $"0000 FF05 FFFF FB7F FB7F FB7F FFFC FC00"            /* ..ÿ.ÿÿû.û.û.ÿüü. */
-       $"0000 FFFF 0BFF 7FFB 7FFB 7FFB FFFC FCFC"            /* ..ÿÿ.ÿ.û.û.ûÿüüü */
-       $"0000 FFFF FFFF FFFF FFFF FFFF FFFC FC00"            /* ..ÿÿÿÿÿÿÿÿÿÿÿüü. */
-       $"0000 0000 0000 0000 0000 0000 0000 0000"            /* ................ */
-};
+#ifdef __UNIX__
+  #include <Carbon.r>
+#else
+  #include <Types.r>
+  #if UNIVERSAL_INTERFACES_VERSION > 0x320
+    #include <ControlDefinitions.r>
+  #endif
+#endif
 
 resource 'ldes' ( 128 )
 {
        versionZero 
        {
                0 , 
-               1 ,
+               0 ,
                0 , 
                0 , 
                hasVertScroll , 
@@ -331,11 +23,11 @@ resource 'ldes' ( 128 )
 } ;
 
 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}
+       $"0380 04C0 04C0 04C0 04C0 04C0 74F8 9CAE"
+       $"4CAB 240B 2403 1003 0803 0806 0406 0406",
+       $"0380 07C0 07C0 07C0 07C0 07C0 77F8 FFFE"
+       $"7FFF 3FFF 3FFF 1FFF 0FFF 0FFE 07FE 07FE",
+       {0, 7}
 };
 
 resource 'CURS' (10, "SizeWE") {
@@ -354,186 +46,3 @@ resource 'CURS' (11, "Size NS") {
        {7, 7}
 };
 
-// get folder
-
-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"
-               }
-       }
-};
-
-resource 'DLOG' (250, purgeable) {
-       {0, 0, 215, 344},
-       dBoxProc,
-       invisible,
-       noGoAway,
-       0x0,
-       250,
-       "" , 0 
-};
-
-resource 'STR#' (250) {
-       {       /* array StringArray: 3 elements */
-               /* [1] */
-               "Select \"^0\"",
-               /* [2] */
-               "Desktop",
-               /* [3] */
-               "Select ^0"
-       }
-};
-
-// end of get folder
-
-// get file
-
-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"
-               }
-       }
-};
-
-resource 'DLOG' (251, purgeable) {
-       {0, 0, 195, 344},
-       dBoxProc,
-       invisible,
-       noGoAway,
-       0x0,
-       251,
-       "" , 0 
-};
-
-resource 'STR#' (251) {
-       {       /* array StringArray: 3 elements */
-               /* [1] */
-               "Select \"^0\"",
-               /* [2] */
-               "Desktop",
-               /* [3] */
-               "Select ^0"
-       }
-};
-
-// end of get file
\ No newline at end of file