×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    57

    CEikLabel with overrided color and backgroud skin

    My application is skin aware and is thus using the backgound specified in Themes. How can I create a Label that has it's text specified in e.g. Red and the background is "transparent", meaning that the bitmap is visible thought label's background. OverrideColorL() seems to make the backround non-transparent :(

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    57
    If anyone is interested, I overrided the Draw method to make my own skin-aware label control.

  3. #3
    Regular Contributor
    Join Date
    Dec 2004
    Location
    Mumbai
    Posts
    67

    Transparent label

    Hi I'm interested in how you got ur Draw method over ridden to get a transparent label. Please let me know ASAP.


    Thanx

    Kamal Singhania

  4. #4
    Regular Contributor
    Join Date
    Feb 2004
    Posts
    58
    in Series 60 v 20 CEikLabel has a method SetBrushStyle()
    call this method after construction with CGraphicsContext::ENullBrush parameter. This will help.

  5. #5
    Registered User
    Join Date
    Jan 2005
    Posts
    5
    Yeah sure if you wanna share your override draw method for label. I have implemented the same label but the skin image on background of label is "some part of the skin image" which you cannot call as "transparent".

  6. #6
    Regular Contributor
    Join Date
    Mar 2005
    Posts
    176
    after calling setbrushstyle u can draw using a pen with the color u want... i've seen some application wich have a transparent backgroud. how can this be done?

Posting Permissions

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