back to 1.14
authorStefan Vogel <sv@exept.de>
Thu, 20 Mar 2014 10:53:38 +0100
changeset 6347 194a3dd887ef
parent 6346 2d15d494e272
child 6348 52f3cb5c57ef
back to 1.14
DeviceHandle.st
--- a/DeviceHandle.st	Thu Mar 20 09:58:44 2014 +0100
+++ b/DeviceHandle.st	Thu Mar 20 10:53:38 2014 +0100
@@ -9,10 +9,11 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
+
 "{ Package: 'stx:libview' }"
 
 Object subclass:#DeviceHandle
-	instanceVariableNames:'device drawableId gcId'
+	instanceVariableNames:'device parentId drawableId gcId'
 	classVariableNames:''
 	poolDictionaries:''
 	category:'Graphics-Support'
@@ -65,6 +66,10 @@
     ^ drawableId
 
     "Modified: 20.3.1997 / 16:34:00 / cg"
+!
+
+parentId
+    ^ parentId
 ! !
 
 !DeviceHandle methodsFor:'finalization'!
@@ -87,11 +92,19 @@
     gcId := aGCId
 
     "Modified: 23.4.1996 / 22:10:26 / cg"
+!
+
+setDevice:aDevice id:aDrawableId gcId:aGCId parentId:parentIdArg
+    "set the handles contents"
+
+    device := aDevice.
+    drawableId := aDrawableId.
+    gcId := aGCId.
+    parentId := parentIdArg.
 ! !
 
 !DeviceHandle class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/DeviceHandle.st,v 1.15 2014-03-20 08:58:44 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/DeviceHandle.st,v 1.16 2014-03-20 09:53:38 stefan Exp $'
 ! !
-