mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-05 20:50:43 +00:00
17 lines
304 B
Objective-C
17 lines
304 B
Objective-C
#ifndef __CvarRange_h
|
|
#define __CvarRange_h
|
|
|
|
#include "CvarObject.h"
|
|
|
|
@interface CvarRange : CvarObject
|
|
{
|
|
float min, max, step;
|
|
}
|
|
-(id)initWithCvar:(string)cvname min:(float)_min max:(float)_max step:(float)_step;
|
|
-(void)inc;
|
|
-(void)dec;
|
|
-(float)value;
|
|
-(integer)percentage;
|
|
@end
|
|
|
|
#endif//__CvarRange_h
|