[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: drawing an image over different composites
|
Best way is to create a Shell with POPUP (I think it's POPUP) styling and add a repaint listener. Unfortunately, you're regular Shell looses focus that way. You could also place Canvas(s) in various places throughout your Shell (ie wherever you want an image) and then add paint listeners to those. As for drawing the *same* image, splitting it over different canvases, you'll have to do the transforms yourself (or use the Advanced Graphics API, not sure if it can do what you want or not) and paint the result in the repaint listeners.