DataSetLabel.st
changeset 5055 4f266b85fb43
parent 4622 ee2ff15466e2
child 5201 537777c0a6ad
equal deleted inserted replaced
5054:a660f11bc670 5055:4f266b85fb43
     9  other person.  No title to or ownership of the software is
     9  other person.  No title to or ownership of the software is
    10  hereby transferred.
    10  hereby transferred.
    11 "
    11 "
    12 "{ Package: 'stx:libwidg2' }"
    12 "{ Package: 'stx:libwidg2' }"
    13 
    13 
       
    14 "{ NameSpace: Smalltalk }"
       
    15 
    14 Object subclass:#DataSetLabel
    16 Object subclass:#DataSetLabel
    15 	instanceVariableNames:'label selector argument adjust font fgColor bgColor
    17 	instanceVariableNames:'label selector argument adjust font fgColor bgColor
    16 		preferredHeight preferredWidth description'
    18 		preferredHeight preferredWidth description'
    17 	classVariableNames:''
    19 	classVariableNames:''
    18 	poolDictionaries:''
    20 	poolDictionaries:''
    65         ifAbsentPut:[
    67         ifAbsentPut:[
    66             (Depth1Image new)
    68             (Depth1Image new)
    67                 width:7;
    69                 width:7;
    68                 height:4;
    70                 height:4;
    69                 photometric:(#palette);
    71                 photometric:(#palette);
    70                 bitsPerSample:(#( 1 ));
    72                 bitsPerSample:(#[1]);
    71                 samplesPerPixel:(1);
    73                 samplesPerPixel:(1);
    72                 bits:(ByteArray fromPackedString:'@@B@0 @a');
    74                 bits:(ByteArray fromPackedString:'@@B@0 @a');
    73                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
    75                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
    74                 mask:((ImageMask new)
    76                 mask:((ImageMask new)
    75                             width:7;
    77                             width:7;
    95         ifAbsentPut:[
    97         ifAbsentPut:[
    96             (Depth1Image new)
    98             (Depth1Image new)
    97                 width:7;
    99                 width:7;
    98                 height:5;
   100                 height:5;
    99                 photometric:(#palette);
   101                 photometric:(#palette);
   100                 bitsPerSample:(#( 1 ));
   102                 bitsPerSample:(#[1]);
   101                 samplesPerPixel:(1);
   103                 samplesPerPixel:(1);
   102                 bits:(ByteArray fromPackedString:'@@@@@@@b');
   104                 bits:(ByteArray fromPackedString:'@@@@@@@b');
   103                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   105                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   104                 mask:((ImageMask new)
   106                 mask:((ImageMask new)
   105                             width:7;
   107                             width:7;
   129         ifAbsentPut:[
   131         ifAbsentPut:[
   130             (Depth1Image new)
   132             (Depth1Image new)
   131                 width:7;
   133                 width:7;
   132                 height:4;
   134                 height:4;
   133                 photometric:(#palette);
   135                 photometric:(#palette);
   134                 bitsPerSample:(#( 1 ));
   136                 bitsPerSample:(#[1]);
   135                 samplesPerPixel:(1);
   137                 samplesPerPixel:(1);
   136                 bits:(ByteArray fromPackedString:'@@B@0 @a');
   138                 bits:(ByteArray fromPackedString:'@@B@0 @a');
   137                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   139                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   138                 mask:((ImageMask new)
   140                 mask:((ImageMask new)
   139                             width:7;
   141                             width:7;
   159         ifAbsentPut:[
   161         ifAbsentPut:[
   160             (Depth1Image new)
   162             (Depth1Image new)
   161                 width:7;
   163                 width:7;
   162                 height:4;
   164                 height:4;
   163                 photometric:(#palette);
   165                 photometric:(#palette);
   164                 bitsPerSample:(#( 1 ));
   166                 bitsPerSample:(#[1]);
   165                 samplesPerPixel:(1);
   167                 samplesPerPixel:(1);
   166                 bits:(ByteArray fromPackedString:'0(@@@@@a');
   168                 bits:(ByteArray fromPackedString:'0(@@@@@a');
   167                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   169                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   168                 mask:((ImageMask new)
   170                 mask:((ImageMask new)
   169                             width:7;
   171                             width:7;
   189         ifAbsentPut:[
   191         ifAbsentPut:[
   190             (Depth1Image new)
   192             (Depth1Image new)
   191                 width:7;
   193                 width:7;
   192                 height:5;
   194                 height:5;
   193                 photometric:(#palette);
   195                 photometric:(#palette);
   194                 bitsPerSample:(#( 1 ));
   196                 bitsPerSample:(#[1]);
   195                 samplesPerPixel:(1);
   197                 samplesPerPixel:(1);
   196                 bits:(ByteArray fromPackedString:'@@@@@@@b');
   198                 bits:(ByteArray fromPackedString:'@@@@@@@b');
   197                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   199                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   198                 mask:((ImageMask new)
   200                 mask:((ImageMask new)
   199                             width:7;
   201                             width:7;
   219         ifAbsentPut:[
   221         ifAbsentPut:[
   220             (Depth1Image new)
   222             (Depth1Image new)
   221                 width:7;
   223                 width:7;
   222                 height:5;
   224                 height:5;
   223                 photometric:(#palette);
   225                 photometric:(#palette);
   224                 bitsPerSample:(#( 1 ));
   226                 bitsPerSample:(#[1]);
   225                 samplesPerPixel:(1);
   227                 samplesPerPixel:(1);
   226                 bits:(ByteArray fromPackedString:'@@@@@@@b');
   228                 bits:(ByteArray fromPackedString:'@@@@@@@b');
   227                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   229                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   228                 mask:((ImageMask new)
   230                 mask:((ImageMask new)
   229                             width:7;
   231                             width:7;
   249         ifAbsentPut:[
   251         ifAbsentPut:[
   250             (Depth1Image new)
   252             (Depth1Image new)
   251                 width:7;
   253                 width:7;
   252                 height:4;
   254                 height:4;
   253                 photometric:(#palette);
   255                 photometric:(#palette);
   254                 bitsPerSample:(#( 1 ));
   256                 bitsPerSample:(#[1]);
   255                 samplesPerPixel:(1);
   257                 samplesPerPixel:(1);
   256                 bits:(ByteArray fromPackedString:'0(@@@@@a');
   258                 bits:(ByteArray fromPackedString:'0(@@@@@a');
   257                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   259                 colorMapFromArray:#[ 0 0 0 255 255 255 ];
   258                 mask:((ImageMask new)
   260                 mask:((ImageMask new)
   259                             width:7;
   261                             width:7;
   574 ! !
   576 ! !
   575 
   577 
   576 !DataSetLabel class methodsFor:'documentation'!
   578 !DataSetLabel class methodsFor:'documentation'!
   577 
   579 
   578 version
   580 version
   579     ^ '$Header: /cvs/stx/stx/libwidg2/DataSetLabel.st,v 1.33 2014-06-21 11:49:41 cg Exp $'
   581     ^ '$Header$'
   580 !
   582 !
   581 
   583 
   582 version_CVS
   584 version_CVS
   583     ^ '$Header: /cvs/stx/stx/libwidg2/DataSetLabel.st,v 1.33 2014-06-21 11:49:41 cg Exp $'
   585     ^ '$Header$'
   584 ! !
   586 ! !
   585 
   587