viewbase.h

来自「手机文件浏览器 Here are the sources to SMan v1.」· C头文件 代码 · 共 39 行

H
39
字号
#include <eikenv.h>
#include <e32def.h>
#include <eikimage.h>
#include <e32std.h>
#include <barsread.h>		// TResourceReader

#include "bjackicon.h"
#include "config.h"

#if !defined(__VIEWBASE_H__)
#define __VIEWBASE_H__

class CViewBase : public CCoeControl
{
public:
	CViewBase(CConfig *cData);
	~CViewBase();
	void doViewActivated();
	void drawBJackIcon(TBool draw);
	void initBJackIcon();
	void generateZoomFont(TInt zoomLevel);
	void releaseFont();

	CEikImage *bjackIconLabel[NUM_BJACK_ICONS];
	TPoint bjackIconPosition;
	TUint activateCount;
	CConfig *configData;
	TInt viewId;
	CFont *font;
	TBool firstTime;
	
	TFileName appPathNoExt;
	CArrayPtrSeg<CCoeControl>* controlsArray;
	int CountComponentControls() const;
	CCoeControl* ComponentControl(int aIndex) const;
	void Draw(const TRect& aRect) const;
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?