textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutbutton.cpp
changeset 13 3b79bedfdc20
parent 0 eb1f2e154e89
equal deleted inserted replaced
0:eb1f2e154e89 13:3b79bedfdc20
    13 *
    13 *
    14 * Description:  Implementation for button base and dragbar
    14 * Description:  Implementation for button base and dragbar
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 #include <aknfepglobalenums.h>
    18 #include <AknFepGlobalEnums.h>
    19 #include "peninputlayoutbutton.h"
    19 #include "peninputlayoutbutton.h"
    20 #include "peninputlayouttimer.h"
    20 #include "peninputlayouttimer.h"
    21 #include "peninputlayout.h"
    21 #include "peninputlayout.h"
    22 
    22 
    23 #ifdef __WINS__
    23 #ifdef __WINS__
    83     		SetTactileFeedbackType(ETouchFeedbackBasicButton);
    83     		SetTactileFeedbackType(ETouchFeedbackBasicButton);
    84     		aUiLayout->RegisterFeedbackArea(reinterpret_cast<TInt>(this),aRect,ETouchFeedbackBasicButton);
    84     		aUiLayout->RegisterFeedbackArea(reinterpret_cast<TInt>(this),aRect,ETouchFeedbackBasicButton);
    85     		}
    85     		}
    86     	else
    86     	else
    87     		{
    87     		{
    88     		SetTactileFeedbackType(ETouchFeedbackSensitiveInput);
    88     		SetTactileFeedbackType(ETouchFeedbackSensitiveKeypad);
    89     		aUiLayout->RegisterFeedbackArea(reinterpret_cast<TInt>(this),aRect,ETouchFeedbackSensitiveInput);
    89     		aUiLayout->RegisterFeedbackArea(reinterpret_cast<TInt>(this),aRect,ETouchFeedbackSensitiveKeypad);
    90     		}
    90     		}
    91     	}       
    91     	}       
    92 #endif //RD_TACTILE_FEEDBACK     
    92 #endif //RD_TACTILE_FEEDBACK     
    93     }
    93     }
    94 
    94