Add more Preedit enumerations for custom styles 01/220201/3
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 16 Dec 2019 05:20:59 +0000 (14:20 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 3 Jan 2020 10:05:50 +0000 (19:05 +0900)
commitb5df1bb407571346d34ca2131928f82671fee584
tree207da0814fafc37fdb454e48b460d9a4cf544133
parent494b30f572fbf4fd5832af701b852ea386042df9
Add more Preedit enumerations for custom styles

- Add more preedit styles for substring : CUSTOM_PLATFORM_STYLE_1 ~ 4
- The preedit type is NONE, SUB1 ~ SUB7.
   But, DALi changed the name exactly, such as 'UNDERLINE' instead of 'SUB1' and
  'REVERSE' instead of 'SUB2'.
   CUSTOM_PLATFORM_STYLE_1 ~ 4 are just to draw the text in underline
  with various background color.

- The index received from imf is a byte. So, it should be converted to character index.

Change-Id: Iea64e1bfc27ff291cee592c839013171df75d31c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dali/devel-api/adaptor-framework/input-method-context.cpp
dali/devel-api/adaptor-framework/input-method-context.h
dali/internal/input/common/input-method-context-impl.h
dali/internal/input/generic/input-method-context-impl-generic.cpp
dali/internal/input/generic/input-method-context-impl-generic.h
dali/internal/input/tizen-wayland/input-method-context-impl-ecore-wl.cpp
dali/internal/input/tizen-wayland/input-method-context-impl-ecore-wl.h
dali/internal/input/ubuntu-x11/input-method-context-impl-x.cpp
dali/internal/input/ubuntu-x11/input-method-context-impl-x.h
dali/internal/input/windows/input-method-context-impl-win.cpp
dali/internal/input/windows/input-method-context-impl-win.h