⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diaclockctrl.h

📁 一个symbian c++ GUI程序 闹钟 可以详细了解到symbian GUI
💻 H
字号:
// DigClockCtrl.h: interface for the CDigClockCtrl class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DIGCLOCKCTRL_H__61105DB3_7944_4F1E_8480_B22A3BA69408__INCLUDED_)
#define AFX_DIGCLOCKCTRL_H__61105DB3_7944_4F1E_8480_B22A3BA69408__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <coecntrl.h>

class CDiaClockCtrl : public CCoeControl  
{
public:
	CDiaClockCtrl();
	~CDiaClockCtrl();
	void ConstructL();

	void SetTime(TDateTime aTime) { iTime = aTime;}
	void SetSelected(TBool aSelected){iSelected = aSelected;}

private:
	void Draw(const TRect& /*aRect*/) const;
	void DrawClock(CWindowGc& aGc,const TRect &  aRect,TInt aHour/*<=12*/,TInt aMin,TInt aSec) const;

private:
	TDateTime iTime;	
	TBool	  iSelected;
};

#endif // !defined(AFX_DIGCLOCKCTRL_H__61105DB3_7944_4F1E_8480_B22A3BA69408__INCLUDED_)

⌨️ 快捷键说明

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