idlehomescreen/xmluirendering/renderingplugins/xnmenufactory/src/xnmenuadapter.cpp
equal
deleted
inserted
replaced
31 #include <AknUtils.h> |
31 #include <AknUtils.h> |
32 #include <AknIconUtils.h> |
32 #include <AknIconUtils.h> |
33 #include <eikspane.h> |
33 #include <eikspane.h> |
34 #include <AknSgcc.h> |
34 #include <AknSgcc.h> |
35 #include <aknview.h> |
35 #include <aknview.h> |
|
36 #include <AknsConstants.h> |
36 |
37 |
37 // User includes |
38 // User includes |
38 #include "xnnodepluginif.h" |
39 #include "xnnodepluginif.h" |
39 #include "xntype.h" |
40 #include "xntype.h" |
40 #include "xnproperty.h" |
41 #include "xnproperty.h" |
1738 iUpdateRskAppearance = ETrue; |
1739 iUpdateRskAppearance = ETrue; |
1739 } |
1740 } |
1740 |
1741 |
1741 iContainer = &aContainer; |
1742 iContainer = &aContainer; |
1742 |
1743 |
1743 UpdateSoftkeyAppearancesL(); |
1744 CEikCba* cba( static_cast< CEikCba* >( aContainer.ButtonGroup() ) ); |
|
1745 cba->SetButtonGroupFlags( cba->ButtonGroupFlags() | EEikCbaFlagSemiTransparent ); |
|
1746 |
|
1747 UpdateSoftkeyAppearancesL(); |
1744 |
1748 |
1745 if (iContainer) |
1749 if (iContainer) |
1746 { |
1750 { |
1747 iContainer->DrawNow(); |
1751 iContainer->DrawNow(); |
1748 } |
1752 } |
2123 // Change softkey appearance |
2127 // Change softkey appearance |
2124 // ----------------------------------------------------------------------------- |
2128 // ----------------------------------------------------------------------------- |
2125 // |
2129 // |
2126 void CXnMenuAdapter::HandleMenuPropertyChangeL(CXnNodePluginIf* aNode, CXnProperty* aProperty) |
2130 void CXnMenuAdapter::HandleMenuPropertyChangeL(CXnNodePluginIf* aNode, CXnProperty* aProperty) |
2127 { |
2131 { |
2128 if ( !aNode ) |
2132 if ( !aNode || !aProperty ) |
2129 { |
2133 { |
2130 return; |
2134 return; |
2131 } |
2135 } |
2132 |
2136 |
2133 const TDesC8& type( aNode->Type()->Type() ); |
2137 const TDesC8& type( aNode->Type()->Type() ); |