class: GradientBackground
added: #possibleDirections
comment/format in: #possibleGradientDirections
--- 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 $'
! !