tim Rowledge uploaded a new version of VMMaker to project VM Maker: http://source.squeak.org/VMMaker/VMMaker.oscog-tpr.2268.mcz
==================== Summary ====================
Name: VMMaker.oscog-tpr.2268 Author: tpr Time: 15 September 2017, 5:04:39.584258 pm UUID: e592c56e-6e86-4442-8c5c-4ea26758da2f Ancestors: VMMaker.oscog-eem.2267
First pass at removing obsolete window color setting and move to the new theme framework.
=============== Diff against VMMaker.oscog-eem.2267 ===============
Item was removed: - ----- Method: InterpreterPrimitives class>>initialize (in category 'class initialization') ----- - initialize - "Initialize the window color. This is probably Squeak-specific, so..." - [Preferences - setWindowColorFor: #cogVirtualMachineSimulatorWindowColor - to: (Color colorFrom: InterpreterPrimitives windowColorSpecification brightColor)] - on: Error - do: [:ex| Transcript show: 'Failed to set window color preference in ', thisContext method methodReference asString]!
Item was removed: - ----- Method: InterpreterPrimitives class>>windowColorSpecification (in category 'window color') ----- - windowColorSpecification - "Answer a WindowColorSpec object that declares my preference" - "Preferences - setWindowColorFor: #cogVirtualMachineSimulatorWindowColor - to: (Color colorFrom: InterpreterPrimitives windowColorSpecification brightColor)" - ^WindowColorSpec - classSymbol: self name wording: 'Cog Virtual Machine Simulator' - brightColor: #(0.645 1.0 1.0) pastelColor: #(0.886 1.0 1.0) - helpMessage: 'A tool for simulating a virtual machine in the Cog family.'!
Item was removed: - ----- Method: SimulatorMorphicModel class>>registerWindowColor (in category 'class initialization') ----- - registerWindowColor - (Preferences windowColorFor: self name) = Color white - ifTrue: [ Preferences setWindowColorFor: self name to: (Color colorFrom: self windowColorSpecification brightColor) ].!
Item was removed: - ----- Method: SimulatorMorphicModel class>>windowColorSpecification (in category 'window color') ----- - windowColorSpecification - "Answer a WindowColorSpec object that declares my preference" - - ^ WindowColorSpec classSymbol: self name wording: 'StackInterpreter Simulator' brightColor: #(0.645 1.0 1.0) pastelColor: #(0.886 1.0 1.0) helpMessage: 'A tool for simulating a Stack Interpreter Virtual Machine.'!
Item was added: + ----- Method: SimulatorMorphicModel>>defaultWindowColor (in category 'user interface') ----- + defaultWindowColor + ^ (Color r: 0.645 g: 1.0 b: 1.0)!