, public Tizen::Ui::Scenes::ISceneEventListener
, public Tizen::System::ISettingEventListener
, public Tizen::Ui::IPropagatedKeyEventListener
+ , public Tizen::Ui::IFocusEventListener
{
public:
MemoTextEditorForm(void);
virtual bool OnPreviewKeyPressed (Control &source, const Tizen::Ui::KeyEventInfo &keyEventInfo);
virtual bool OnPreviewKeyReleased (Control &source, const Tizen::Ui::KeyEventInfo &keyEventInfo);
+ virtual void OnFocusGained(const Tizen::Ui::Control& source);
+ virtual void OnFocusLost(const Tizen::Ui::Control& source);
+
private:
Tizen::Graphics::Color __buttonColor;
///the memo creation time
__pMemoContentEditarea->AddTextEventListener(*this);
__pMemoContentEditarea->AddTouchEventListener(*this);
__pMemoContentEditarea->AddKeypadEventListener(*this);
+ __pMemoContentEditarea->AddFocusEventListener(*this);
__pMemoContentEditarea->SetOverlayKeypadCommandButtonVisible(false);
__pMemoContentEditarea->SetViewModeEnabled(false);
__pMemoContentEditarea->SetColor(EDIT_STATUS_NORMAL, Color(COLOR_WHITE, false));
{
return false;
}
+
+void
+MemoTextEditorForm::OnFocusGained(const Tizen::Ui::Control& source)
+{
+ ShowHideFontSizeSlider(true);
+ RepositionControls(ID_DEFAULT_POSITION);
+}
+
+void
+MemoTextEditorForm::OnFocusLost(const Tizen::Ui::Control& source)
+{
+ return;
+}