diff -r e6a39382bb9c -r c8fb4cf7b3ae textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutbutton.cpp --- a/textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutbutton.cpp Tue Apr 27 16:59:43 2010 +0300 +++ b/textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutbutton.cpp Tue May 11 16:31:42 2010 +0300 @@ -15,6 +15,7 @@ * */ +#include #include #include "peninputlayoutbutton.h" #include "peninputlayouttimer.h" @@ -47,7 +48,23 @@ CleanupStack::Pop(btn); return btn; } + +// --------------------------------------------------------------------------- +// CButtonBase::BaseConstructL +// Do base contruction +// --------------------------------------------------------------------------- +// +EXPORT_C void CButtonBase::BaseConstructL() + { + CFepUiBaseCtrl::BaseConstructL(); + //tap accuracy enhancement + if( FeatureManager::FeatureSupported( KFeatureIdFfCapacitiveDisplay )) + { + EnableExtResponseArea( ETrue, TRect(TPoint(10,10),TSize(10,10)) ); + } + } + // --------------------------------------------------------------------------- // CButtonBase::CButtonBase // C++ default constructor @@ -73,6 +90,7 @@ SetBkColor(KDefaultButtonBackCol); + //todo code refactoring needed, move to BaseConstructL #ifdef RD_TACTILE_FEEDBACK //Advanced Tactile feedback REQ417-47932 if(aUiLayout)