Hi,
I want to display an image as background on the screen.I want to take that image from c:Data\Images of winscw but not from the mbm file.Please tell me how to do this......
Hi,
I want to display an image as background on the screen.I want to take that image from c:Data\Images of winscw but not from the mbm file.Please tell me how to do this......
Last edited by babjan saheb; 2009-01-22 at 05:41.
If u don't want to use .mbm file, then you have to decode the files using CImageDecoder to decode images into CFbsBitmap...
Then you can BitBlt the Bitmap on to the screen in ur view's Draw()....
Hi,
you can use any format you want - but to display data you have to initialize the CFbsBitmap object and put all data in it. You can use the CImageDecoder to load the bitmap, but you can also open e.g. the BMP file on your own as and oridnary file, process it, load data, palette, etc. and initialize the CFbsBitmap on your own...
BR
STeN
Hi,
on which screen? The transparency can be achieved by using the proper mask for the displayed file or you can try to do it on your own:
http://wiki.forum.nokia.com/index.ph...e_without_mask
You can set also transparenty in RWindow level - but I'm not sure it works on S60 3rd, the UIQ3 supports it (http://discussion.forum.nokia.com/fo...ad.php?t=93535).
BR
STeN
Thanks for your reply....
In my application the mobile theme is visible as background...i want to display my image as background...Can i do that?...If possible how to do that....
Hi stenlik,
You said that we can also open e.g. the BMP file on your own as and oridnary file, process it, load data, palette, etc. and initialize the CFbsBitmap on your own...I could not understand this...How to do that???
Begin with reading help "Symbian OS v9.x » Symbian OS reference » C++ component reference » Graphics FBSERV » CFbsBitmap"
Also read in Wiki - How to read images to Symbian bitmap
Last edited by A.A.M.; 2009-01-22 at 07:22.
Yes, it's possible, see example: Drawing skins in container