Cairo__SurfaceObserverMode.st
changeset 29 6ba06265e543
child 88 9d51db2ba641
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Cairo__SurfaceObserverMode.st	Sun Dec 28 22:38:24 2014 +0100
@@ -0,0 +1,34 @@
+"{ Package: 'stx:goodies/libcairo' }"
+
+"{ NameSpace: Cairo }"
+
+SharedPool subclass:#SurfaceObserverMode
+	instanceVariableNames:''
+	classVariableNames:'CAIRO_SURFACE_OBSERVER_NORMAL
+		CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS'
+	poolDictionaries:''
+	category:'Cairo-Constants'
+!
+
+!SurfaceObserverMode class methodsFor:'initialization'!
+
+initialize
+
+    CAIRO_SURFACE_OBSERVER_NORMAL := 0.
+    CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS := 1.
+! !
+
+!SurfaceObserverMode class methodsFor:'constants'!
+
+CAIRO_SURFACE_OBSERVER_NORMAL
+
+    ^CAIRO_SURFACE_OBSERVER_NORMAL
+!
+
+CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS
+
+    ^CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS
+! !
+
+
+SurfaceObserverMode initialize!