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

📄 icebloxxview.h

📁 Source code (C++) of the Icebloxx game for Symbian OS UIQ3.x
💻 H
字号:
#ifndef ICEBLOXXVIEWH
#define ICEBLOXXVIEWH
#include <coeview.h>
#include "coecntrl.h"
class Icebloxx;
class QPixmap;
#ifdef UIQ3
#include <qikviewbase.h>
class CIceBloxxView:public CQikViewBase
#else
class CIceBloxxView:public CCoeControl,public MCoeView
#endif
{
public:
#ifdef UIQ3
	CIceBloxxView(CQikAppUi& aAppUI);
   // from CQikViewBase	
	void ViewConstructL();
	const CFont& ScreenFont(const TCoeFont& aFont) const;
#else
	CIceBloxxView();
#endif
	void SetIceBloxxGame(Icebloxx* aGame);

	~CIceBloxxView();
	void Draw(const TRect& aRect) const;
	virtual void ViewDeactivated();
	virtual void ViewActivatedL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,const TDesC8& aCustomMessage);
	virtual TVwsViewId ViewId() const;

	void ConstructL();
	void BlitImage(QPixmap* aPixmap);
	TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
	void HandlePointerEventL(const TPointerEvent& aPointerEvent);
protected:
#ifdef UIQ3
	// from MQikCommandHandler
	void HandleCommandL(CQikCommand& aCommand);
public:
	void UpdateCommandsL(TInt aCoins, TInt aSpeed, TInt aStrength);
#endif
private:
	Icebloxx* iGame;
};

#endif

⌨️ 快捷键说明

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