phoneuis/easydialing/inc/easydialinglistboxdata.h
branchRCL_3
changeset 58 40a3f856b14d
parent 39 b8d67d6176f5
equal deleted inserted replaced
57:94dc1107e8b2 58:40a3f856b14d
   153         const TRect& aItemRect,
   153         const TRect& aItemRect,
   154         TBool aHighlight,
   154         TBool aHighlight,
   155         const TExtendedColors& aColors ) const;
   155         const TExtendedColors& aColors ) const;
   156     
   156     
   157     /**
   157     /**
   158      * Draws the Contact Thumbnail Icon if any else draws the dummy contact thumbnail.
   158      * Draws the Contact Thumbnail Icon if any, else draws the dummy contact thumbnail.
   159      * @param   aGc Graphics context.
   159      * @param   aGc Graphics context.
   160      * @param   aBoundingBox    Rectangle containing bounds for contact thumbnail.
   160      * @param   aBoundingBox    Rectangle containing bounds for contact thumbnail.
   161      * @param   aDescId Descriptor containing contact id.
   161      * @param   aContactIndex   Contact index for the contact data manager
   162      */
   162      */
   163     TBool DrawContactThumbnail(
   163     void DrawContactThumbnail(
   164             CWindowGc& aGc,
   164             CWindowGc& aGc,
   165             TRect aBoundingBox,
   165             TRect aBoundingBox,
   166             TPtrC aDescId) const;
   166             TInt aContactIndex ) const;
   167     
   167     
   168     /**
   168     /**
   169      * Draws the Action Menu.
   169      * Draws the Action Menu.
   170      * @param   aGc Graphics context.
   170      * @param   aGc Graphics context.
   171      * @param   aActionMenuArrowRect    Rectangle where arrow is to be drawn.
   171      * @param   aActionMenuArrowRect    Rectangle where arrow is to be drawn.
   179      * @param   aGc Graphics context.
   179      * @param   aGc Graphics context.
   180      * @param   aNameRectUnMirrored Name rect, after which the icon is drawn
   180      * @param   aNameRectUnMirrored Name rect, after which the icon is drawn
   181      * @param   aEffectiveRect The whole listbox item rect. Used for mirroring.
   181      * @param   aEffectiveRect The whole listbox item rect. Used for mirroring.
   182      */
   182      */
   183     void DrawFavouriteIcon(
   183     void DrawFavouriteIcon(
       
   184             CWindowGc& aGc, 
       
   185             TRect aNameRectUnMirrored,
       
   186             TRect aEffectiveRect) const;
       
   187     
       
   188     /**
       
   189      * Draws the SIM or Service Number icon. Takes the name rect as a parameter. Name rect
       
   190      * must be unmirrored, because the mirroring is done as the last thing
       
   191      * before drawing.
       
   192      * @param   aIcon The icon to be drawn
       
   193      * @param   aGc Graphics context.
       
   194      * @param   aNameRectUnMirrored Name rect, after which the icon is drawn
       
   195      * @param   aEffectiveRect The whole listbox item rect. Used for mirroring.
       
   196      */
       
   197     void DrawSimIcon(
       
   198             CGulIcon& aIcon,
   184             CWindowGc& aGc, 
   199             CWindowGc& aGc, 
   185             TRect aNameRectUnMirrored,
   200             TRect aNameRectUnMirrored,
   186             TRect aEffectiveRect) const;
   201             TRect aEffectiveRect) const;
   187     
   202     
   188 private:
   203 private:
   212     CGulIcon* iDummyThumbnail;
   227     CGulIcon* iDummyThumbnail;
   213     
   228     
   214     /** Favourite icon. Owned. */
   229     /** Favourite icon. Owned. */
   215     CGulIcon* iFavouriteIcon;
   230     CGulIcon* iFavouriteIcon;
   216     
   231     
       
   232     /** SIM contact icon. Owned. */
       
   233     CGulIcon* iSimContactIcon;
       
   234     
       
   235     /** Service contact icon. Owned. */
       
   236     CGulIcon* iSdnContactIcon;
       
   237     
   217     /** Pointer to listbox. Not owned. */
   238     /** Pointer to listbox. Not owned. */
   218     CEasyDialingListBox* iControl;
   239     CEasyDialingListBox* iControl;
   219     };
   240     };
   220 
   241 
   221 
   242