splash_screen.h

来自「symbian快捷方式添加的实例.3版的例子,添加快捷方式.」· C头文件 代码 · 共 36 行

H
36
字号

#ifndef __SPLASSCREEN_H__
#define __SPLASSCREEN_H__

#include <coecntrl.h>       // CCoeControl
#include <AknsBasicBackgroundControlContext.h> 
#include <aknsdrawutils.h>
#include <aknscontrolcontext.h>
#include <AknsSkinInstance.h>
#include <aknsutils.h>

class CFbsBitmap;

//-------------------------------------------------------------------
//
//-------------------------------------------------------------------
class CMySplashScreen : public CCoeControl
    {
public:
	static CMySplashScreen* NewL(const TRect& aRect);
	~CMySplashScreen();
protected:
	TTypeUid::Ptr MopSupplyObject(TTypeUid aId); // needed for skins stuff
private:
	virtual void SizeChanged();
    void ConstructL(const TRect& aRect);
	void Draw(const TRect& aRect) const;
private:
	CAknsBasicBackgroundControlContext*	iBgContext; // skins are drawn with this one
	CFbsBitmap*		iBgPic;
	CFbsBitmap*		iBgMsk;
};

  
#endif // __SPLASSCREEN_H__

⌨️ 快捷键说明

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