numericcontrol.h

来自「P2P应用 : Peercast的源代码」· C头文件 代码 · 共 33 行

H
33
字号
/* *  numericcontrol.h *  PeerCast * *  Created by mode7 on Mon Apr 05 2004. *  Copyright (c) 2002-2004 peercast.org. All rights reserved. * */#ifndef _NUMERICCONTROL_H#define _NUMERICCONTROL_H#include "textcontrol.h"class NumericControl: public TextControl{public:	explicit NumericControl( const int a, const int id )	:TextControl( a, id )	{	}		void setIntValue  ( WindowRef window, const int   value );	void setFloatValue( WindowRef window, const float value );		int   getIntValue  ( WindowRef window );	float getFloatValue( WindowRef window );	private:	float mValue;};#endif // _NUMERICCONTROL_H

⌨️ 快捷键说明

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