×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    3

    Unhappy S60 3rd Edition MR SDK icon scaling issues

    Having created a bitmap from a scalable image in a .mif file using:

    CFbsBitmap * const bitmap = AknIconUtils::CreateIconL(aFileName, aId);

    I then attempt to set the size using:

    bitmap->SetSizeInTwips(...)

    Regardless of what I try to set, a call to bitmap->SizeInTwips() returns TSize(0, 0).

    The same calls worked in the previous, pre-MR version of the S60 3rd Edition SDK, returning the size that I set.

    What is broken? Is there something that I need to do differently, or do I need to wait for a new version of the SDK?

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

    Re: S60 3rd Edition MR SDK icon scaling issues

    have you tried if you could still use SetSize using pixels size values ?

    yucca

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    3

    Re: S60 3rd Edition MR SDK icon scaling issues

    Yes - I have tried AknIconUtils::SetSize(...). The method does set attributes on the newly created CFbsBitmap - in that a call to bitmap->SizeInPixels() returns the value set - but there does not seem to be any visible effect in the context in which I am trying to use it (generating context icon in an MTM UI data DLL).

Similar Threads

  1. Midlet Icon problem in S60 3rd Edition
    By Amr_Monsef in forum Mobile Java General
    Replies: 40
    Last Post: 2010-11-04, 07:46
  2. Replies: 4
    Last Post: 2008-04-16, 11:29
  3. RVCT3.0 support in S60 3rd edition SDK
    By bounaux in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2006-07-05, 16:01
  4. TTime : TInt64& Int64() problem in S60 3rd edition
    By iulian_moldovan in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-01-24, 13:07
  5. OpenGL ES Support in S60 3rd Edition Beta SDK
    By choefele in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2005-12-14, 06:01

Posting Permissions

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