extras/about/inc/AboutImage.h
branchRCL_3
changeset 21 a7d8840c0b8c
parent 0 3ee3dfdd8d69
equal deleted inserted replaced
19:99b535de1dda 21:a7d8840c0b8c
    37 class CAboutImage : public CBase
    37 class CAboutImage : public CBase
    38     {
    38     {
    39     public: // Constructors and destructor
    39     public: // Constructors and destructor
    40         
    40         
    41         static CAboutImage* NewLC( const TDesC& aFileName, TInt aBitmapId,
    41         static CAboutImage* NewLC( const TDesC& aFileName, TInt aBitmapId,
    42                                    TInt aStartLine, TInt aBaseLineDelta );
    42                                    TInt aStartLine, TInt aBaseLineDelta, TBool aTypeFlag );
    43 
    43 
    44         /**
    44         /**
    45         * Destructor
    45         * Destructor
    46         */
    46         */
    47         ~CAboutImage();
    47         ~CAboutImage();
    52         TInt WidthInPixels() const;
    52         TInt WidthInPixels() const;
    53         TInt StartLine() const;
    53         TInt StartLine() const;
    54         TInt EndLine() const;
    54         TInt EndLine() const;
    55         TInt Lines() const;
    55         TInt Lines() const;
    56         const CFbsBitmap* Bitmap() const;
    56         const CFbsBitmap* Bitmap() const;
       
    57         const CFbsBitmap* BitmapMask() const;
    57 
    58 
    58     private: // private constructor
    59     private: // private constructor
    59 
    60 
    60         /**
    61         /**
    61         * C++ default constructor.
    62         * C++ default constructor.
    63         CAboutImage();
    64         CAboutImage();
    64 
    65 
    65     private:  // Data
    66     private:  // Data
    66 
    67 
    67         CFbsBitmap* iBitmap; // owned
    68         CFbsBitmap* iBitmap; // owned
       
    69         CFbsBitmap* iBitmapMask; //owned
    68         TInt iStartLine;
    70         TInt iStartLine;
    69         TInt iEndLine;
    71         TInt iEndLine;
    70     };
    72     };
    71 
    73 
    72 #endif // ABOUTIMAGE_H
    74 #endif // ABOUTIMAGE_H