📄 ddbouncingball_appview.h
字号:
// DDBouncingBall_AppView.h
// ---------------------------
//
// Copyright (c) 2002 Symbian Ltd. All rights reserved.
//
////////////////////////////////////////////////////////////////////
//
// class CDDBouncingBallAppView
//
// Contains an instance of our DirectScreenAccess engine, and
// passes commands from our App Ui class through to the engine.
//
// This class contains the necessary context in which to create
// our DirectScreenAccess engine. All Draw code here is
// rudimentary.
//
//
////////////////////////////////////////////////////////////////////
#ifndef __DDBOUNCINGBALL_APPVIEW_H__
#define __DDBOUNCINGBALL_APPVIEW_H__
#include <coecntrl.h>
// Forward Declarations
class CDDBouncingBallEngine;
class CDDBouncingBallAppView : public CCoeControl
{
public:
static CDDBouncingBallAppView* NewL(const TRect& aRect);
static CDDBouncingBallAppView* NewLC(const TRect& aRect);
~CDDBouncingBallAppView();
public:
// from CCoeControl
void Draw(const TRect& aRect) const;
public:
void StartBouncingBallL();
void StopBouncingBall();
TBool IsBouncing();
private:
void ConstructL(const TRect& aRect);
CDDBouncingBallAppView();
private:
CDDBouncingBallEngine* iBouncingBall;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -