tvout/tvoutengine/inc/glxhdmicontroller.h
changeset 69 45459746d5e8
parent 52 a3a4c0de738e
equal deleted inserted replaced
65:ccee5c4b0de4 69:45459746d5e8
    42     {
    42     {
    43 public:
    43 public:
    44     /**
    44     /**
    45      * NewLC 
    45      * NewLC 
    46      * @param aRect rect in which the CCoecontrol actually needs to be constructed
    46      * @param aRect rect in which the CCoecontrol actually needs to be constructed
    47      * @param EffectsOn - if the effect should be on, by default it is OFF, 
       
    48      *  used only for SLIDESHOW
       
    49      *   
    47      *   
    50      * @return CGlxHdmiController object. 
    48      * @return CGlxHdmiController object. 
    51      */
    49      */
    52     IMPORT_C static CGlxHdmiController* NewL(TRect aRect ,TBool aEfectsOn = EFalse);
    50     IMPORT_C static CGlxHdmiController* NewL(TRect aRect );
    53 
    51 
    54     /**
    52     /**
    55      * Destructor
    53      * Destructor
    56      */
    54      */
    57     IMPORT_C ~CGlxHdmiController();
    55     IMPORT_C ~CGlxHdmiController();
    93      * Shifts the TV UI to posting mode if cloning mode, 
    91      * Shifts the TV UI to posting mode if cloning mode, 
    94      * else does nothing
    92      * else does nothing
    95      */
    93      */
    96     IMPORT_C void ShiftToPostingMode();
    94     IMPORT_C void ShiftToPostingMode();
    97 
    95 
    98     /**
       
    99      * Fadeing of the Surface
       
   100      * @param aFadeInOut ETrue - FadeIn ( as in gaining brightness )
       
   101      *                   EFalse - FadeOut ( as in loosing brightness ) 
       
   102      */
       
   103     IMPORT_C void FadeSurface(TBool aFadeInOut);
       
   104     
       
   105 private:/// class private method
    96 private:/// class private method
   106     /**
    97     /**
   107      * Constructor
    98      * Constructor
   108      * @param aRect Rect size 
    99      * @param aRect Rect size 
   109      * @param aEfectsOn if effects needs to be on(used in Slideshow only)
       
   110      */
   100      */
   111     CGlxHdmiController(TRect aRect ,TBool aEfectsOn);
   101     CGlxHdmiController(TRect aRect);
   112     
   102     
   113     /**
   103     /**
   114      * ConstructL 
   104      * ConstructL 
   115      */
   105      */
   116     void ConstructL();
   106     void ConstructL();
   158     CGlxHdmiSurfaceUpdater* iSurfaceUpdater;
   148     CGlxHdmiSurfaceUpdater* iSurfaceUpdater;
   159     /// Rect
   149     /// Rect
   160     TRect   iRect;                   
   150     TRect   iRect;                   
   161     /// Flag to see if Image is supported
   151     /// Flag to see if Image is supported
   162     TBool   iIsImageSupported;      
   152     TBool   iIsImageSupported;      
   163     /// Flag to set if effects should be on
       
   164     TBool   iEffectsOn;                 
       
   165     };
   153     };
   166 
   154 
   167 #endif /* GLXHDMICONTROLLER_H_ */
   155 #endif /* GLXHDMICONTROLLER_H_ */