×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Super Contributor
    Join Date
    Jul 2007
    Location
    Beijing, China
    Posts
    538

    can i draw png icon on controls

    hi,
    I wanna draw icons onto my customized controls. Drawing bmp icon is ok for me, but those icons are of png type. so I'm wondering whether i can draw png in the same way just like drawing bmp. should i convert png into bmp firstly?what's the most convenient way?need your kind suggestion.
    i use s60 c++.

    thanks
    Last edited by JackSu; 2007-08-21 at 09:51.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: can i draw png icon on controls

    What do you mean on "the same way"?

  3. #3
    Super Contributor
    Join Date
    Jul 2007
    Location
    Beijing, China
    Posts
    538

    Re: can i draw png icon on controls

    I mean create an object(CFbsBitmap)firstly and then draw(DrawBitmap).
    just like that, without conversion.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: can i draw png icon on controls

    you can load different types of images to CFbsBitmap for example by utilizing CImageDecoder.

    yucca

  5. #5
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: can i draw png icon on controls

    Quote Originally Posted by symbianyucca View Post
    you can load different types of images to CFbsBitmap for example by utilizing CImageDecoder.

    yucca
    And png is one of the supported types.
    --Mayur.

Similar Threads

  1. Replies: 7
    Last Post: 2007-09-05, 10:38
  2. Draw controls in a thread.
    By deercrane in forum Symbian
    Replies: 6
    Last Post: 2007-03-28, 12:58
  3. Get a png from internet and draw it on canvas.
    By Skarabeus in forum Symbian
    Replies: 4
    Last Post: 2007-01-24, 13:38
  4. N80 midlet icon problem revisited... questions
    By kounapuu in forum Mobile Java General
    Replies: 1
    Last Post: 2006-10-07, 20:15
  5. How can I draw the controls?
    By hydlx in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-06-19, 12:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×