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

commits at source.squeak.org commits at source.squeak.org
Wed Aug 24 08:56:45 UTC 2016


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

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

Name: 60Deprecated-mt.2
Author: mt
Time: 24 August 2016, 10:56:36.491003 am
UUID: c81bd3c9-12fe-134d-ab3f-a442d7a01853
Ancestors: 60Deprecated-mt.1

Deprecate ColorTheme.

=============== Diff against 60Deprecated-mt.1 ===============

Item was added:
+ SystemOrganization addCategory: #'60Deprecated-System-Support'!

Item was added:
+ Object subclass: #ColorTheme
+ 	instanceVariableNames: ''
+ 	classVariableNames: 'Current'
+ 	poolDictionaries: ''
+ 	category: '60Deprecated-System-Support'!

Item was added:
+ ----- Method: ColorTheme class>>apply (in category 'applying') -----
+ apply
+ 	^self new apply!

Item was added:
+ ----- Method: ColorTheme class>>applyTheme: (in category 'applying') -----
+ applyTheme: aThemeClass 
+ 	aThemeClass new apply!

Item was added:
+ ----- Method: ColorTheme class>>current (in category 'accessing') -----
+ current
+ 	^ Current
+ 		ifNil: [self defaultTheme apply]!

Item was added:
+ ----- Method: ColorTheme class>>current: (in category 'accessing') -----
+ current: aColorTheme
+ 	Current := aColorTheme!

Item was added:
+ ----- Method: ColorTheme class>>defaultTheme (in category 'accessing') -----
+ defaultTheme
+ 	^ self new.!

Item was added:
+ ----- Method: ColorTheme>>apply (in category 'applying') -----
+ apply
+ 	"apply the receiver as the current theme"
+ 	BalloonMorph balloonColor: self balloonColor.
+ 
+ 	Preferences setParameter: #defaultWorldColor to: self defaultWorldColor.
+ 
+ 	Preferences insertionPointColor: self insertionPointColor.
+ 	Preferences keyboardFocusColor: self keyboardFocusColor.
+ 	Preferences textHighlightColor: self textHighlightColor.
+ 
+ 	Preferences setParameter: #menuTitleColor to: self menuTitleColor.
+ 	Preferences setParameter: #menuTitleBorderColor to: self menuTitleBorderColor.
+ 	Preferences setParameter: #menuTitleBorderWidth to: self menuTitleBorderWidth.
+ 	Preferences setParameter: #menuColor to: self menuColor.
+ 	Preferences setParameter: #menuBorderColor to: self menuBorderColor.
+ 	Preferences setParameter: #menuLineColor to: self menuLineColor.
+ 	Preferences setParameter: #menuBorderWidth to: self menuBorderWidth.
+ 	Preferences setParameter: #menuSelectionColor to: self menuSelectionColor.
+ 
+ 	SystemProgressMorph reset.
+ 
+ 	self class current: self.
+ !

Item was added:
+ ----- Method: ColorTheme>>balloonColor (in category 'theme') -----
+ balloonColor
+ 	^ TranslucentColor
+ 			r: 0.92
+ 			g: 0.92
+ 			b: 0.706
+ 			alpha: 0.75!

Item was added:
+ ----- Method: ColorTheme>>cancelColor (in category 'theme') -----
+ cancelColor
+ 	^ Color lightRed!

Item was added:
+ ----- Method: ColorTheme>>defaultWorldColor (in category 'theme') -----
+ defaultWorldColor
+ 	^ Color blue muchLighter!

Item was added:
+ ----- Method: ColorTheme>>dialog3DTitles (in category 'theme - dialogs') -----
+ dialog3DTitles
+ 	^ true!

Item was added:
+ ----- Method: ColorTheme>>dialogBorderColor (in category 'theme - dialogs') -----
+ dialogBorderColor
+ 	^ Color fromArray: #(0.355 0.516 1.0 )!

Item was added:
+ ----- Method: ColorTheme>>dialogBorderWidth (in category 'theme - dialogs') -----
+ dialogBorderWidth
+ 	^ 4!

Item was added:
+ ----- Method: ColorTheme>>dialogButtonBorderWidth (in category 'theme - dialogs') -----
+ dialogButtonBorderWidth
+ 	^ 0!

Item was added:
+ ----- Method: ColorTheme>>dialogColor (in category 'theme - dialogs') -----
+ dialogColor
+ 	^ Color paleYellow!

Item was added:
+ ----- Method: ColorTheme>>dialogPaneBorderColor (in category 'theme - dialogs') -----
+ dialogPaneBorderColor
+ 	^ Color black
+ !

