--- a/stx_goodies_libcairo.st Thu Apr 23 15:35:17 2009 +0000
+++ b/stx_goodies_libcairo.st Wed May 30 20:06:35 2012 +0000
@@ -41,15 +41,27 @@
!
preRequisites
+ "list all required packages.
+ This list can be maintained manually or (better) generated and
+ updated by scanning the superclass hierarchies and looking for
+ global variable accesses. (the browser has a menu function for that)
+ Howevery, often too much is found, and you may want to explicitely
+ exclude individual packages in the #excludedFromPrerequisites method."
+
^ #(
- #'stx:libbasic' "ArrayedCollection - superclass of Cairo::PathData "
- #'stx:libview' "XWorkstation - superclass of Cairo::GLXWorkstation "
+ #'stx:libbasic' "ArrayedCollection - superclass of Cairo::GraphicsContext "
+ #'stx:libview' "DeviceWorkstation - superclass of Cairo::GLXWorkstation "
)
! !
!stx_goodies_libcairo class methodsFor:'description - contents'!
classNamesAndAttributes
+ "lists the classes which are to be included in the project.
+ Each entry in the list may be: a single class-name (symbol),
+ or an array-literal consisting of class name and attributes.
+ Attributes are: #autoload or #<os> where os is one of win32, unix,..."
+
^ #(
"<className> or (<className> attributes...) in load order"
#'Cairo::Antialias'
@@ -90,10 +102,23 @@
#'Cairo::Pattern'
#'Cairo::ScaledFont'
#'Cairo::Surface'
+ #'Cairo::Cairo::TextClusterFlags'
+ #'Cairo::Device'
+ #'Cairo::DeviceType'
+ #'Cairo::ExternalFunctions'
+ #'Cairo::PdfVersion'
+ #'Cairo::RectangleInt'
+ #'Cairo::Region'
+ #'Cairo::RegionOverlap'
+ #'Cairo::TextCluster'
+ #'Cairo::TextClusterFlags'
)
!
extensionMethodNames
+ "lists the extension methods which are to be included in the project.
+ Entries are 2-element array literals, consisting of class-name and selector."
+
^ #(
DeviceGraphicsContext drawableId
GraphicsDevice cairoSurfaceFor:
@@ -148,8 +173,30 @@
"Created: / 10-07-2008 / 23:11:59 / Jan Vrany <vranyj1@fel.cvut.cz>"
! !
+!stx_goodies_libcairo class methodsFor:'description - svn'!
+
+svnRepositoryUrlString
+ "Return a SVN repository URL of myself.
+ (Generated since 2011-04-08)
+ Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!!
+ "
+
+ ^ '$URL:: $'
+!
+
+svnRevisionNr
+ "Return a SVN revision number of myself.
+ This number is updated after a commit"
+
+ ^ "$SVN-Revision:"'nil '"$"
+! !
+
!stx_goodies_libcairo class methodsFor:'documentation'!
version
^'$Id$'
+!
+
+version_SVN
+ ^ '$Id:: $'
! !