emailuis/uicomponents/inc/fscontrolbuttonvisualiser.h
changeset 1 12c456ceeff2
parent 0 8466d47a6819
equal deleted inserted replaced
0:8466d47a6819 1:12c456ceeff2
    27 #include "fscontrolbuttonconst.h"
    27 #include "fscontrolbuttonconst.h"
    28 
    28 
    29 class CAlfControl;
    29 class CAlfControl;
    30 class CAlfVisual;
    30 class CAlfVisual;
    31 class CAlfLayout;
    31 class CAlfLayout;
       
    32 class CAlfBrush;
       
    33 class CAlfFrameBrush;
    32 class CAlfTextVisual;
    34 class CAlfTextVisual;
    33 class CAlfGridLayout;
    35 class CAlfGridLayout;
    34 class CAlfDeckLayout;
    36 class CAlfDeckLayout;
    35 class CAlfAnchorLayout;
    37 class CAlfAnchorLayout;
    36 class CAlfImageVisual;
    38 class CAlfImageVisual;
    37 class TAlfTextStyle;
    39 class TAlfTextStyle;
    38 class TAlfTimedPoint;
    40 class TAlfTimedPoint;
    39 class CAlfTexture;
    41 class CAlfTexture;
    40 class CAlfGradientBrush;
    42 class CAlfGradientBrush;
    41 class CAlfImageBrush;
    43 class CAlfImageBrush;
       
    44 class CAlfShadowBorderBrush;
    42 class CFsControlButtonModel;
    45 class CFsControlButtonModel;
    43 class CFsControlButtonLayoutData;
    46 class CFsControlButtonLayoutData;
    44 class CFsTextStyleManager;
    47 class CFsTextStyleManager;
    45 class TCharFormat;
    48 class TCharFormat;
    46 
    49 
    78      * @param aButtonModel button's model.
    81      * @param aButtonModel button's model.
    79      */
    82      */
    80     IMPORT_C virtual void InitializeL( CFsControlButtonModel& aButtonModel );
    83     IMPORT_C virtual void InitializeL( CFsControlButtonModel& aButtonModel );
    81 
    84 
    82     /**
    85     /**
       
    86      * Called when the colors etc should be refreshed
       
    87      */
       
    88     virtual void UpdateVisualThemeL();
       
    89     
       
    90     /**
    83      * Refreshes button on the display.
    91      * Refreshes button on the display.
    84      */
    92      */
    85     IMPORT_C virtual void Refresh();
    93     IMPORT_C virtual void Refresh();
    86 
    94 
    87     /**
    95     /**
   453 
   461 
   454     /**
   462     /**
   455      * Brush with background image.
   463      * Brush with background image.
   456      * Owned.
   464      * Owned.
   457      */
   465      */
   458     CAlfImageBrush* iBgBrush;
   466     CAlfBrush* iBgBrush;
       
   467 
       
   468     /**
       
   469      * Default brush for background. Owned.
       
   470      */
       
   471     CAlfFrameBrush* iDefaultBgBrush;
       
   472 
       
   473 	/**
       
   474 	 * ETrue if default theme background is used
       
   475 	 */
       
   476     TBool iUseDefaultBackground;
       
   477     
       
   478     /**
       
   479      * Brush for shadowed button borders.
       
   480      * Owned.
       
   481      */
       
   482     CAlfShadowBorderBrush* iShadowBorderBrush;
   459 
   483 
   460     /**
   484     /**
   461      * Layout of the parent control.
   485      * Layout of the parent control.
   462      * Not owned.
   486      * Not owned.
   463      */
   487      */
   518     /**
   542     /**
   519      * States that can focus been drawn.
   543      * States that can focus been drawn.
   520      */
   544      */
   521     TBool iDrawFocus;
   545     TBool iDrawFocus;
   522 
   546 
       
   547     /**
       
   548      * Show dropdown shadow for buttons  
       
   549      */
       
   550     TBool iShowShadow;
   523     };
   551     };
   524 
   552 
   525 
   553 
   526 #endif // C_FSCONTROLBUTTONVISUALISER_H
   554 #endif // C_FSCONTROLBUTTONVISUALISER_H