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

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

 2010-05-31 20:19:00 来源:WEB开发网   
核心提示:// [[[ begin generated region: do not modify [Generated User Includes]#include "ATestList2ListBox.h"#include "ATestList2ListBoxView.h"#inclu

// [[[ begin generated region: do not modify [Generated User Includes]

#include "ATestList2ListBox.h"

#include "ATestList2ListBoxView.h"

#include "ATestList2.hrh"

// ]]] end generated region [Generated User Includes]

// [[[ begin generated region: do not modify [Generated Constants]

_LIT( KATestList2File, "\resource\apps\ATestList2.mbm" );

_LIT(KATestList2SVGFile, "\resource\apps\ATestList2_aif.mbm");

// ]]] end generated region [Generated Constants]

/**

* First phase of Symbian two-phase construction. Should not

* contain any code that could leave.

*/

CATestList2ListBox::CATestList2ListBox()

{

// [[[ begin generated region: do not modify [Generated Contents]

iListBox = NULL;

// ]]] end generated region [Generated Contents]

}

/**

* Destroy child controls.

*/

CATestList2ListBox::~CATestList2ListBox()

{

// [[[ begin generated region: do not modify [Generated Contents]

delete iListBox;

iListBox = NULL;

// ]]] end generated region [Generated Contents]

}

/**

* Construct the control (first phase).

* Creates an instance and initializes it.

* Instance is not left on cleanup stack.

* @param aRect bounding rectangle

* @param aParent owning parent, or NULL

* @param aCommandObserver command observer

* @return initialized instance of CATestList2ListBox

*/

CATestList2ListBox* CATestList2ListBox::NewL(

const TRect& aRect,

const CCoeControl* aParent,

MEikCommandObserver* aCommandObserver )

{

CATestList2ListBox* self = CATestList2ListBox::NewLC(

aRect,

上一页  20 21 22 23 24 25 26 27 28 29 30  下一页

Tags:关于 symbian listbox

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