|
| Scalable UI conflicts with CWsBitmap::Load and CBaseMtmUiData::CreateBitmapsL() |
 |
Mon, 13 Feb 2006 16:56:07 +010 |
Hello there,
it seems that
CWsBitmap::Load() and
CBaseMtmUiData::CreateBitmapsL()
don't like the bitmap identifiers that are generated by the S60
mifconv tool using the /H option to generate a header (mbg)
file. This tool comes with the Nokia SDKs starting with 2.8 (2nd
edition, FP3) - basically all their SDKs that support scalable UI.
If you're using this tool to generate MIF and MBM files, the
bitmap identifiers for those images that are stored in the MBM
are forced to start with 16384.
But now, if you pass in one of those bitmap identifiers to
CWsBitmap::Load() as the bitmap id, this fails with an KErrEof.
I suppose, for the same cause calling CreateBitmapsL() fails in
case you use these scalable UI identifiers.
As a workaround we subtract the first identifier from any
subsequent ones when passing them into these functions.
Is this something that is going to be fixed in future versions
of the Symbian SDK?
Regards,
|
| Post Reply
|
|
|
|
|
|
|
|
|
|