[squeak-dev] The Trunk: Nebraska-kfr.41.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Apr 20 05:35:41 UTC 2015


Karl Ramberg uploaded a new version of Nebraska to project The Trunk:
http://source.squeak.org/trunk/Nebraska-kfr.41.mcz

==================== Summary ====================

Name: Nebraska-kfr.41
Author: kfr
Time: 19 April 2015, 12:45:39.179 pm
UUID: ec1a06ec-3be8-1b4a-8806-0f6a1d7bc018
Ancestors: Nebraska-mt.40

Use MenuMorph

=============== Diff against Nebraska-mt.40 ===============

Item was changed:
  ----- Method: NebraskaServerMorph>>setColorsAndBorder (in category 'initialization') -----
  setColorsAndBorder
  	| worldColor c |
  	c := ((Preferences menuColorFromWorld and: [Display depth > 4]) 
  				and: [(worldColor := self currentWorld color) isColor]) 
  					ifTrue: 
  						[worldColor luminance > 0.7 
  							ifTrue: [worldColor mixed: 0.8 with: Color black]
  							ifFalse: [worldColor mixed: 0.4 with: Color white]]
+ 					ifFalse: [MenuMorph menuColor]. 
- 					ifFalse: [Preferences menuColor]. 
  	self color: c.
  	self borderColor: #raised.
+ 	self borderWidth: MenuMorph menuBorderWidth.
- 	self borderWidth: Preferences menuBorderWidth.
  	self useRoundedCorners!



More information about the Squeak-dev mailing list