equal
deleted
inserted
replaced
3927 // |
3927 // |
3928 EXPORT_C void CEikStatusPaneBase::SetFlags( TInt aFlags ) |
3928 EXPORT_C void CEikStatusPaneBase::SetFlags( TInt aFlags ) |
3929 { |
3929 { |
3930 MakeVisible( aFlags & KEikStatusPaneBaseVisibleBit ); |
3930 MakeVisible( aFlags & KEikStatusPaneBaseVisibleBit ); |
3931 SetDimmed( aFlags & KEikStatusPaneBaseDimmedBit ); |
3931 SetDimmed( aFlags & KEikStatusPaneBaseDimmedBit ); |
3932 } |
3932 EnableTransparent( aFlags & KStatusPaneTransparentBit ); |
3933 |
3933 } |
3934 |
3934 |
|
3935 EXPORT_C void CEikStatusPaneBase::EnableTransparent( TBool aTransparent ) |
|
3936 { |
|
3937 if ( COMPARE_BOOLS( aTransparent, IsTransparent() ) ) |
|
3938 { |
|
3939 return; |
|
3940 } |
|
3941 if( aTransparent ) |
|
3942 { |
|
3943 iFlags |= KStatusPaneTransparentBit; |
|
3944 } |
|
3945 else |
|
3946 { |
|
3947 iFlags &= ~KStatusPaneTransparentBit; |
|
3948 } |
|
3949 DoDrawNow( EDrawDeferred ); |
|
3950 |
|
3951 } |
|
3952 |
|
3953 EXPORT_C TBool CEikStatusPaneBase::IsTransparent() const |
|
3954 { |
|
3955 return iFlags & KStatusPaneTransparentBit; |
|
3956 } |
3935 // --------------------------------------------------------------------------- |
3957 // --------------------------------------------------------------------------- |
3936 // CEikStatusPaneBase::Flags |
3958 // CEikStatusPaneBase::Flags |
3937 // Returns the status pane flags. |
3959 // Returns the status pane flags. |
3938 // --------------------------------------------------------------------------- |
3960 // --------------------------------------------------------------------------- |
3939 // |
3961 // |