📄 ggballappview.h
字号:
/* Copyright (c) 2008, Nokia. All rights reserved */
#ifndef __GGBALL_APPVIEW_H__
#define __GGBALL_APPVIEW_H__
#include <coecntrl.h>
#include "Title.h"
#include "CbaButton.h"
#include "Menu.h"
#include "BallEngine.h"
class CGGBallAppUi;
class CPeriodic;
class CGGBallAppView : public CCoeControl
{
public:
static CGGBallAppView* NewL(const TRect& aRect,CGGBallAppUi* aAppui);
static CGGBallAppView* NewLC(const TRect& aRect,CGGBallAppUi* aAppui);
~CGGBallAppView();
public: // from CCoeControl
void Draw(const TRect& aRect) const;
private:
void ConstructL(const TRect& aRect,CGGBallAppUi* aAppui);
CGGBallAppView();
private:
TKeyResponse OfferKeyEventL(const TKeyEvent &aKeyEvent, TEventCode aType);
void ShowMenu(TBool aShow=ETrue);
void ProcessKeyEvent(TFunction aFun);
void DrawConfirmDlg(TBool aShow=ETrue);
private:
CTitle* iTitle;
CCbaButton* iCbaButton;
CMenu* iMenu;
CBallEngine* iBallEngine;
CPeriodic* iTimer;
CBaseControl* iConfirmDlg;
public:
CGGBallAppUi* iAppUi;
public: // New functions
static TInt CallBack(TAny* aAny);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -