classicui_pub/status_pane_api/inc/eikspane.h
branchRCL_3
changeset 9 aabf2c525e0f
parent 4 8ca85d2f0db7
equal deleted inserted replaced
4:8ca85d2f0db7 9:aabf2c525e0f
    47 * Status pane flag indicating that a sub-pane is part of
    47 * Status pane flag indicating that a sub-pane is part of
    48 * a specific status pane layout.
    48 * a specific status pane layout.
    49 */
    49 */
    50 const TInt KStatusPaneCapsInCurrentLayoutBit = 4;
    50 const TInt KStatusPaneCapsInCurrentLayoutBit = 4;
    51 
    51 
       
    52 /**
       
    53 * Status pane flag indicating that statuspane is transparent.
       
    54 * 
       
    55 */
       
    56 const TInt KStatusPaneTransparentBit = 8;
    52 /**
    57 /**
    53  * The @c MEikStatusPaneObserver interface allows a status pane observer to
    58  * The @c MEikStatusPaneObserver interface allows a status pane observer to
    54  * pick up changes in the size or position of the status pane. Such events
    59  * pick up changes in the size or position of the status pane. Such events
    55  * will be as a result of layout changes which cause an actual change in the
    60  * will be as a result of layout changes which cause an actual change in the
    56  * status pane rectangle.
    61  * status pane rectangle.
   492     * Prepares the status pane for the application exit.
   497     * Prepares the status pane for the application exit.
   493     * Clears the status pane.
   498     * Clears the status pane.
   494     */
   499     */
   495     IMPORT_C void CommonPrepareForAppExit();
   500     IMPORT_C void CommonPrepareForAppExit();
   496 
   501 
       
   502 public:
       
   503     /**
       
   504      * Enable transparency of status pane and its contents.
       
   505      * From @c CEikStatusPaneBase.
       
   506      *
       
   507      * @param aTransparent If @c ETrue the status pane and its
       
   508      *                 contents are set aTransparent.
       
   509      */
       
   510     IMPORT_C void EnableTransparent( TBool aTransparent );
       
   511     
       
   512     /**
       
   513       * Gets the transparency of the status pane.
       
   514       * 
       
   515       * @return @c ETrue if the status pane is transparent.
       
   516       */
       
   517     IMPORT_C TBool IsTransparent() const;
       
   518     
   497 private:
   519 private:
   498 
   520 
   499     void DoSwitchLayoutL( TInt aLayoutResourceId, TDrawCmd aDraw );
   521     void DoSwitchLayoutL( TInt aLayoutResourceId, TDrawCmd aDraw );
   500     void ApplyLayoutL( CEikStatusPaneLayout* aLayout, TDrawCmd aDraw );
   522     void ApplyLayoutL( CEikStatusPaneLayout* aLayout, TDrawCmd aDraw );
   501     void SetAllInvisible();
   523     void SetAllInvisible();