Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ImageData storage in Image
ImageData storage in Image [message #454553] Sun, 24 April 2005 09:01 Go to next message
Simon Meaden is currently offline Simon MeadenFriend
Messages: 10
Registered: July 2009
Junior Member
I am writing a class that imports an XPM image into an ImageData class.
My question is regards to how an Image stores that ImageData. I am
passing an indexed ImageData but when I recover it I seem to have a
direct ImageData. Is the ImageData just used as a temporary data store
pre-Image creation?
Regards
Simon Meaden
Re: ImageData storage in Image [message #454598 is a reply to message #454553] Mon, 25 April 2005 13:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The image data is only used to create the image. It is not referenced
within the image itself, only during creation.

--
Thanks,
Rich Kulp
Re: ImageData storage in Image [message #454600 is a reply to message #454553] Mon, 25 April 2005 14:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aaa.domain.invalid

Hi,

May be you need to set the PaletteData's isDirect flag to an appropriate
value to indicate if its indexed or not.

-Chhil


Simon Meaden wrote:
> I am writing a class that imports an XPM image into an ImageData class.
> My question is regards to how an Image stores that ImageData. I am
> passing an indexed ImageData but when I recover it I seem to have a
> direct ImageData. Is the ImageData just used as a temporary data store
> pre-Image creation?
> Regards
> Simon Meaden
Re: ImageData storage in Image [message #454607 is a reply to message #454553] Mon, 25 April 2005 14:38 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Yes. ImageData represents an unallocated image.

"Simon Meaden" <simonmeaden@blueyonder.co.uk> wrote in message
news:d4fnfl$d8o$1@news.eclipse.org...
> I am writing a class that imports an XPM image into an ImageData class.
> My question is regards to how an Image stores that ImageData. I am
> passing an indexed ImageData but when I recover it I seem to have a
> direct ImageData. Is the ImageData just used as a temporary data store
> pre-Image creation?
> Regards
> Simon Meaden
Previous Topic:Closing a Shell with ON_TOP style after an ALT->TAB
Next Topic:Visual Editor 1.1M1 released
Goto Forum:
  


Current Time: Sat Apr 17 16:09:50 GMT 2021

Powered by FUDForum. Page generated in 0.01961 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top