--- a/ImageEditor.st Fri Feb 27 17:54:29 1998 +0100
+++ b/ImageEditor.st Wed Mar 04 14:22:55 1998 +0100
@@ -1000,15 +1000,6 @@
^ holder
!
-listOfColors2
-
- |holder|
- (holder := builder bindingAt:#listOfColors) isNil ifTrue:[
- builder aspectAt:#listOfColors put:(holder := List new).
- ].
- ^ holder
-!
-
selectionOfColor
|holder|
@@ -1117,7 +1108,7 @@
self image fileName: oldFileName.
self listOfColors contents: image colorMap.
self findColorMapMode.
- self updateInputFieldsAndLabelsAndHistory.
+ self updateLabelsAndHistory.
]
!
@@ -1177,7 +1168,7 @@
!
-updateInputFieldsAndLabelsAndHistory
+updateLabelsAndHistory
self imageIsLoaded value: self image notNil.
@@ -1337,7 +1328,7 @@
[
self listOfColors contents: self image usedColors asSet asOrderedCollection.
self findColorMapMode.
- self updateInputFieldsAndLabelsAndHistory.
+ self updateLabelsAndHistory.
]
ifFalse:
[
@@ -1372,7 +1363,7 @@
self listOfColors removeAll.
].
self findColorMapMode.
- self updateInputFieldsAndLabelsAndHistory.
+ self updateLabelsAndHistory.
]
ifFalse:
[
@@ -1397,7 +1388,7 @@
self listOfColors removeAll.
].
self findColorMapMode.
- self updateInputFieldsAndLabelsAndHistory.
+ self updateLabelsAndHistory.
]
ifFalse:
[
@@ -1415,7 +1406,7 @@
[
self listOfColors contents: self image usedColors asSet asOrderedCollection.
self findColorMapMode.
- self updateInputFieldsAndLabelsAndHistory.
+ self updateLabelsAndHistory.
]
ifFalse:
[
@@ -1431,13 +1422,12 @@
[
self listOfColors contents: self image usedColors asSet asOrderedCollection.
self findColorMapMode.
- self updateInputFieldsAndLabelsAndHistory.
]
ifFalse:
[
self imageEditView resourceMessage: aMessage.
- self updateInputFields.
- ]
+ ].
+ self updateLabelsAndHistory.
!
newImage
@@ -1473,7 +1463,7 @@
[
self listOfColors contents: cMap.
self findColorMapMode.
- self updateInputFieldsAndLabelsAndHistory
+ self updateLabelsAndHistory
]
].
! !
@@ -1493,7 +1483,7 @@
saveImageFileAs
self imageEditView saveImageFileAs.
- self updateInputFieldsAndLabelsAndHistory
+ self updateLabelsAndHistory
!
saveImageMaskFileAs
@@ -1506,7 +1496,7 @@
self imageEditView saveMethod notNil
ifTrue:
[
- self updateInputFieldsAndLabelsAndHistory
+ self updateLabelsAndHistory
]
!
@@ -1515,7 +1505,7 @@
self imageEditView saveMethodAs notNil
ifTrue:
[
- self updateInputFieldsAndLabelsAndHistory
+ self updateLabelsAndHistory
]
! !