position.h

来自「a position control(using in musicplayer)」· C头文件 代码 · 共 31 行

H
31
字号
#ifndef POSITION_H_
#define POSITION_H_

#include "Slider.h"

class COggSlider64 : public COggSliderBase
	{
public:
	COggSlider64();

	void SetValue(TInt64 aValue);  
	void SetMaxValue(TInt64 aMaxValue);

	TInt64 CurrentValue();

protected:
	// From COggControl
	void PointerEvent(const TPointerEvent& p);
	void Draw(CBitmapContext& aBitmapContext);

	// From COggSliderBase
	TInt GetPosFromValue();

	TInt64 GetValueFromPos(TInt aPos);

private:
	TInt64 iValue;
	TInt64 iMaxValue;
	};
#endif /*POSITION_H_*/

⌨️ 快捷键说明

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