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