javauis/lcdui_akn/lcdui/inc/CMIDTextEditorEdwinCustomDraw.h
changeset 23 98ccebc37403
parent 21 2a9601315dfc
child 34 71c436fe3ce0
equal deleted inserted replaced
21:2a9601315dfc 23:98ccebc37403
    56     /**
    56     /**
    57      * Destructor.
    57      * Destructor.
    58      */
    58      */
    59     virtual ~CMIDTextEditorEdwinCustomDraw();
    59     virtual ~CMIDTextEditorEdwinCustomDraw();
    60 
    60 
    61 public: // From
    61 public: // From CLafEdwinCustomDrawBase
    62 
    62 
    63     /**
    63     /**
    64      * Called by the editor FW in order to draw the background for
    64      * Called by the editor FW in order to draw the background for
    65      * the editor window.
    65      * the editor window.
    66      *
    66      *
   110         const TLineInfo& aLineInfo,
   110         const TLineInfo& aLineInfo,
   111         const TCharFormat& aFormat,
   111         const TCharFormat& aFormat,
   112         const TDesC& aText,
   112         const TDesC& aText,
   113         const TPoint& aTextOrigin,
   113         const TPoint& aTextOrigin,
   114         TInt aExtraPixels) const;
   114         TInt aExtraPixels) const;
   115 
   115     
       
   116 #ifdef RD_JAVA_S60_RELEASE_9_2
       
   117     /**
       
   118      * Called by the editor FW in order to draw the the content of
       
   119      * the editor.
       
   120      *
       
   121      * Currently delegates the drawing to the parent custom drawer.
       
   122      *
       
   123      * @param aParam Drawing parameters.
       
   124      * @param aLineInfo The line information.
       
   125      * @param aFormat The current character format.
       
   126      * @param aText The content to draw.
       
   127      * @param aStart 
       
   128      * @param aEnd 
       
   129      * @param aTextOrigin The origin of the text.
       
   130      * @param aExtraPixels The amount of extra pixels.
       
   131      * @since S60 5.0
       
   132      */
       
   133     void DrawText(
       
   134         const TParam& aParam,
       
   135         const TLineInfo& aLineInfo,
       
   136         const TCharFormat& aFormat,
       
   137         const TDesC& aText,
       
   138         const TInt aStart,
       
   139         const TInt aEnd,
       
   140         const TPoint& aTextOrigin,
       
   141         TInt aExtraPixels) const;
       
   142 #endif
       
   143     
   116     /**
   144     /**
   117      * Retrieves the system color for the specified color index.
   145      * Retrieves the system color for the specified color index.
   118      *
   146      *
   119      * @param aColorIndex The index of the color to be returned.
   147      * @param aColorIndex The index of the color to be returned.
   120      * @param aDefaultColor The default color for the specified index.
   148      * @param aDefaultColor The default color for the specified index.
   121      * @return The system's (or custom) color for the specified color
   149      * @return The system's (or custom) color for the specified color
   122      *         index.
   150      *         index.
   123          * @since S60 5.0
   151      * @since S60 5.0
   124      */
   152      */
   125     TRgb SystemColor(
   153     TRgb SystemColor(
   126         TUint aColorIndex,
   154         TUint aColorIndex,
   127         TRgb aDefaultColor) const;
   155         TRgb aDefaultColor) const;
   128 
   156