#define DALI_INTERNAL_INPUT_METHOD_CONTEXT_IMPL_X_H
/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/**
* @copydoc Dali::InputMethodContext::GetPreeditStyle()
*/
- Dali::InputMethodContext::PreeditStyle GetPreeditStyle() const override;
+ void GetPreeditStyle( Dali::InputMethodContext::PreEditAttributeDataContainer& attrs ) const override;
private:
/**
* @param[in] keyEvent The event key to be handled.
* @return Whether the event key is handled.
*/
- bool ProcessEventKeyDown( const KeyEvent& keyEvent );
+ bool ProcessEventKeyDown( const Dali::KeyEvent& keyEvent );
/**
* @brief Process event key up, whether filter a key to isf.
* @param[in] keyEvent The event key to be handled.
* @return Whether the event key is handled.
*/
- bool ProcessEventKeyUp( const KeyEvent& keyEvent );
+ bool ProcessEventKeyUp( const Dali::KeyEvent& keyEvent );
/**
* Ecore_Event_Modifier enums in Ecore_Input.h do not match Ecore_IMF_Keyboard_Modifiers in Ecore_IMF.h.
bool mRestoreAfterFocusLost:1; ///< Whether the keyboard needs to be restored (activated ) after focus regained.
bool mIdleCallbackConnected:1; ///< Whether the idle callback is already connected.
InputMethodOptions mOptions;
- Dali::InputMethodContext::PreeditStyle mPreeditType;
+ Dali::InputMethodContext::PreEditAttributeDataContainer mPreeditAttrs; ///< Stores preedit attribute data
};
} // namespace Adaptor