retroappview.h
来自「s60 二维动画教程 含源码及 s60 二维动画教程 含源码及」· C头文件 代码 · 共 52 行
H
52 行
// RetroAppView.h
// ---------------------------
//
// Copyright (c) 2003 Nokia Mobile Phones limitedLtd. All rights reserved.
//
#ifndef __RETROAPPVIEW_H__
#define __RETROAPPVIEW_H__
#include <coecntrl.h>
#include "KeyHandler.h"
// Forward Declarations
//class TKeyHandler;
class CImageFactory;
class CRetroEngine;
class CRetroAppView : public CCoeControl
{
public:
static CRetroAppView* NewL(const TRect& aRect);
static CRetroAppView* NewLC(const TRect& aRect);
~CRetroAppView();
public:
// from CCoeControl
void Draw(const TRect& aRect) const;
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
public:
void StartGameL();
TBool IsPlaying();
void StopGame();
private:
void ConstructL(const TRect& aRect);
CRetroAppView();
private:
TKeyHandler iKeyHandler;
CImageFactory* iImageFactory;
CRetroEngine* iEngine;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?