⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mylistbox.h

📁 Symbian工程 九宫格界面
💻 H
字号:
#ifndef __MYLISTBOX_H__
#define __MYLISTBOX_H__

// INCLUDES
#include <aknview.h>
class CInputView;
class CMyListBoxContainer : public CCoeControl
{
	void SnowCalcPoint(const TRect& aRect);
public:
 	CMyListBoxContainer();	
	virtual ~CMyListBoxContainer();
	void ConstructL(const TRect& aRect);
	TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
	void SetCurrentIndex(TInt& aIndex);
	void SnowSetContent(const TDesC& aTitle);
	void SnowSetTime(const TDesC& aTime);
	void SnowGetIndex(TInt& aIndex);
	void SizeChanged();
	void SnowSetBackgroundColor(TRgb aColor);
	void SnowSetPenColor(TRgb aColor);
	void DelList();
	TInt SnowSetListBoxCount()
	{
		return iSnowTimeArr.Count();
	}
private: 
    void Draw( const TRect& aRect ) const;
private:
		TInt iSnowChose;
		TInt iSnowFirstCurrent;
		RPointerArray<HBufC>		iSnowTextArr;
		RPointerArray<HBufC>		iSnowTimeArr;

		TInt						iLineHeight;
		TInt						iTimeWidth;
		TInt						iStartTimeX;
		TInt						iStartTimeY;
		TInt                        iStartTitleX;
		TInt						iStartY;
		TInt                        iStartX;
		TInt                        iTitleWidth;
		TRgb						iSnowBrushBackgroundColor;
		TRgb						iSnowPenColor;
	
};
#endif      // __MyListBoxCONTAINER_H__
// End of File





















⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -