From: Ji-hoon Lee Date: Thu, 9 Jun 2016 07:05:30 +0000 (+0900) Subject: Added support for HEX input panel layout X-Git-Tag: accepted/tizen/common/20160610.182339~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b993d7f2510e30fc2c8f1dbe8b3a15124fc7ff1;p=platform%2Fcore%2Fuifw%2Fisf.git Added support for HEX input panel layout Change-Id: I11ce1e27f0f0de18e409c4114b39819bbe1debfe --- diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index e511774..6ec1ad4 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -1452,6 +1452,9 @@ wayland_im_context_input_panel_layout_set(Ecore_IMF_Context *ctx, case ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY: imcontext->content_purpose = WL_TEXT_INPUT_CONTENT_PURPOSE_DIGITS; break; + case ECORE_IMF_INPUT_PANEL_LAYOUT_HEX: + imcontext->content_purpose = WL_TEXT_INPUT_CONTENT_PURPOSE_ALPHA; + break; case ECORE_IMF_INPUT_PANEL_LAYOUT_TERMINAL: imcontext->content_purpose = WL_TEXT_INPUT_CONTENT_PURPOSE_TERMINAL; break; diff --git a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp index 209e030..4208b91 100644 --- a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp +++ b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp @@ -1833,6 +1833,9 @@ Ecore_IMF_Input_Panel_Layout wsc_context_input_panel_layout_get (WSCContextISF * case WL_TEXT_INPUT_CONTENT_PURPOSE_PASSWORD_DIGITS: layout = ECORE_IMF_INPUT_PANEL_LAYOUT_PASSWORD; break; + case WL_TEXT_INPUT_CONTENT_PURPOSE_ALPHA: + layout = ECORE_IMF_INPUT_PANEL_LAYOUT_HEX; + break; case WL_TEXT_INPUT_CONTENT_PURPOSE_TERMINAL: layout = ECORE_IMF_INPUT_PANEL_LAYOUT_TERMINAL; break;