idlehomescreen/xmluirendering/uiengine/src/xnnodepluginif.cpp
branchRCL_3
changeset 11 ff572dfe6d86
parent 2 08c6ee43b396
equal deleted inserted replaced
9:f966699dea19 11:ff572dfe6d86
   364     {
   364     {
   365     return iNode->IdL();
   365     return iNode->IdL();
   366     }
   366     }
   367 
   367 
   368 // -----------------------------------------------------------------------------
   368 // -----------------------------------------------------------------------------
   369 // CXnNodePluginIf::VisibleRowsL
       
   370 // -----------------------------------------------------------------------------
       
   371 //
       
   372 EXPORT_C CXnProperty* CXnNodePluginIf::VisibleRowsL()
       
   373     {
       
   374     return iNode->VisibleRowsL();
       
   375     }
       
   376 
       
   377 // -----------------------------------------------------------------------------
       
   378 // CXnNodePluginIf::GridColumnsL
       
   379 // -----------------------------------------------------------------------------
       
   380 //
       
   381 EXPORT_C CXnProperty* CXnNodePluginIf::GridColumnsL()
       
   382     {
       
   383     return iNode->GridColumnsL();
       
   384     }
       
   385 
       
   386 // -----------------------------------------------------------------------------
       
   387 // CXnNodePluginIf::GridOrientationL
       
   388 // -----------------------------------------------------------------------------
       
   389 //
       
   390 EXPORT_C CXnProperty* CXnNodePluginIf::GridOrientationL()
       
   391     {
       
   392     return iNode->GridOrientationL();
       
   393     }
       
   394 
       
   395 // -----------------------------------------------------------------------------
       
   396 // CXnNodePluginIf::GridVerDirectionL
       
   397 // -----------------------------------------------------------------------------
       
   398 //
       
   399 EXPORT_C CXnProperty* CXnNodePluginIf::GridVerDirectionL()
       
   400     {
       
   401     return iNode->GridVerDirectionL();
       
   402     }
       
   403 
       
   404 // -----------------------------------------------------------------------------
       
   405 // CXnNodePluginIf::GridHorDirectionL
       
   406 // -----------------------------------------------------------------------------
       
   407 //
       
   408 EXPORT_C CXnProperty* CXnNodePluginIf::GridHorDirectionL()
       
   409     {
       
   410     return iNode->GridHorDirectionL();
       
   411     }
       
   412 
       
   413 // -----------------------------------------------------------------------------
       
   414 // CXnNodePluginIf::FocusHorLoopingL
       
   415 // -----------------------------------------------------------------------------
       
   416 //
       
   417 EXPORT_C CXnProperty* CXnNodePluginIf::FocusHorLoopingL()
       
   418     {
       
   419     return iNode->FocusHorLoopingL();
       
   420     }
       
   421 
       
   422 // -----------------------------------------------------------------------------
       
   423 // CXnNodePluginIf::FocusVerLoopingL
       
   424 // -----------------------------------------------------------------------------
       
   425 //
       
   426 EXPORT_C CXnProperty* CXnNodePluginIf::FocusVerLoopingL()
       
   427     {
       
   428     return iNode->FocusVerLoopingL();
       
   429     }
       
   430 
       
   431 // -----------------------------------------------------------------------------
       
   432 // CXnNodePluginIf::RefL
       
   433 // -----------------------------------------------------------------------------
       
   434 //
       
   435 EXPORT_C CXnProperty* CXnNodePluginIf::RefL()
       
   436     {
       
   437     return iNode->RefL();
       
   438     }
       
   439 
       
   440 // -----------------------------------------------------------------------------
       
   441 // CXnNodePluginIf::GridScrollBarWidthL
       
   442 // -----------------------------------------------------------------------------
       
   443 //
       
   444 EXPORT_C  CXnProperty* CXnNodePluginIf::GridScrollBarWidthL()
       
   445     {
       
   446     return iNode->GridScrollBarWidthL();
       
   447     }
       
   448 
       
   449 // -----------------------------------------------------------------------------
       
   450 // CXnNodePluginIf::GridScrollBarMarginL
       
   451 // -----------------------------------------------------------------------------
       
   452 //
       
   453 EXPORT_C  CXnProperty* CXnNodePluginIf::GridScrollBarMarginL()
       
   454     {
       
   455     return iNode->GridScrollBarMarginL();
       
   456     }
       
   457 
       
   458 // -----------------------------------------------------------------------------
       
   459 // CXnNodePluginIf::SetHandleTooltip
   369 // CXnNodePluginIf::SetHandleTooltip
   460 // -----------------------------------------------------------------------------
   370 // -----------------------------------------------------------------------------
   461 //
   371 //
   462 EXPORT_C void CXnNodePluginIf::SetHandleTooltip( TBool aFlag )
   372 EXPORT_C void CXnNodePluginIf::SetHandleTooltip( TBool aFlag )
   463     {
   373     {
   540 //
   450 //
   541 EXPORT_C void CXnNodePluginIf::SetDirtyL()
   451 EXPORT_C void CXnNodePluginIf::SetDirtyL()
   542     {
   452     {
   543     const TDesC8& type( iNode->Type()->Type() );
   453     const TDesC8& type( iNode->Type()->Type() );
   544 
   454 
   545     if ( iNode->IsAdaptive( ETrue ) ||
   455     if ( iNode->IsAdaptive( ETrue ) )
   546          type == _L8( "grid" ) ||
       
   547          type == _L8( "list" ) )
       
   548         {
   456         {
   549         iNode->SetDirtyL( XnDirtyLevel::ELayoutAndRender );
   457         iNode->SetDirtyL( XnDirtyLevel::ELayoutAndRender );
   550         }
   458         }
   551     else
   459     else
   552         {
   460         {