emailuis/uicomponents/inc/fstextviewervisualizersettings.h
changeset 0 8466d47a6819
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: This file defines classes TFsPartBg, CFsTextViewerVisualizerSettings
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_FSTEXTVIEWERVISUALIZERSETTINGS_H
       
    20 #define C_FSTEXTVIEWERVISUALIZERSETTINGS_H
       
    21 
       
    22 //<cmail> removed __FS_ALFRED_SUPPORT flag
       
    23 //#include <fsconfig.h>
       
    24 //</cmail> removed __FS_ALFRED_SUPPORT flag
       
    25 #include <e32base.h>
       
    26 // <cmail> SF
       
    27 #include <alf/alftimedvalue.h>
       
    28 // </cmail>
       
    29 class CAlfBrush;
       
    30 class CAlfTexture;
       
    31 class CFsTextViewerWatermark;
       
    32 class CFsTextViewerKeys;
       
    33 
       
    34 class TFsPartBg
       
    35     {
       
    36     public:
       
    37         TInt iStart;
       
    38         TInt iEnd;
       
    39         CAlfBrush* iBrush;
       
    40     };
       
    41 
       
    42 class CFsTextViewerVisualizerSettings : public CBase
       
    43     {
       
    44     public:
       
    45         CFsTextViewerVisualizerSettings();
       
    46         ~CFsTextViewerVisualizerSettings();
       
    47 
       
    48     public:
       
    49         TInt iScrollingOffset;
       
    50         TInt iScrollingDelay;
       
    51         TInt iCursorDelay;
       
    52         TInt iExpandDelay;
       
    53         TInt iRightMargin;
       
    54         TInt iLeftMargin;
       
    55         TInt iScrollbarWidth;
       
    56 
       
    57         TBool iScrollByCursor;
       
    58         TBool iSmileyEnabled;
       
    59         TBool iMirroring;
       
    60         TBool iWatermarkSet;
       
    61         TBool iBackgroundColorSet;
       
    62         TBool iBackgroundImageSet;
       
    63         TBool iKeysSet;
       
    64         TBool iPictureSizeSet;
       
    65 
       
    66         CFsTextViewerWatermark* iWatermark;
       
    67         CAlfBrush* iBackgroundBrush;
       
    68         
       
    69         TSize iSmileySize;
       
    70         TSize iPicSize;
       
    71         
       
    72         CFsTextViewerKeys* iKeys;
       
    73 
       
    74         RArray<TFsPartBg> iPartBgs;
       
    75 
       
    76         CAlfTexture* iHighlightLine;
       
    77         TReal32 iHighlightLineOpacity;
       
    78         CAlfTexture* iActionButton;
       
    79         TReal32 iActionButtonOpacity;
       
    80         TReal32 iActionButtonMargin;
       
    81         TReal32 iActionButtonWidth;
       
    82         TReal32 iActionButtonHeight;
       
    83 
       
    84         TAlfTimedValue iBackgroundOpacity;
       
    85     };
       
    86 
       
    87 #endif //C_FSTEXTVIEWERVISUALIZERSETTINGS_H