idlehomescreen/xmluirendering/uiengine/src/xnuienginepluginif.cpp
branchRCL_3
changeset 102 ba63c83f4716
parent 88 3321d3e205b6
equal deleted inserted replaced
93:b01126ce0bec 102:ba63c83f4716
   171     if ( aFocusedNode )
   171     if ( aFocusedNode )
   172         {
   172         {
   173         node = &( aFocusedNode->Node() );
   173         node = &( aFocusedNode->Node() );
   174         }
   174         }
   175 
   175 
   176     if ( node )
   176     TRAP_IGNORE
   177         {
   177         (               
   178         TRAP_IGNORE( node->SetStateWithoutNotificationL(
   178         node->SetStateWithoutNotificationL(
   179             XnPropertyNames::style::common::KFocus ) );         
   179             XnPropertyNames::style::common::KFocus );        
   180         }
   180         );
   181     else
       
   182         {
       
   183         TRAP_IGNORE( iUiEngine->SetFocusedNodeL( NULL ) );
       
   184         }
       
   185     }
   181     }
   186 
   182 
   187 // -----------------------------------------------------------------------------
   183 // -----------------------------------------------------------------------------
   188 // TXnUiEnginePluginIf::StringPool
   184 // TXnUiEnginePluginIf::StringPool
   189 // Forwards the call to the ui engine implementation
   185 // Forwards the call to the ui engine implementation
   358     {
   354     {
   359     iUiEngine->DisableRenderUiLC();
   355     iUiEngine->DisableRenderUiLC();
   360     }
   356     }
   361 
   357 
   362 // -----------------------------------------------------------------------------
   358 // -----------------------------------------------------------------------------
       
   359 // TXnUiEnginePluginIf::EnablePartialTouchInput
       
   360 // 
       
   361 // -----------------------------------------------------------------------------
       
   362 //               
       
   363 EXPORT_C void TXnUiEnginePluginIf::EnablePartialTouchInput( 
       
   364     CXnNodePluginIf& aNode, TBool aEnable )
       
   365     {
       
   366     iUiEngine->EnablePartialTouchInput(aNode.Node(), aEnable);
       
   367     }
       
   368 
       
   369 // -----------------------------------------------------------------------------
   363 // TXnUiEnginePluginIf::IsTextEditorActive
   370 // TXnUiEnginePluginIf::IsTextEditorActive
   364 // 
   371 // 
   365 // -----------------------------------------------------------------------------
   372 // -----------------------------------------------------------------------------
   366 //
   373 //
   367 EXPORT_C TBool TXnUiEnginePluginIf::IsTextEditorActive()
   374 EXPORT_C TBool TXnUiEnginePluginIf::IsTextEditorActive()