[squeak-dev] The Inbox: Morphic-kfr.1064.mcz
commits at source.squeak.org
commits at source.squeak.org
Sun Jan 10 17:38:47 UTC 2016
A new version of Morphic was added to project The Inbox:
http://source.squeak.org/inbox/Morphic-kfr.1064.mcz
==================== Summary ====================
Name: Morphic-kfr.1064
Author: kfr
Time: 6 January 2016, 6:38:01.020914 pm
UUID: b190605b-c0ac-4b6d-8239-650c69aed317
Ancestors: Morphic-eem.1063
Add preference backgroundColor to SystemWindows. Add preference to a a few places that where hardcoded to color white.
=============== Diff against Morphic-eem.1063 ===============
Item was changed:
----- Method: PluggableListMorph>>indicateUnfiltered (in category 'filtering') -----
indicateUnfiltered
+ self color: SystemWindow backgroundColor!
- self color: Color white!
Item was changed:
----- Method: ScrollPane>>defaultColor (in category 'initialization') -----
defaultColor
+ ^ SystemWindow backgroundColor!
- ^ Color white !
Item was changed:
MorphicModel subclass: #SystemWindow
instanceVariableNames: 'labelString stripes label closeBox collapseBox activeOnlyOnTop paneMorphs paneRects collapsedFrame fullFrame isCollapsed menuBox mustNotClose labelWidgetAllowance updatablePanes allowReframeHandles labelArea expandBox'
+ classVariableNames: 'BackgroundColor ClickOnLabelToEdit CloseBoxFrame CloseBoxImageFlat CloseBoxImageGradient CollapseBoxImageFlat CollapseBoxImageGradient DoubleClickOnLabelToExpand ExpandBoxFrame ExpandBoxImageFlat ExpandBoxImageGradient FocusFollowsMouse GradientWindow HideExpandButton MenuBoxFrame MenuBoxImageFlat MenuBoxImageGradient ResizeAlongEdges ReuseWindows TopWindow WindowsRaiseOnClick'
- classVariableNames: 'ClickOnLabelToEdit CloseBoxFrame CloseBoxImageFlat CloseBoxImageGradient CollapseBoxImageFlat CollapseBoxImageGradient DoubleClickOnLabelToExpand ExpandBoxFrame ExpandBoxImageFlat ExpandBoxImageGradient FocusFollowsMouse GradientWindow HideExpandButton MenuBoxFrame MenuBoxImageFlat MenuBoxImageGradient ResizeAlongEdges ReuseWindows TopWindow WindowsRaiseOnClick'
poolDictionaries: ''
category: 'Morphic-Windows'!
!SystemWindow commentStamp: '<historical>' prior: 0!
SystemWindow is the Morphic equivalent of StandardSystemView -- a labelled container for rectangular views, with iconic facilities for close, collapse/expand, and resizing.
The attribute onlyActiveOnTop, if set to true (and any call to activate will set this), determines that only the top member of a collection of such windows on the screen shall be active. To be not active means that a mouse click in any region will only result in bringing the window to the top and then making it active.!
Item was added:
+ ----- Method: SystemWindow class>>backgroundColor (in category 'preferences') -----
+ backgroundColor
+
+ <preference: 'backgroundColor'
+ category: 'windows'
+ description: 'set the backgound color of window'
+ type: #Color>
+ ^ BackgroundColor ifNil: [Color white]
+ !
Item was added:
+ ----- Method: SystemWindow class>>backgroundColor: (in category 'preferences') -----
+ backgroundColor: aColor
+
+ BackgroundColor := aColor
+ !
More information about the Squeak-dev
mailing list
|