×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    35

    Skinning in landscape mode.

    How to do skinning for landscape mode in series 60 3.0 ?. My application currently supports only portrait mode, where in we have made use of the AknsUtils class to create background skin of various controls. For battery and signal pane we use explicit drawing
    Over those areas by getting the rect to draw on using the following method.

    AknLayoutUtils::LayoutMetricsRect (AknLayoutUtils::EBatteryPane, batteryRect)

    The same is followed for Singal pane and navi pane also. Now My main problem is if I use the same code used to skin the application for portrait mode, while in landscape mode , I get strange results. Especially with battery pane and signal pane. I searched through the code and I have found some “stacon” ( status and control pane ) related skinning help specifically for landscape mode (can be seen in “aknconstant.h” in the sdk include directory). As the signal pane and battery pane are general, I believe I should get the valid “rect” irrespective of application being in landscape mode or portrait mode.

    My portrait mode skinning if perfect and looks good.
    I am using the public series 60 3.0 _2006_16 sdk.

    It will a great help if anybody could tell me how to do it ?

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    13

    Re: Skinning in landscape mode.

    Quote Originally Posted by ravinder007
    How to do skinning for landscape mode in series 60 3.0 ?. My application currently supports only portrait mode, where in we have made use of the AknsUtils class to create background skin of various controls. For battery and signal pane we use explicit drawing
    Over those areas by getting the rect to draw on using the following method.

    AknLayoutUtils::LayoutMetricsRect (AknLayoutUtils::EBatteryPane, batteryRect)

    The same is followed for Singal pane and navi pane also. Now My main problem is if I use the same code used to skin the application for portrait mode, while in landscape mode , I get strange results. Especially with battery pane and signal pane. I searched through the code and I have found some “stacon” ( status and control pane ) related skinning help specifically for landscape mode (can be seen in “aknconstant.h” in the sdk include directory). As the signal pane and battery pane are general, I believe I should get the valid “rect” irrespective of application being in landscape mode or portrait mode.

    My portrait mode skinning if perfect and looks good.
    I am using the public series 60 3.0 _2006_16 sdk.

    It will a great help if anybody could tell me how to do it ?
    hi~ravinder007
    can u please give me a example about "HOW TO SKIN THE CONTROL PANEL IN THE SDK 3.0 INVIROMENT".

    THANK YOU

Similar Threads

  1. Bluetooth PARK mode
    By vbonnefond in forum Bluetooth Technology
    Replies: 2
    Last Post: 2008-11-03, 12:05
  2. Idle Mode Text on Nokia 6680
    By nitinkhobragade in forum General Development Questions
    Replies: 1
    Last Post: 2006-07-10, 18:52
  3. Nokia 30: GPRS & CSD mode simultaneously?
    By Alanago in forum Nokia M2M
    Replies: 4
    Last Post: 2005-02-15, 16:00
  4. Controlling the edit mode of a TextField in 6100
    By ronitr in forum Mobile Java General
    Replies: 1
    Last Post: 2004-05-06, 15:13
  5. What can we learn from this ?
    By dtianx in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2004-04-28, 03:45

Posting Permissions

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