appview.h

来自「Symbian C++ scmp.zip」· C头文件 代码 · 共 41 行

H
41
字号
// appview.h
//
// Copyright (c) 2000 Symbian Ltd.  All rights reserved.
//

#ifndef __APPVIEW_H
#define __APPVIEW_H

#include <coecntrl.h>
#include <coeccntx.h>

#include "engine.h"

// app view classes

class CEikLabel;

class CGameAppView : public CCoeControl
    {
public:
	~CGameAppView();
    void ConstructL(CGameEngine* aEngine, const TRect& aRect);
public:
	void SetEngineL(CGameEngine* aEngine);
private:
	// from CCoeControl
	void Draw(const TRect&) const;
	TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
	TInt CountComponentControls() const;
	CCoeControl* ComponentControl(TInt aIndex) const;
public:
	// my stuff
	CEikLabel* iLastSentLabel;
	CEikLabel* iLastReceivedLabel;
private:
	// copy of stuff elsewhere
	CGameEngine* iEngine;
    };

#endif

⌨️ 快捷键说明

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