[squeak-dev] The Trunk: 60Deprecated-mt.1.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Aug 24 07:22:32 UTC 2016


Marcel Taeumel uploaded a new version of 60Deprecated to project The Trunk:
http://source.squeak.org/trunk/60Deprecated-mt.1.mcz

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

Name: 60Deprecated-mt.1
Author: mt
Time: 24 August 2016, 9:22:29.736086 am
UUID: 7d3d754e-fa52-e348-9c9d-a9ab9bf150c5
Ancestors: 

Deprecate project-parameter style preferences for menu visuals.

==================== Snapshot ====================

----- Method: Preferences class>>menuBorderColor (in category '*60Deprecated-menu colors') -----
menuBorderColor

	self deprecated: 'mt: Use UI themes.'.
	^ (UserInterfaceTheme current get: #borderColor for: #MenuMorph) ifNil: [(Color r: 0.2 g: 0.3 b: 0.9)]!

----- Method: Preferences class>>menuBorderWidth (in category '*60Deprecated-menu colors') -----
menuBorderWidth

	self deprecated: 'mt: Use UI themes.'.
	^ (UserInterfaceTheme current get: #borderWidth for: #MenuMorph) ifNil: [2]!

----- Method: Preferences class>>menuColor (in category '*60Deprecated-menu colors') -----
menuColor
	
	self deprecated: 'mt: Use UI themes.'.
	^ (UserInterfaceTheme current get: #color for: #MenuMorph) ifNil: [(Color r: 0.9 g: 0.9 b: 0.9)]!

----- Method: Preferences class>>menuLineColor (in category '*60Deprecated-menu colors') -----
menuLineColor
	
	self deprecated: 'mt: Use UI themes.'.
	^ (UserInterfaceTheme current get: #lineColor for: #MenuMorph) ifNil: [(Color r: 0.6 g: 0.7 b: 1)]!

----- Method: Preferences class>>menuSelectionColor (in category '*60Deprecated-menu colors') -----
menuSelectionColor
	
	self deprecated: 'mt: Use UI themes.'.
	^ (UserInterfaceTheme current get: #selectionColor for: #MenuItemMorph) ifNil: [(Color r: 0.4 g: 0.5 b: 0.7)]!

----- Method: Preferences class>>menuTitleBorderColor (in category '*60Deprecated-menu colors') -----
menuTitleBorderColor
	
	self deprecated: 'mt: Use UI themes.'.
	^ (UserInterfaceTheme current get: #titleBorderColor for: #MenuMorph) ifNil: [(Color r: 0.6 g: 0.7 b: 1)]!

----- Method: Preferences class>>menuTitleBorderWidth (in category '*60Deprecated-menu colors') -----
menuTitleBorderWidth
	
	self deprecated: 'mt: Use UI themes.'.
	^ (UserInterfaceTheme current get: #titleBorderWidth for: #MenuMorph) ifNil: [0]!

----- Method: Preferences class>>menuTitleColor (in category '*60Deprecated-menu colors') -----
menuTitleColor
	
	self deprecated: 'mt: Use UI themes.'.
	^ (UserInterfaceTheme current get: #titleColor for: #MenuMorph) ifNil: [ Color transparent]!



More information about the Squeak-dev mailing list