Item was added:
+ ----- Method: ColorTheme>>dialogPaneBorderWidth (in category 'theme - dialogs') -----
+ dialogPaneBorderWidth
+ 	^ 0!

Item was added:
+ ----- Method: ColorTheme>>dialogPaneRampOrColor (in category 'theme - dialogs') -----
+ dialogPaneRampOrColor
+ 	^ {0.0 -> (Color r: 0.742 g: 0.871 b: 1.0).
+ 		1.0 -> (Color r: 0.516 g: 0.645 b: 1.0)}!

Item was added:
+ ----- Method: ColorTheme>>dialogRampOrColor (in category 'theme - dialogs') -----
+ dialogRampOrColor
+ 	^ {0.0 -> (Color r: 0.516 g: 0.645 b: 1.0).
+ 		1.0 -> (Color r: 0.742 g: 0.871 b: 1.0)}!

Item was added:
+ ----- Method: ColorTheme>>dialogTextBoxBorderColor (in category 'theme - dialogs') -----
+ dialogTextBoxBorderColor
+ 	^ Color black!

Item was added:
+ ----- Method: ColorTheme>>dialogTextBoxColor (in category 'theme - dialogs') -----
+ dialogTextBoxColor
+ 	^ Color white!

Item was added:
+ ----- Method: ColorTheme>>disabledColor (in category 'theme') -----
+ disabledColor
+ 	^ Color lightGray!

Item was added:
+ ----- Method: ColorTheme>>dockingBarAutoGradient (in category 'theme - dockingbar') -----
+ dockingBarAutoGradient
+ 	^ true!

Item was added:
+ ----- Method: ColorTheme>>dockingBarColor (in category 'theme - dockingbar') -----
+ dockingBarColor
+ 	^ Color r: 0.6 g: 0.7 b: 1!

Item was added:
+ ----- Method: ColorTheme>>dockingBarGradientRamp (in category 'theme - dockingbar') -----
+ dockingBarGradientRamp
+ 	^ { 0.0 -> Color white.
+ 		1.0 -> (Color r: 0.6 g: 0.7 b: 1) }!

Item was added:
+ ----- Method: ColorTheme>>helpColor (in category 'theme') -----
+ helpColor
+ 	^ Color lightGreen!

Item was added:
+ ----- Method: ColorTheme>>insertionPointColor (in category 'theme') -----
+ insertionPointColor
+ 	^ Color red!

Item was added:
+ ----- Method: ColorTheme>>keyboardFocusColor (in category 'theme') -----
+ keyboardFocusColor
+ 	^ Color r: 0.6 g: 1 b: 1!

Item was added:
+ ----- Method: ColorTheme>>menuBorderColor (in category 'theme - menus') -----
+ menuBorderColor
+ 	^ Color r: 0.2 g: 0.3 b: 0.9!

Item was added:
+ ----- Method: ColorTheme>>menuBorderWidth (in category 'theme - menus') -----
+ menuBorderWidth
+ 	^ 2!

Item was added:
+ ----- Method: ColorTheme>>menuColor (in category 'theme - menus') -----
+ menuColor
+ 	^ Color r: 0.85 g: 0.9 b: 1!

Item was added:
+ ----- Method: ColorTheme>>menuLineColor (in category 'theme - menus') -----
+ menuLineColor
+ 	^ Color r: 0.6 g: 0.7 b: 1!

Item was added:
+ ----- Method: ColorTheme>>menuSelectionColor (in category 'theme - menus') -----
+ menuSelectionColor
+ 	^ Color r: 0.2 g: 0.3 b: 0.9!

Item was added:
+ ----- Method: ColorTheme>>menuTitleBorderColor (in category 'theme - menus') -----
+ menuTitleBorderColor
+ 	^ Color r: 0.6 g: 0.7 b: 1!

Item was added:
+ ----- Method: ColorTheme>>menuTitleBorderWidth (in category 'theme - menus') -----
+ menuTitleBorderWidth
+ 	^ 6!

Item was added:
+ ----- Method: ColorTheme>>menuTitleColor (in category 'theme - menus') -----
+ menuTitleColor
+ 	^ Color r: 0.6 g: 0.7 b: 1!

Item was added:
+ ----- Method: ColorTheme>>okColor (in category 'theme') -----
+ okColor
+ 	^ Color lightGreen!

Item was added:
+ ----- Method: ColorTheme>>textHighlightColor (in category 'theme') -----
+ textHighlightColor
+ 	^ Color blue muchLighter alpha: 0.7!



More information about the Squeak-dev mailing list