SurfacePlugin howto?

Andreas Raab andreas.raab at gmx.de
Sat Nov 15 04:48:57 UTC 2003


> However I'm not sure how you tell the BitBltPlugin to flip 
> from using the screen to using the display surface
> anyone know?

Simple. Just substitute the surface handle for the "bits" of the form. If it
happens to be Display it'll call ioShowDisplay(). If you want to get
fancier, provide a subclass of DisplayScreen that handles creation/destroy
and simply make it #beDisplay.

Cheers,
  - Andreas

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On 
> Behalf Of John M McIntosh
> Sent: Saturday, November 15, 2003 5:36 AM
> To: The general-purpose Squeak developers list
> Subject: SurfacePlugin howto? 
> 
> 
> Ok, I think I know how to setup a callback to the 
> SurfacePlugin to say  
> what the entry points are.
> 
> However I'm not sure how you tell the BitBltPlugin to flip 
> from using  
> the screen to using the display surface
> anyone know?
> 
> --
> ==============================================================
> ========== 
> ===
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd.  
> http://www.smalltalkconsulting.com
> 
> ==============================================================
> ========== 
> ===
> 
> 




More information about the Squeak-dev mailing list