关于在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"
#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,
更多精彩
赞助商链接