Nicolas Cellier uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-nice.373.mcz==================== Summary ====================
Name: EToys-nice.373
Author: nice
Time: 26 December 2019, 10:34:10.151074 am
UUID: 06405fa3-767a-4731-a975-8d36f56d6039
Ancestors: EToys-nice.372, EToys-mt.372
Merge EToys-nice.372, EToys-mt.372
=============== Diff against EToys-nice.372 ===============
Item was changed:
+ ----- Method: ChessPlayerAI>>statusString (in category 'accessing') -----
- ----- Method: ChessPlayerAI>>statusString (in category 'nil') -----
statusString
| av count |
^String streamContents:[:s|
(myMove == #none or:[myMove == nil]) ifFalse:[
s print: myMove value * 0.01; space.
].
av := bestVariation.
count := av at: 1.
count > 0 ifFalse:[
av := activeVariation.
count := av at: 1].
count > 0 ifFalse:[
s nextPutAll:'***'.
av := variations at: 1.
count := av at: 1.
count > 3 ifTrue:[count := 3]].
2 to: count + 1 do:[:index|
s nextPutAll: (ChessMove decodeFrom: (av at: index)) moveString.
s space].
s nextPut:$[.
s print: nodesVisited.
" s nextPut:$|.
s print: ttHits.
s nextPut: $|.
s print: alphaBetaCuts.
" s nextPut:$].
].!
Item was changed:
+ ----- Method: InteriorSolidSugarSuppliesTab>>addCustomMenuItems:hand: (in category 'menu') -----
- ----- Method: InteriorSolidSugarSuppliesTab>>addCustomMenuItems:hand: (in category 'nil') -----
addCustomMenuItems: aMenu hand: aHand
"Overridden in order to thwart super."
!
Item was changed:
+ ----- Method: SugarNavigatorBar class>>themeProperties (in category 'preferences') -----
- ----- Method: SugarNavigatorBar class>>themeProperties (in category 'nil') -----
themeProperties
^ {}!
Item was changed:
+ ----- Method: SugarNavigatorBar>>canApplyUserInterfaceTheme (in category 'visual properties') -----
- ----- Method: SugarNavigatorBar>>canApplyUserInterfaceTheme (in category 'nil') -----
canApplyUserInterfaceTheme
^ true!
Item was changed:
+ ----- Method: TextInput>>reset (in category 'input handling') -----
- ----- Method: TextInput>>reset (in category 'nil') -----
reset
textMorph setText: defaultValue!
Item was changed:
+ ----- Method: WatchMorph>>createLabels (in category 'updating') -----
- ----- Method: WatchMorph>>createLabels (in category 'nil') -----
createLabels
| numeral font h r |
self removeAllMorphs.
font := StrikeFont familyName: fontName size: (h := self height min: self width)//8.
r := 1.0 - (1.4 * font height / h).
1 to: 12 do:
[:hour |
numeral := romanNumerals
ifTrue: [#('I' 'II' 'III' 'IV' 'V' 'VI' 'VII' ' VIII' 'IX' 'X' 'XI' 'XII') at: hour]
ifFalse: [hour asString].
self addMorphBack: ((StringMorph contents: numeral font: font emphasis: 1)
center: (self radius: r hourAngle: hour)) lock].
!