From 5284d032f382be88db81d9c462f838234f4ef8b2 Mon Sep 17 00:00:00 2001 From: Bum-Sung Cho Date: Mon, 22 Apr 2013 19:31:42 +0900 Subject: [PATCH] Modify NotifyInputPanelState() interactions for the clipboard operation. Change-Id: I1d884a4a1707f7e2ec20048eb0db3d8c1d16c5eb Signed-off-by: Bum-Sung Cho --- .../Tizen Native/IME Application/imeapp/description.xml | 2 +- .../IME Application/imeapp/project/src/App.cpp | 16 +--------------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/Template/Tizen Native/IME Application/imeapp/description.xml b/Template/Tizen Native/IME Application/imeapp/description.xml index 7d96ec6..48612b2 100644 --- a/Template/Tizen Native/IME Application/imeapp/description.xml +++ b/Template/Tizen Native/IME Application/imeapp/description.xml @@ -6,6 +6,6 @@ 1.0 screenshot.png - This template is suitable for creating an IME application project based on a form. The template contains the basic application functionality as well as the functionality for drawing a form on the device screen. + This template is suitable for creating an IME application project based on a form and requires a partner level privilege to run the application. For more information, see Overview. Also, the template contains the basic application functionality as well as the functionality for drawing a form on the device screen. diff --git a/Template/Tizen Native/IME Application/imeapp/project/src/App.cpp b/Template/Tizen Native/IME Application/imeapp/project/src/App.cpp index 48a53d9..7d6582e 100644 --- a/Template/Tizen Native/IME Application/imeapp/project/src/App.cpp +++ b/Template/Tizen Native/IME Application/imeapp/project/src/App.cpp @@ -102,10 +102,6 @@ $(projectName)App::OnForeground(void) // Start or resume drawing when the application is moved to the foreground. AppLogTag("$(projectName)", "The application has been moved to the foreground."); - - // Notify the state of the input panel to the input field. - InputMethod* pInputMethod = InputMethod::GetInstance(); - pInputMethod->NotifyInputPanelState(INPUT_PANEL_SHOW_STATE_SHOW); } void @@ -115,10 +111,6 @@ $(projectName)App::OnBackground(void) // Stop drawing when the application is moved to the background. AppLogTag("$(projectName)", "The application has been moved to the background."); - - // Notify the state of the input panel to the input field. - InputMethod* pInputMethod = InputMethod::GetInstance(); - pInputMethod->NotifyInputPanelState(INPUT_PANEL_SHOW_STATE_HIDE); } void @@ -190,13 +182,7 @@ $(projectName)App::GetInputPanelBounds(void) // TODO: // Return the position and the size of the input panel. - AppLogTag("$(projectName)", "The platform requests the position and the size of the input panel."); - - $(projectName)Frame* p$(projectName)Frame = static_cast<$(projectName)Frame*>(GetFrame("$(projectName)")); - FloatRectangle bounds = p$(projectName)Frame->GetBoundsF(); - AppLogTag("$(projectName)", "The position and the size of the input panel is %f, %f, %f, %f respectively.", bounds.x, bounds.y, bounds.width, bounds.height); - - return bounds; + return FloatRectangle(); } InputPanelStyle -- 2.7.4