15 #ifndef CONFIGVARIABLECOLOR_H 16 #define CONFIGVARIABLECOLOR_H 18 #include "dtoolbase.h" 19 #include "config_linmath.h" 20 #include "config_prc.h" 21 #include "configVariable.h" 43 INLINE ConfigVariableColor(
const string &name,
const LColor &default_value,
44 const string &description =
string(),
46 INLINE ConfigVariableColor(
const string &name,
const string &default_value,
47 const string &description =
string(),
50 INLINE
void operator = (
const LColor &value);
51 INLINE
operator const LColor & ()
const;
53 INLINE PN_stdfloat operator [] (
int n)
const;
55 INLINE
void set_value(
const LColor &value);
56 INLINE
const LColor &get_value()
const;
60 void set_default_value(
const LColor &default_value);
63 mutable AtomicAdjust::Integer _local_modified;
67 #include "configVariableColor.I" const ConfigDeclaration * get_default_value() const
Returns the default variable specified for this variable.
This is a convenience class to specialize ConfigVariable as a set of floating-point types representin...
This is a generic, untyped ConfigVariable.
This is the base class for all three-component vectors and points.