> So after all of this, my question is now - how do I tell constructor to
not
> find the "closest" color match when I copy and paste a bitmap into
> constructor?

you cant.

> If there is no way to do this, is there any other avenue that
> I can take to get my bitmap information into my code cleanly?

how about using the pilrc plugin ONLY for your bitmap? :) the official
syntax:

BITMAP...
  {normal options here}
  BITMAPPALETTE "file.pal"

PALETTE ID {id} "file.pal"

file.pal is a simple text file with r g b (spaces) for each color on each
new line. :) the PALETTE tag allows you to add a palette resource, to pass
into WinSetPalette() like the following:

memHandle = DmGet1Resource('PALT', id);
WinPalette(winPaletteSet, 0, 16,
           (RGBColorType *)MemHandleLock(memHandle));
MemHandleUnlock(memHandle);
DmReleaseResource(memHandle);

thats the docs *g*

> I find it annoying that there doesn't appear to be an option to copy and
> paste w/o that color matching algorithm being run in Constructor.

not our problem, your problem, and metrowerks :)

---
Aaron Ardiri                               [EMAIL PROTECTED]
CEO - CTO                                                  +46 70 656 1143
Mobile Wizardry                             http://www.mobilewizardry.com/



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to