# HG changeset patch # User Claus Gittinger # Date 825686449 -3600 # Node ID f4c4d5c1be6b47f1409875d993bc31bfd673bf68 # Parent ef26eba8c854ba7f11344604ce4194b3763708ff parse style-resource directive diff -r ef26eba8c854 -r f4c4d5c1be6b MenuView.st --- a/MenuView.st Fri Mar 01 14:07:13 1996 +0100 +++ b/MenuView.st Fri Mar 01 14:20:49 1996 +0100 @@ -252,6 +252,18 @@ !MenuView class methodsFor:'defaults'! updateStyleCache + "extract values from the styleSheet and cache them in class variables" + + + DefaultViewBackground := StyleSheet colorAt:'menuViewBackground'. DefaultForegroundColor := StyleSheet colorAt:'menuForegroundColor'. DefaultBackgroundColor := StyleSheet colorAt:'menuBackgroundColor'. @@ -270,7 +282,7 @@ DefaultFont := StyleSheet fontAt:'menuFont'. ShowAcceleratorKeys := StyleSheet at:'menuShowAccelerators' default:true. - "Modified: 29.2.1996 / 03:56:53 / cg" + "Modified: 1.3.1996 / 13:45:31 / cg" ! ! !MenuView methodsFor:'accessing-behavior'! @@ -2246,5 +2258,5 @@ !MenuView class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libwidg/MenuView.st,v 1.51 1996-02-29 11:55:15 cg Exp $' + ^ '$Header: /cvs/stx/stx/libwidg/MenuView.st,v 1.52 1996-03-01 13:20:49 cg Exp $' ! !