The Trunk: System-mt.880.mcz

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

The Trunk: System-mt.880.mcz

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

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

Name: System-mt.880
Author: mt
Time: 11 August 2016, 7:36:13.999369 pm
UUID: ef78922d-0add-b14e-9edd-02fdd983322c
Ancestors: System-mt.879

Discard sub-menu marker from theme because we go with the text color of menu entries.

=============== Diff against System-mt.879 ===============

Item was changed:
  ----- Method: SqueakTheme class>>addMenusAndDockingBars: (in category 'instance creation') -----
  addMenusAndDockingBars: theme
 
  theme
  set: #borderColor for: #MenuMorph to: Color gray;
  set: #borderWidth for: #MenuMorph to: 1;
  set: #borderStyle for: #MenuMorph to: BorderStyle default;
  set: #color for: #MenuMorph to: (Color gray: 0.9);
 
  set: #titleBorderColor for: #MenuMorph to: (Color r: 0.6 g: 0.7 b: 1);
  set: #titleBorderWidth for: #MenuMorph to: 0;
  set: #titleBorderStyle for: #MenuMorph to: BorderStyle default;
  set: #titleColor for: #MenuMorph to: Color transparent;
  set: #titleFont for: #MenuMorph to: [Preferences windowTitleFont];
  set: #titleTextColor for: #MenuMorph to: Color black;
 
  set: #lineColor for: #MenuMorph to: (Color gray: 0.9);
  set: #lineStyle for: #MenuMorph to: BorderStyle inset;
  set: #lineWidth for: #MenuMorph to: 2.
 
  theme
  set: #font for: #MenuItemMorph to: [Preferences standardMenuFont];
  set: #textColor for: #MenuItemMorph to: Color black;
  set: #disabledTextColor for: #MenuItemMorph to: Color gray;
  set: #selectionColor for: #MenuItemMorph to: (Color r: 0.4 g: 0.5 b: 0.7);
+ set: #selectionTextColor for: #MenuItemMorph to: Color white.
- set: #selectionTextColor for: #MenuItemMorph to: Color white;
- set: #subMenuMarker for: #MenuItemMorph to: nil. "Use hard-coded default. See MenuItemMorph."
 
  "Derive some stuff for the docking bar morph, which looks mostly like a menu morph."
  theme
  set: #borderWidth for: #DockingBarMorph to: 0;
  derive: #borderColor for: #DockingBarMorph from: #MenuMorph;
  derive: #borderStyle for: #DockingBarMorph from: #MenuMorph;
  derive: #color for: #DockingBarMorph from: #MenuMorph;
 
  derive: #lineColor for: #DockingBarMorph from: #MenuMorph;
  derive: #lineStyle for: #DockingBarMorph from: #MenuMorph;
  derive: #lineWidth for: #DockingBarMorph from: #MenuMorph.
 
  "The world main docking bar."
  theme
  derive: #font for: #TheWorldMainDockingBar from: #MenuItemMorph;
  derive: #textColor for: #TheWorldMainDockingBar from: #MenuItemMorph;
  set: #logoColor for: #TheWorldMainDockingBar to: Color black;
  set: #selectionLogoColor for: #TheWorldMainDockingBar to: Color white.!