关于在symbian listbox中添加svg图片的问题
2010-05-31 20:19:00 来源:WEB开发网EListBoxAtestlist2List_iconIndex1 );
AddListBoxResourceArrayItemL( R_ATEST_LIST2_LIST_BOX_LISTBOX_ITEM3,
EListBoxAtestlist2List_iconIndex2 );
AddListBoxResourceArrayItemL( R_ATEST_LIST2_LIST_BOX_LISTBOX_ITEM4,
EListBoxAtestlist2List_iconIndex3 );
AddListBoxResourceArrayItemL( R_ATEST_LIST2_LIST_BOX_LISTBOX_ITEM5,
EListBoxAtestlist2List_iconIndex4 );
AddListBoxResourceArrayItemL( R_ATEST_LIST2_LIST_BOX_LISTBOX_ITEM6,
EListBoxAtestlist2List_iconIndex5 );
AddListBoxResourceArrayItemL( R_ATEST_LIST2_LIST_BOX_LISTBOX_ITEM7,
EListBoxAtestlist2List_iconIndex6 );
AddListBoxResourceArrayItemL( R_ATEST_LIST2_LIST_BOX_LISTBOX_ITEM8,
EListBoxAtestlist2List_iconIndex7 );
AddListBoxResourceArrayItemL( R_ATEST_LIST2_LIST_BOX_LISTBOX_ITEM9,
EListBoxAtestlist2List_iconIndex8 );
AddListBoxResourceArrayItemL( R_ATEST_LIST2_LIST_BOX_LISTBOX_ITEM10,
EListBoxAtestlist2List_iconIndex9 );
AddListBoxResourceArrayItemL( R_ATEST_LIST2_LIST_BOX_LISTBOX_ITEM11,
EListBoxAtestlist2List_iconIndex10 );
iListBox->SetFocus( ETrue );// 获得交点
iFocusControl = iListBox;
}
// ]]] end generated function
/**
* Handle global resource changes, such as scalable UI or skin events (override)
*/
void CATestList2ListBox::HandleResourceChange( TInt aType )
{
CCoeControl::HandleResourceChange( aType );
SetRect( iAvkonViewAppUi->View( TUid::Uid( EATestList2ListBoxViewId ) )->ClientRect() );
// [[[ begin generated region: do not modify [Generated Contents]
// ]]] end generated region [Generated Contents]
}
/**
* Draw container contents.
*/
void CATestList2ListBox::Draw( const TRect& aRect ) const
更多精彩
赞助商链接