scalablescreendrawingcontrol.h

来自「一个界面绘图的例子」· C头文件 代码 · 共 37 行

H
37
字号
////////////////////////////////////////////////////////////////////////
//
// ScalableScreenDrawingControl.h
//
////////////////////////////////////////////////////////////////////////

#include <e32svr.h>
#include <coecntrl.h>
#include "ScalableScreenDrawingEngine.h"

class CScalableScreenDrawingControl : public CCoeControl, MCoeControlObserver
{
	public:

        // Symbian default constructor.
		void ConstructL(const TRect& aRect, CAknViewAppUi* aAppUi);

		~CScalableScreenDrawingControl();

	private: // Functions from base classes

       
        // From CoeControl,CountComponentControls.
        TInt CountComponentControls() const;

        // Event handling section
        void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
		void HandleResourceChange(TInt aType);
		TKeyResponse OfferKeyEventL(const TKeyEvent &aKeyEvent, TEventCode aType);

	private: // Data

		CScalableScreenDrawingEngine* iBlizzardEngine;
};

// End of file.

⌨️ 快捷键说明

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