if ( ( imfManager != NULL ) && !imfManager->mInited )
{
+ imfManager->SetDefaultOptions();
imfManager->CreateContext( imfManager->mEcoreWlwin );
imfManager->ConnectCallbacks();
imfManager->mInited = true;
}
}
+void ImfManager::SetDefaultOptions()
+{
+ DALI_LOG_INFO( gLogFilter, Debug::General, "ImfManager::SetDefaultOptions\n" );
+ Property::Map map;
+ map.Insert( "PANEL_LAYOUT", InputMethod::PanelLayout::NORMAL );
+ map.Insert( "AUTO_CAPITALISE", InputMethod::AutoCapital::SENTENCE );
+ map.Insert( "ACTION_BUTTON", InputMethod::ActionButtonTitle::DEFAULT );
+ map.Insert( "VARIATION", InputMethod::NormalLayout::NORMAL );
+ mOptions.ApplyProperty( map );
+}
+
// Callbacks for predicitive text support.
void ImfManager::ConnectCallbacks()
{
void ImfManager::ApplyOptions( const InputMethodOptions& options )
{
using namespace Dali::InputMethod::Category;
-
int index;
if (mIMFContext == NULL)