*/
virtual void SetFocus(bool focused) = 0;
- /**
- * @brief Set the style of IME.
- * @param[in] position Position of IME.
- * @param[in] alignment Alignment of IME.
- *
- * @return true if succeeded, false otherwise
- */
- virtual bool SetImePositionAndAlignment(Dali::Vector2 position, int alignment) = 0;
-
- /**
- * @brief Set the theme name of cursor.
- * @param[in] themeName The name of theme of cursor.
- */
- virtual void SetCursorThemeName(const std::string themeName) = 0;
-
/**
* @brief Set zoom factor of the current page.
* @param[in] zoomFactor a new factor to be set.
#define DALI_WEB_ENGINE_SETTINGS_H
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 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.
* @return @c true on enable or @c false on disable
*/
virtual bool IsExtraFeatureEnabled(const std::string& feature) const = 0;
-
- /**
- * @brief Sets the style of IME.
- *
- * @param[in] style @c IME_STYLE_FULL full IME style
- * @c IME_STYLE_FLOATING floating IME style
- * @c IME_STYLE_DYNAMIC dynamic IME style
- *
- */
- virtual void SetImeStyle(int style) = 0;
-
- /**
- * @brief Gets the style of IME.
- *
- * @return @c IME_STYLE_FULL full IME style
- * @c IME_STYLE_FLOATING floating IME style
- * @c IME_STYLE_DYNAMIC dynamic IME style
- */
- virtual int GetImeStyle() const = 0;
};
} // namespace Dali
GetImplementation(*this).SetFocus(focused);
}
-bool WebEngine::SetImePositionAndAlignment(Dali::Vector2 position, int alignment)
-{
- return GetImplementation(*this).SetImePositionAndAlignment(position, alignment);
-}
-
-void WebEngine::SetCursorThemeName(const std::string themeName)
-{
- GetImplementation(*this).SetCursorThemeName(themeName);
-}
-
void WebEngine::SetPageZoomFactor(float zoomFactor)
{
GetImplementation(*this).SetPageZoomFactor(zoomFactor);
*/
void SetFocus(bool focused);
- /**
- * @brief Set the style of IME.
- * @param[in] position Position of IME.
- * @param[in] alignment Alignment of IME.
- *
- * @return true if succeeded, false otherwise
- */
- bool SetImePositionAndAlignment(Dali::Vector2 position, int alignment);
-
- /**
- * @brief Set the theme name of cursor.
- * @param[in] themeName The name of theme of cursor.
- */
- void SetCursorThemeName(const std::string themeName);
-
/**
* @brief Enable/disable mouse events. The default is enabled.
*
mPlugin->SetFocus(focused);
}
-bool WebEngine::SetImePositionAndAlignment(Dali::Vector2 position, int alignment)
-{
- return mPlugin->SetImePositionAndAlignment(position, alignment);
-}
-
-void WebEngine::SetCursorThemeName(const std::string themeName)
-{
- mPlugin->SetCursorThemeName(themeName);
-}
-
void WebEngine::SetDocumentBackgroundColor(Dali::Vector4 color)
{
mPlugin->SetDocumentBackgroundColor(color);
*/
void SetFocus(bool focused);
- /**
- * @copydoc Dali::WebEngine::SetImePositionAndAlignment()
- */
- bool SetImePositionAndAlignment(Dali::Vector2 position, int alignment);
-
- /**
- * @copydoc Dali::WebEngine::SetCursorThemeName()
- */
- void SetCursorThemeName(const std::string themeName);
-
/**
* @copydoc Dali::WebEngine::SetPageZoomFactor()
*/