ImageEditor.st
changeset 3442 01fc9215d9c2
parent 3441 40faf7657f15
child 3443 b9d9eb4b34f9
equal deleted inserted replaced
3441:40faf7657f15 3442:01fc9215d9c2
   648             colorMapFromArray:#[88 88 88 0 0 0 255 0 0 0 255 0 0 0 255 0 255 255 255 255 127 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127 127 127 127 170 170 170 0 0 51 0 0 102 0 0 153 0 0 204 0 51 0 0 51 51 0 51 102 0 51 153 0 51 204 0 51 255 0 102 0 0 102 51 0 102 102 0 102 153 0 102 204 0 102 255 0 153 0 0 153 51 0 153 102 0 153 153 0 153 204 0 153 255 0 204 0 0 204 51 0 204 102 0 204 153 0 204 204 0 204 255 0 255 51 0 255 102 0 255 153 0 255 204 51 0 0 51 0 51 51 0 102 51 0 153 51 0 204 51 0 255 51 51 0 51 51 51 51 51 102 51 51 153 51 51 204 51 51 255 51 102 0 51 102 51 51 102 102 51 102 153 51 102 204 51 102 255 51 153 0 51 153 51 51 153 102 51 153 153 51 153 204 51 153 255 51 204 0 51 204 51 51 204 102 51 204 153 51 204 204 51 204 255 51 255 0 51 255 51 51 255 102 51 255 153 51 255 204 51 255 255 102 0 0 102 0 51 102 0 102 102 0 153 102 0 204 102 0 255 102 51 0 102 51 51 102 51 102 102 51 153 102 51 204 102 51 255 102 102 0 102 102 51 102 102 102 102 102 153 102 102 204 102 102 255 102 153 0 102 153 51 102 153 102 102 153 153 102 153 204 102 153 255 102 204 0 102 204 51 102 204 102 102 204 153 102 204 204 102 204 255 102 255 0 102 255 51 102 255 102 102 255 153 102 255 204 102 255 255 153 0 0 153 0 51 153 0 102 153 0 153 153 0 204 153 0 255 153 51 0 153 51 51 153 51 102 153 51 153 153 51 204 153 51 255 153 102 0 153 102 51 153 102 102 153 102 153 153 102 204 153 102 255 153 153 0 153 153 51 153 153 102 153 153 153 153 153 204 153 153 255 153 204 0 153 204 51 153 204 102 153 204 153 153 204 204 153 204 255 153 255 0 153 255 51 153 255 102 153 255 153 153 255 204 153 255 255 204 0 0 204 0 51 204 0 102 204 0 153 204 0 204 204 0 255 204 51 0 204 51 51 204 51 102 204 51 153 204 51 204 204 51 255 204 102 0 204 102 51 204 102 102 204 102 153 204 102 204 204 102 255 204 153 0 204 153 51 204 153 102 204 153 153 204 153 204 204 153 255 204 204 0 204 204 51 204 204 102 204 204 153 204 204 204 204 204 255 204 255 0 204 255 51 204 255 102 204 255 153 204 255 204 204 255 255 255 0 51 255 0 102 255 0 153 255 0 204 255 51 0 255 51 51 255 51 102 255 51 153 255 51 204 255 51 255 255 102 0 255 102 51 255 102 102 255 102 153 255 102 204 255 102 255 255 153 0 255 153 51 255 153 102 255 153 153 255 153 204 255 153 255 255 204 0 255 204 51 255 204 102 255 204 153 255 204 204 255 204 255 255 255 51 255 255 102 255 255 153 255 255 204 255 255 255 9 9 9 19 19 19 29 29 29 39 39 39 49 49 49 58 58 58 68 68 68 78 78 78 98 98 98 107 107 107 117 117 117 137 137 137 147 147 147 156 156 156 166 166 166]
   648             colorMapFromArray:#[88 88 88 0 0 0 255 0 0 0 255 0 0 0 255 0 255 255 255 255 127 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127 127 127 127 170 170 170 0 0 51 0 0 102 0 0 153 0 0 204 0 51 0 0 51 51 0 51 102 0 51 153 0 51 204 0 51 255 0 102 0 0 102 51 0 102 102 0 102 153 0 102 204 0 102 255 0 153 0 0 153 51 0 153 102 0 153 153 0 153 204 0 153 255 0 204 0 0 204 51 0 204 102 0 204 153 0 204 204 0 204 255 0 255 51 0 255 102 0 255 153 0 255 204 51 0 0 51 0 51 51 0 102 51 0 153 51 0 204 51 0 255 51 51 0 51 51 51 51 51 102 51 51 153 51 51 204 51 51 255 51 102 0 51 102 51 51 102 102 51 102 153 51 102 204 51 102 255 51 153 0 51 153 51 51 153 102 51 153 153 51 153 204 51 153 255 51 204 0 51 204 51 51 204 102 51 204 153 51 204 204 51 204 255 51 255 0 51 255 51 51 255 102 51 255 153 51 255 204 51 255 255 102 0 0 102 0 51 102 0 102 102 0 153 102 0 204 102 0 255 102 51 0 102 51 51 102 51 102 102 51 153 102 51 204 102 51 255 102 102 0 102 102 51 102 102 102 102 102 153 102 102 204 102 102 255 102 153 0 102 153 51 102 153 102 102 153 153 102 153 204 102 153 255 102 204 0 102 204 51 102 204 102 102 204 153 102 204 204 102 204 255 102 255 0 102 255 51 102 255 102 102 255 153 102 255 204 102 255 255 153 0 0 153 0 51 153 0 102 153 0 153 153 0 204 153 0 255 153 51 0 153 51 51 153 51 102 153 51 153 153 51 204 153 51 255 153 102 0 153 102 51 153 102 102 153 102 153 153 102 204 153 102 255 153 153 0 153 153 51 153 153 102 153 153 153 153 153 204 153 153 255 153 204 0 153 204 51 153 204 102 153 204 153 153 204 204 153 204 255 153 255 0 153 255 51 153 255 102 153 255 153 153 255 204 153 255 255 204 0 0 204 0 51 204 0 102 204 0 153 204 0 204 204 0 255 204 51 0 204 51 51 204 51 102 204 51 153 204 51 204 204 51 255 204 102 0 204 102 51 204 102 102 204 102 153 204 102 204 204 102 255 204 153 0 204 153 51 204 153 102 204 153 153 204 153 204 204 153 255 204 204 0 204 204 51 204 204 102 204 204 153 204 204 204 204 204 255 204 255 0 204 255 51 204 255 102 204 255 153 204 255 204 204 255 255 255 0 51 255 0 102 255 0 153 255 0 204 255 51 0 255 51 51 255 51 102 255 51 153 255 51 204 255 51 255 255 102 0 255 102 51 255 102 102 255 102 153 255 102 204 255 102 255 255 153 0 255 153 51 255 153 102 255 153 153 255 153 204 255 153 255 255 204 0 255 204 51 255 204 102 255 204 153 255 204 204 255 204 255 255 255 51 255 255 102 255 255 153 255 255 204 255 255 255 9 9 9 19 19 19 29 29 29 39 39 39 49 49 49 58 58 58 68 68 68 78 78 78 98 98 98 107 107 107 117 117 117 137 137 137 147 147 147 156 156 156 166 166 166]
   649             mask:((ImageMask width:14 height:14) bits:(ByteArray fromPackedString:'@@C??O?<??3??O?<??3??O?<??3??O?<??0@@@@a'); yourself); yourself]
   649             mask:((ImageMask width:14 height:14) bits:(ByteArray fromPackedString:'@@C??O?<??3??O?<??3??O?<??3??O?<??0@@@@a'); yourself); yourself]
   650 !
   650 !
   651 
   651 
   652 circleIcon
   652 circleIcon
   653     <resource: #image>
       
   654     "This resource specification was automatically generated
   653     "This resource specification was automatically generated
   655      by the ImageEditor of ST/X."
   654      by the ImageEditor of ST/X."
       
   655 
   656     "Do not manually edit this!! If it is corrupted,
   656     "Do not manually edit this!! If it is corrupted,
   657      the ImageEditor may not be able to read the specification."
   657      the ImageEditor may not be able to read the specification."
       
   658 
   658     "
   659     "
   659      self circleIcon inspect
   660      self circleIcon inspect
   660      ImageEditor openOnClass:self andSelector:#circleIcon
   661      ImageEditor openOnClass:self andSelector:#circleIcon
   661      Icon flushCachedIcons"
   662      Icon flushCachedIcons
   662     
   663     "
   663     ^ Icon constantNamed:'ImageEditor class circleIcon'
   664 
   664         ifAbsentPut:[
   665     <resource: #image>
   665             (Depth1Image new)
   666 
   666                 width:14;
   667     ^Icon
   667                 height:14;
   668         constantNamed:'ImageEditor class circleIcon'
   668                 photometric:(#palette);
   669         ifAbsentPut:[(Depth1Image width:14 height:14) bits:(ByteArray fromPackedString:'@@@@@@QAAD@@@C@X@@@@@@@CLA @@@Q@AD@@@@@a')
   669                 bitsPerSample:(#( 1 ));
   670             colorMapFromArray:#[0 0 0 127 127 127]
   670                 samplesPerPixel:(1);
   671             mask:((ImageMask width:14 height:14) bits:(ByteArray fromPackedString:'@@@@@@_@CF@PDC@XH@  BB@HLA PD@1 A<@@@@@a'); yourself); yourself]
   671                 bits:(ByteArray 
       
   672                             fromPackedString:'@@@@@@@A@@@@@@@@@@@@@@@C@@@@@@@@@@@@@@@a');
       
   673                 colorMapFromArray:#[ 0 0 0 255 0 0 ];
       
   674                 mask:((ImageMask new)
       
   675                             width:14;
       
   676                             height:14;
       
   677                             bits:(ByteArray 
       
   678                                         fromPackedString:'@@@@@@N@CF@PDA@PH@  BB@HDA@PD@1 @8@@@@@a');
       
   679                             yourself);
       
   680                 yourself
       
   681         ]
       
   682 !
   672 !
   683 
   673 
   684 copyIcon
   674 copyIcon
   685     <resource: #image>
   675     <resource: #image>
   686     "This resource specification was automatically generated
   676     "This resource specification was automatically generated
  1432         ifAbsentPut:[(Depth4Image new) width:14; height:14; bits:(ByteArray fromPackedString:'@@@@@@@@@@@RH@@@H!!@@HRD@@RD @BHQ@@DRH@@ADP@ADP@@@@@QD@@@@@@@DQ@@@@@@@ADP@@@@@QD@@QD@@BHQ@@DRH@@!!HP@AHR@@D"@@@BHP@@@@@@@@
  1422         ifAbsentPut:[(Depth4Image new) width:14; height:14; bits:(ByteArray fromPackedString:'@@@@@@@@@@@RH@@@H!!@@HRD@@RD @BHQ@@DRH@@ADP@ADP@@@@@QD@@@@@@@DQ@@@@@@@ADP@@@@@QD@@QD@@BHQ@@DRH@@!!HP@AHR@@D"@@@BHP@@@@@@@@
  1433 @@@@@@@@@@@b') ; colorMapFromArray:#[127 126 127 255 0 0 255 255 255]; mask:((ImageMask new) width:14; height:14; bits:(ByteArray fromPackedString:'_?1<_G1<_G1??D_DQ<QG1G?<_G1<_G1<_?0@@@@a') ; yourself); yourself]
  1423 @@@@@@@@@@@b') ; colorMapFromArray:#[127 126 127 255 0 0 255 255 255]; mask:((ImageMask new) width:14; height:14; bits:(ByteArray fromPackedString:'_?1<_G1<_G1??D_DQ<QG1G?<_G1<_G1<_?0@@@@a') ; yourself); yourself]
  1434 !
  1424 !
  1435 
  1425 
  1436 specialCircleIcon
  1426 specialCircleIcon
  1437     <resource: #image>
       
  1438     "This resource specification was automatically generated
  1427     "This resource specification was automatically generated
  1439      by the ImageEditor of ST/X."
  1428      by the ImageEditor of ST/X."
       
  1429 
  1440     "Do not manually edit this!! If it is corrupted,
  1430     "Do not manually edit this!! If it is corrupted,
  1441      the ImageEditor may not be able to read the specification."
  1431      the ImageEditor may not be able to read the specification."
       
  1432 
  1442     "
  1433     "
  1443      self specialCircleIcon inspect
  1434      self specialCircleIcon inspect
  1444      ImageEditor openOnClass:self andSelector:#specialCircleIcon
  1435      ImageEditor openOnClass:self andSelector:#specialCircleIcon
  1445      Icon flushCachedIcons"
  1436      Icon flushCachedIcons
  1446     
  1437     "
  1447     ^ Icon constantNamed:'ImageEditor class specialCircleIcon'
  1438 
  1448         ifAbsentPut:[
  1439     <resource: #image>
  1449             (Depth1Image new)
  1440 
  1450                 width:14;
  1441     ^Icon
  1451                 height:14;
  1442         constantNamed:'ImageEditor class specialCircleIcon'
  1452                 photometric:(#palette);
  1443         ifAbsentPut:[(Depth2Image width:14 height:14) bits:(ByteArray fromPackedString:'@@@@@@@@@@@@PA@@@RBD@@P@@P@P@@A@D@@@PA@@@D@PHHA@A@@A@@D@A@@@PA@@@@@@@@@@@@@b')
  1453                 bitsPerSample:(#( 1 ));
  1444             colorMapFromArray:#[0 0 0 255 0 0 127 127 127]
  1454                 samplesPerPixel:(1);
  1445             mask:((ImageMask width:14 height:14) bits:(ByteArray fromPackedString:'@@@@@@-@E:@''$D^HQ8!!G"D^HH1@PH@-@@0@@@@@a'); yourself); yourself]
  1455                 bits:(ByteArray 
       
  1456                             fromPackedString:'@@L@@@!!BDB@ D4@HP@!!@BD@HHA@PHP!!@@@@@@@@a');
       
  1457                 colorMapFromArray:#[ 0 0 0 255 0 0 ];
       
  1458                 mask:((ImageMask new)
       
  1459                             width:14;
       
  1460                             height:14;
       
  1461                             bits:(ByteArray 
       
  1462                                         fromPackedString:'@@@@@@-@D2@''$D^HQ8!!G"DLHH1@PH@-@@0@@@@@a');
       
  1463                             yourself);
       
  1464                 yourself
       
  1465         ]
       
  1466 !
  1446 !
  1467 
  1447 
  1468 specialRectangleIcon
  1448 specialRectangleIcon
  1469     "This resource specification was automatically generated
  1449     "This resource specification was automatically generated
  1470      by the ImageEditor of ST/X."
  1450      by the ImageEditor of ST/X."
  1480 
  1460 
  1481     <resource: #image>
  1461     <resource: #image>
  1482 
  1462 
  1483     ^Icon
  1463     ^Icon
  1484         constantNamed:'ImageEditor class specialRectangleIcon'
  1464         constantNamed:'ImageEditor class specialRectangleIcon'
  1485         ifAbsentPut:[(Depth1Image width:14 height:14) bits:(ByteArray fromPackedString:'@@L@@G!!:P@!!@B4@HP@!!@BD@HP@!!@BW!!8@@@@@@@a')
  1465         ifAbsentPut:[(Depth2Image width:14 height:14) bits:(ByteArray fromPackedString:'@@@@@@@@@@@UPAU@DBB@PA@@@D@P@@A@D@@@PA@@@D@PHHA@D@@@PA@@@D@UPAU@@@@@@@@@@@@b')
  1486             colorMapFromArray:#[0 0 0 255 0 0]
  1466             colorMapFromArray:#[0 0 0 255 0 0 127 127 127]
  1487             mask:((ImageMask width:14 height:14) bits:(ByteArray fromPackedString:'@@@@@G-8P0!!G"D^HQ8!!G"DLHP0!!@BG-8@0@@@@@a'); yourself); yourself]
  1467             mask:((ImageMask width:14 height:14) bits:(ByteArray fromPackedString:'@@@@@G-8Q8!!G"D^HQ8!!G"D^HP0!!@BG-8@0@@@@@a'); yourself); yourself]
  1488 !
  1468 !
  1489 
  1469 
  1490 sprayIcon
  1470 sprayIcon
  1491     "This resource specification was automatically generated
  1471     "This resource specification was automatically generated
  1492      by the ImageEditor of ST/X."
  1472      by the ImageEditor of ST/X."