On 7/25/15, Antonio Scuri <[email protected]> wrote:
>    Certainly 0xffffffffffffffff is an invalid valid value it is not what
> the system expects. In your case the native parent will be the dialog.
> ih->parent->handle is not necessaryly the native parent, the
> function iupChildTreeGetNativeParentHandle(ih) will return you that.
>

Okay, I'm making further progress on the labels now. I'm looking at
the image labels. A few questions:

- Is there already code to help me convert an 8-bit per pixel image
into a 32-bit representation? It looks like Iup has it's own
convention for interpreting 8-bit images.

- My label is triggering iupdrvImageCreateImage() which I have
re-written from the 2010 code because it wasn't quite correct. I also
see functions iupdrvImageCreateImageRaw() and iupdrvImageGetRawData()
which contain similar functionality which is tempting me to do a lot
of copy/paste duplication. What are the differences for these
functions and what are they used by? How should I approach factoring
them?

------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to