ImageEditor.st
changeset 3180 9ee8f0e74b96
parent 3173 801e6bfe2581
child 3188 351c645c0921
equal deleted inserted replaced
3179:174a9f51db76 3180:9ee8f0e74b96
     8  be provided or otherwise made available to, or used by, any
     8  be provided or otherwise made available to, or used by, any
     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:libtool2' }"
    12 "{ Package: 'stx:libtool2' }"
       
    13 
       
    14 "{ NameSpace: Smalltalk }"
    13 
    15 
    14 ResourceSpecEditor subclass:#ImageEditor
    16 ResourceSpecEditor subclass:#ImageEditor
    15 	instanceVariableNames:'imageEditView colorMapMode editMode mouseKeyColorMode
    17 	instanceVariableNames:'imageEditView colorMapMode editMode mouseKeyColorMode
    16 		selectedColorIndex postOpenAction imageSeqNr drawingColormap
    18 		selectedColorIndex postOpenAction imageSeqNr drawingColormap
    17 		lastShiftUsedWrap lastGrabbedScreenArea
    19 		lastShiftUsedWrap lastGrabbedScreenArea
  5434         editor color:clr.
  5436         editor color:clr.
  5435         editor open.
  5437         editor open.
  5436         editor accepted ifFalse:[
  5438         editor accepted ifFalse:[
  5437             AbortOperationRequest raise.
  5439             AbortOperationRequest raise.
  5438         ].
  5440         ].
  5439         editor colorNameOrColor
  5441         editor color
  5440     ]
  5442     ]
  5441 !
  5443 !
  5442 
  5444 
  5443 fetchImageData
  5445 fetchImageData
  5444     |image|
  5446     |image|