The Trunk: Morphic-mt.913.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-mt.913.mcz

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

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

Name: Morphic-mt.913
Author: mt
Time: 21 April 2015, 5:40:21.359 pm
UUID: 63d97c5f-77da-d14f-b59f-90b34885524c
Ancestors: Morphic-mt.912

QuickFix to make non-3d menu separator not so big. (Needs refactoring.)

=============== Diff against Morphic-mt.912 ===============

Item was changed:
  ----- Method: MenuLineMorph>>drawOn: (in category 'drawing') -----
  drawOn: aCanvas
  | baseColor |
  baseColor := Preferences menuColorFromWorld
  ifTrue: [owner color twiceDarker]
  ifFalse: [Preferences menuAppearance3d
  ifTrue: [owner color]
  ifFalse: [MenuMorph menuLineColor]].
  Preferences menuAppearance3d
  ifTrue: [
  aCanvas
  fillRectangle: (bounds topLeft corner: bounds rightCenter)
  color: baseColor twiceDarker.
 
  aCanvas
  fillRectangle: (bounds leftCenter corner: bounds bottomRight)
  color: baseColor twiceLighter]
  ifFalse: [
  aCanvas
+ fillRectangle: ((bounds topLeft corner: bounds bottomRight) insetBy: (0@0 corner: 0@ 1))
- fillRectangle: (bounds topLeft corner: bounds bottomRight)
  color: baseColor]!