?? retroappview.h
字號(hào):
// 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
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -