📄 appview.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -