[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Where to find checkbox images for TableViewer

Patrick,

Rather than having to capture an image on each platform using screen shots, try creating a check button at runtime (perhaps in a shell off-screen so it isn't visible to the user) and capture a checked and unchecked image from the button. I believe the SWT homepage has a snippet which show how to capture images from widgets.

Bonne chance,

Matthew

Patrick Godeau wrote:
Tom Schindl a écrit :
I'm afraid there aren't any. You need to create them your self by making
screenshots.

So, I must make scheenshots of checked/unchecked boxes for each platform, and test the OS at runtime to display the correct image?

This is not what I expected for multiplatform "Write Once, Run
Everywhere" :-(

Is there really no better alternative?