# HG changeset patch # User Stefan Vogel # Date 990109749 -7200 # Node ID 7f87cd2ae010d576e9c697dcb304f8e7996f7b4e # Parent 188cd692f8710e5be15a397312fb0d46e3370044 Use diff -r 188cd692f871 -r 7f87cd2ae010 DeviceGraphicsContext.st --- a/DeviceGraphicsContext.st Thu May 17 16:17:55 2001 +0200 +++ b/DeviceGraphicsContext.st Thu May 17 16:29:09 2001 +0200 @@ -103,6 +103,8 @@ on:aDevice "create a new drawable on aDevice" + + "/ send out a warning: #on: is typically used to create a view "/ operating on a model. "/ Please use #onDevice: to avoid confusion. @@ -274,6 +276,8 @@ clipByChildren "drawing shall be done into my view only (default)" + + self obsoleteMethodWarning:'use #clippedByChildren:true'. ^ self clippedByChildren:true @@ -657,6 +661,8 @@ noClipByChildren "drawing shall also be done into subviews" + + self obsoleteMethodWarning:'use #clippedByChildren:false'. ^ self clippedByChildren:false @@ -3858,6 +3864,6 @@ !DeviceGraphicsContext class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libview/DeviceGraphicsContext.st,v 1.80 2000-09-06 13:47:20 cg Exp $' + ^ '$Header: /cvs/stx/stx/libview/DeviceGraphicsContext.st,v 1.81 2001-05-17 14:29:09 stefan Exp $' ! ! DeviceGraphicsContext initialize!