00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef VEE_HAS_VALUES_H
00021 #define VEE_HAS_VALUES_H
00022
00023 #include <vee_color.h>
00024 #include <vee_vector3.h>
00025 #include <vee_matrix3.h>
00026
00027 class VEE_Value;
00028
00029 class VEE_HasValues
00030 {
00031 public:
00032 VEE_HasValues() {}
00033 virtual ~VEE_HasValues() {}
00034
00035 virtual bool setValue(const char *, VEE_Value *);
00036
00037 bool setValueInt(const char *, int);
00038 bool setValueFloat(const char *, float);
00039 bool setValueVector3(const char *, const VEE_Vector3 &);
00040 bool setValueVector3f(const char *, float , float , float);
00041 bool setValueMatrix3(const char *, const VEE_Matrix3 &);
00042 bool setValueRgba(const char *, const VEE_Rgba &);
00043 bool setValueRgbaf(const char *id, float r, float g, float b, float a)
00044 { return setValueRgba(id, VEE_Rgba(r, g, b, a)); }
00045 bool setValueRgbatf(const char *id,
00046 float r, float g, float b, float a, float t)
00047 { return setValueRgba(id, VEE_Rgba(r, g, b, a, t)); }
00048
00049 };
00050
00051 #endif