class: GradientBackground
authorClaus Gittinger <cg@exept.de>
Sat, 14 Feb 2015 22:30:18 +0100
changeset 6769 5421316e7200
parent 6768 e74f22d951a6
child 6770 207aa3bfe95e
class: GradientBackground added: #possibleDirections comment/format in: #possibleGradientDirections
GradientBackground.st
--- a/GradientBackground.st	Sat Feb 14 21:17:43 2015 +0100
+++ b/GradientBackground.st	Sat Feb 14 22:30:18 2015 +0100
@@ -11,6 +11,8 @@
 "
 "{ Package: 'stx:libview' }"
 
+"{ NameSpace: Smalltalk }"
+
 AbstractBackground subclass:#GradientBackground
 	instanceVariableNames:'color1 color2 direction cachedForm usedLength'
 	classVariableNames:''
@@ -85,6 +87,12 @@
     "
 ! !
 
+!GradientBackground class methodsFor:'queries'!
+
+possibleDirections 
+    ^ #(#'northSouth' #'eastWest' )
+! !
+
 !GradientBackground methodsFor:'accessing'!
 
 color1
@@ -330,10 +338,10 @@
 !GradientBackground class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/GradientBackground.st,v 1.17 2014-01-16 14:31:54 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/GradientBackground.st,v 1.18 2015-02-14 21:30:18 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/GradientBackground.st,v 1.17 2014-01-16 14:31:54 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/GradientBackground.st,v 1.18 2015-02-14 21:30:18 cg Exp $'
 ! !