×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Skins with 3rd edition.

    With 2nd edition I could easily get the background sking with this line:

    CFbsBitmap* BBgg = AknsUtils::GetCachedBitmap(skin,KAknsIIDSkinBmpMainPaneUsual);

    But with 3rd SDK, the header says "Obsolete, do not use!" and returned pointer is NULL. Also other TAknsItemID I tried returned NULL values.

    Anybody have idea of which TAknsItemID would return the normal background image.

    yucca

  2. #2
    Registered User
    Join Date
    Apr 2005
    Posts
    33

    Re: Skins with 3rd edition.

    we are trying to use MAknsSkinInstance::GetCachedItemData but still it returns NULL for some critical parts like CBA etc.
    Any hints?

    Ahti.

  3. #3
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: Skins with 3rd edition.

    yucca, is it possible to change the background picture/image in a skin, on the fly, i.e. dynamically? Can you create a skin with a default bground image, then say every five minutes, change the image programmatically? or are skins created to only use on background image, and this is hardcoded?

    I took a skin, and tried changing it's background image, with failure, but programmatically?

    Any thoughts?

    Sincerely,
    Jason Glass
    http://IChiBanComputers.Com

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

    Re: Skins with 3rd edition.

    basically any system components are using the skins defined for the system, so you would need to chnage the system skin, and AFAIK it is not public information, though you could try modifying the ini file directly and see what happens.

    Anyway, my problem was using the skin in custom control, and end up using the 'normal' way on drawing it in draw function without getting the image out first.

    yucca

  5. #5
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: Skins with 3rd edition.

    with regrads to "chnage the system skin, and AFAIK it is not public information" are you referrring to the rshareddataclient workaround? if so, been ther and done that, not very reliable.

    Or are you speaking of a different means pray tell?

    Sincerely,
    Jason Glass
    http://IChiBanComputers.Com

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

    Re: Skins with 3rd edition.

    ok, then I'm not really having any more ideas left, sorry about that.

    yucca

  7. #7
    Registered User
    Join Date
    Mar 2006
    Posts
    1

    Re: Skins with 3rd edition.

    With sdk3 KAknsIIDSkinBmpMainPaneUsual has changed to KAknsIIDQsnBgAreaMain and this skin element has changed from CAknsBitmapItemData to CAknsEffectQueueItemData.

    I think this is the reason why GetCachedBitmap(skin,KAknsIIDSkinBmpMainPaneUsual); returns NULL.

    Seems like there is no way to get bitmap from effectqueue typed items.

    Mihkel

Similar Threads

  1. Screen saver API in 3rd edition
    By magicdave in forum Symbian Media (Closed)
    Replies: 5
    Last Post: 2007-10-30, 13:49
  2. When SDK for Symbian 3rd edition will be available?
    By symbianx in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2006-05-08, 09:21
  3. 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
  4. Example Applications for 3rd Edition SDK
    By razas in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2005-12-21, 08:55
  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
  •  
×