📄 progbuildview.h
字号:
// ProgBuildView.h
//
// Copyright (c) 1999-2007 Symbian Software Ltd. All rights reserved.
//
// $Change: 937687 $
#ifndef PROGBUILDVIEW_H
#define PROGBUILDVIEW_H
// SYSTEM HEADERS
#include <coecntrl.h>
#include <eikenv.h>
#include <eikdef.h>
// PROJECT HEADERS
#include "ProgBuildDoc.h"
class CProgBuildDocument;
class CDataControl : public CCoeControl
{
public:
static CDataControl* NewL(const CCoeControl & aCont, const TRect& aRect, RCountServ& aCounter);
static CDataControl* NewLC(const CCoeControl & aCont, const TRect& aRect, RCountServ& aCounter);
void SetCounterValue(TInt aValue);
void GetCounterValue(TInt& aValue);
private:
CDataControl(RCountServ& aCounter);
void ConstructL(const CCoeControl& aCont, const TRect& aRect);
private: // from CCoeControl
void Draw(const TRect& /*aRect*/) const;
private:
RCountServ& iCounter;
};
// class CProgBuildView
class CProgBuildView : public CCoeControl
{
public:
void ConstructL(const TRect& aRect);
~CProgBuildView();
CProgBuildView(RCountServ& aCounter);
protected:
TInt CountComponentControls() const;
CCoeControl* ComponentControl(TInt aIndex) const;
private: // from CCoeControl
void Draw(const TRect& /*aRect*/) const;
private: // data
CDataControl* iControl;
RCountServ& iCounter;
};
#endif // PROGBUILDVIEW_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -