WEB开发网
开发学院手机开发Symbian 开发 关于在symbian listbox中添加svg图片的问题 阅读

关于在symbian listbox中添加svg图片的问题

 2010-05-31 20:19:00 来源:WEB开发网   
核心提示:iListBox->Model()->SetOwnershipType( ELbmOwnsItemArray );//这个是说list拥有item并且负责处理他们// setup the icon array so graphics-style boxes work//设置list的图标SetupListB

iListBox->Model()->SetOwnershipType( ELbmOwnsItemArray );//这个是说list拥有item并且负责处理他们

// setup the icon array so graphics-style boxes work//设置list的图标

SetupListBoxIconsL();

// add list items

AddListBoxResourceArrayItemL( R_ATEST_LIST2_LIST_BOX_LISTBOX_ITEM1,

EListBoxAtestlist2List_iconIndex );

AddListBoxResourceArrayItemL( R_ATEST_LIST2_LIST_BOX_LISTBOX_ITEM2,

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 )

上一页  12 13 14 15 16 17 18 19 20 21 22  下一页

Tags:关于 symbian listbox

编辑录入:coldstar [复制链接] [打 印]
赞助商链接