×

Discussion Board

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

    Meaning of CDirectScreenBitmap::TSettingsFlags?

    Hi,

    Can anyone shed any light on the meaning of EIncrementalUpdate, which is one of the values from TSettingsFlags, used in CDirectScreenBitmap (cdsb.h) - this header file reads:
    enum TSettingsFlags
    {
    ENone = 0,
    EDoubleBuffer = 1,
    EIncrementalUpdate = 2
    };

    All calls to CDirectScreenBitmap::Create() that I was able to locate use EDoubleBuffer. Would there be any advantage in using EIncrementalUpdate or simply ENone? Any help on the meaning of these flags would be much appreciated.

    Thanks,

    Jorge

  2. #2
    Regular Contributor
    Join Date
    Aug 2004
    Location
    Hyderabad-India
    Posts
    160

    Re: Meaning of CDirectScreenBitmap::TSettingsFlags?

    Hi,

    Bitmap drawing can be done either in incremental or double buffered way
    based on the API you are using.
    S60 devices support double buffered drawing with CDirectScreenBitmap.

    CDirectScreenBitmap iDrawBitmap;
    iDrawBitmap->Create(iRect, CDirectScreenBitmap::EDoubleBuffer);

    Here, iRect is the drawing rectangle which uses double buffered way to update the screen.


    --
    VVS.Naresh
    --

  3. #3
    Registered User
    Join Date
    Sep 2005
    Posts
    12

    Re: Meaning of CDirectScreenBitmap::TSettingsFlags?

    But what happens in the incremental way? In that case are we drawing directly to the screen bitmap (possibly a hardware bitmap) ? Do you know if EIncrementalUpdate is even supported?

    Thanks and Best Regards,

    Jorge

Similar Threads

  1. The correct meaning of MAX JAR size
    By bigrio in forum Mobile Java General
    Replies: 1
    Last Post: 2004-11-16, 10:30
  2. The correct meaning of MAX JAR size
    By bigrio in forum Mobile Java General
    Replies: 0
    Last Post: 2004-11-13, 11:03
  3. what is the meaning of leave code= - 2147483647
    By skylakezzz in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2003-10-13, 09:44
  4. What is the meaning of this error code?
    By Wah in forum Symbian
    Replies: 0
    Last Post: 2002-07-02, 04:57
  5. Is Push over SMS secure, meaning encrypted?
    By ask_expert in forum General Messaging
    Replies: 1
    Last Post: 2002-06-18, 15:32

Posting Permissions

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