stx_goodies_libcairo.st
changeset 13 71529a6f007d
parent 12 e5f0c18af8a9
child 14 142818deac55
--- a/stx_goodies_libcairo.st	Thu Jun 14 09:18:25 2012 +0000
+++ b/stx_goodies_libcairo.st	Sat Jun 16 06:58:18 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'    "Collection - superclass of Cairo::Matrix "
+        #'stx:libview'    "DeviceGraphicsContext - superclass of extended SimpleView "
     )
 ! !
 
 !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'
@@ -94,6 +106,9 @@
 !
 
 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:
@@ -101,7 +116,6 @@
         SimpleView cairo
         SimpleView cairoSurface
         XWorkstation cairoSurfaceFor:
-        XWorkstation visualStructure
         'Cairo class' libraryName
         'Cairo class' primDebugResetStaticData
         'Cairo class' primFormatStrideForWidth:width: