Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User GamerSg2's Avatar
    Join Date
    Apr 2004
    Posts
    7
    Hi, i am just getting started with development on Symbian OS 60v2 in C++. I have a few questions:

    1) There doesnt seem to be an example in the SDK which demonstrates a fullscreen application.

    2) How good is the emulator? I don't currently own a Symbain OS phone but plan to purchase one in the future. I tried compiling the Direct example and when i run it in the emulator, all i get is a blank white screen. In many of the examples, they either don't run at all or the menu is inaccessible and i cannot exit them.

    3) What is the fastest way to draw to the screen for games in C++. There appear to be atleast 3 ways to do so.

  2. #2
    Super Contributor sopta007's Avatar
    Join Date
    Apr 2003
    Location
    Czech Republic
    Posts
    915
    when you creating your container just call AppUi()->ApplicationRect() instead of ClientRect()

  3. #3
    Registered User Gorky77's Avatar
    Join Date
    Nov 2003
    Location
    Switzerland
    Posts
    34
    http://www.forum.nokia.com/main/1,,0...ml&fileID=4542

    this is good starting point,

    also theres a RetroBlast application that I found somewhere that is in fullscreen. in the series60 sdk theres also the animation example which is also in fullscreen

  4. #4
    Registered User GamerSg2's Avatar
    Join Date
    Apr 2004
    Posts
    7
    Thx sopta007, it works.

    But im afraid that by using this method, i am just drawing over the status pane. Beneath it, the status pane is still being drawn every frame (icon/Application title/etc..). Is there a more efficient way to do this? Something like disable the drawing of the status pane altogether?

  5. #5
    Registered User random's Avatar
    Join Date
    Mar 2003
    Posts
    4
    You can hide statuspane with:

    CEikStatusPane* sp = StatusPane();
    sp->MakeVisible(EFalse);

    I have a different problem with ApplicationRect. After I set the container's rectangle with SetRect, the menu is still drawn, i suspect Cba() is overriding it. However, I removed all traces to Cba() from sources, yet problem remains.

    Are there any more requirements for ApplicationRect to work? I have copied the same code that makes a program created by wizard go fullscreen, but it still shows softkeys labels on the screen.

    Please advise.

  6. #6
    Regular Contributor prakashsainani's Avatar
    Join Date
    Jul 2003
    Posts
    63
    Hi there,

    I tried your
    CEikStatusPane* sp = StatusPane();
    sp->MakeVisible(EFalse);

    But I have a question as to where should I put this in order to not see a very-initial status pane. When I click on the pplication I see the status pane and then i goes full-screen. I want it to go full-screen right away.

    For me the menu is not drawn. I would like that but I don't get it as against you who is trying to get rid of it!!

    thanks
    prakash

  7. #7
    Regular Contributor prakashsainani's Avatar
    Join Date
    Jul 2003
    Posts
    63
    Hi Random,

    Sorry I forgot to suggest.

    Just make ur own rect and pass it!

    /prakash

  8. #8
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    to get the fullscreen strait from the beginning change this to your rss file:
    RESOURCE EIK_APP_INFO
    {
    menubar=r_main_menubar;
    status_pane = r_status_pane_empty;
    // status_pane=R_AVKON_STATUS_PANE_LAYOUT_USUAL;
    cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    }

    RESOURCE STATUS_PANE_APP_MODEL r_status_pane_empty
    {
    layout = R_AVKON_STATUS_PANE_LAYOUT_EMPTY;
    }

    yucca

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved