Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

ClampFloatParam Class Reference

Represents a parameter of type GLclampf, used both by commmands and arrays. More...

#include <clampfloatparam.h>

Inheritance diagram for ClampFloatParam:

DoubleParam CmdParam List of all members.

Public Member Functions

 ClampFloatParam (const char *formalVarName, const char *defaultValue, const char *exactTypeName="GLclampf")

Detailed Description

Represents a parameter of type GLclampf, used both by commmands and arrays.

This class inherits DoubleParam and simply modifies the min, max and step values and also the maximum widget width to its own likening.

The floating-point value has been clamped to the range of 0.0 to 1.0.

As an editor widget, it provides a SuperSpinBox, which is an extension of a standard integer QSpinBox, but instead provides support of doubles and floats.


Constructor & Destructor Documentation

ClampFloatParam::ClampFloatParam const char *  formalVarName,
const char *  defaultValue,
const char *  exactTypeName = "GLclampf"
[inline]
 


The documentation for this class was generated from the following file:
Generated on Fri Feb 27 12:01:40 2004 for Glitch by doxygen 1.3.2