OK, thanks for your help!

Just to be sure: Is it not possible to link BMPs, PNGs, RGBs on linking-time?

Is it the only possibility to do static linking with XPM? Then I have to use 
XPM...

Second question: Does XPM, respectively FLTK support transparency?

>
> > My question is how to create this idata-String which i have=20
> > to use to create the Fl_RGB_Image.
> >=20
> > Because I want to statically link the picture into my code,=20
> > and over the Fl_RGB_Image this seems to be done. But over=20
> > Fl_BMP_Image it is dinamically loaded on runtime.... Or ist=20
> > this wrong?
>
> Ah, sorry. I thought you wanted to load images at runtime.
> If you want to load images at build time, rather than using Fl_RGB_Image
> you might be better off just using fluid to build in the images for you
> - it can serialise most common image formats into XPM's and store them
> as the image data for a widget for you.
>
> You can then access that image data from the widgets image() method.
>
> Is that any good?
>
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS=
> 14 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to