hsgtextcontainer.h

来自「Symbian工程 九宫格界面」· C头文件 代码 · 共 63 行

H
63
字号
#ifndef __HsgTextCONTAINER_H__
#define __HsgTextCONTAINER_H__

// INCLUDES
#include <aknview.h>
#include "NewsRollText.h"
#include "LxdAD.h"
class CHsgTextView;
class CMyListBoxContainer;

class CHsgTextContainer : public CCoeControl
{
public: // Constructors and destructor
	TInt SnowGetKey()
	{
		return iOption;
	}
	CMyListBoxContainer* GetListBoxPointer();
 	CHsgTextContainer();	
	virtual ~CHsgTextContainer();
	void ConstructL(const TRect& aRect);
	TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
private: // Functions from base classes
    void SizeChanged();
    TInt CountComponentControls() const;
    CCoeControl* ComponentControl( TInt aIndex ) const;
    void Draw( const TRect& aRect ) const;
private:
		TBool					iHsgOpoiton;
		TInt					iHsgOpoitonNum;
		TInt					iOption;
		CMyListBoxContainer*	ipLxdListBox;
		CHsgTextView*			iSnowTextViewPointer;
		CNewsRollText*			iHsgTextRollText;
		CFbsBitmap*          iOffScreenBitmap;
		CFbsBitmapDevice*    iOffScreenBitmapDevice;
		CFbsBitGc*           iOffScreenBitmapGc; 
};

#endif      // __HsgTextCONTAINER_H__
// End of File





















⌨️ 快捷键说明

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