X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexenv.h;fp=source%2Ftexenv.h;h=61f700854b50030e43297b96310aa106622a36fb;hb=126161d1d44ab9503bc747d24a07b7b9d15e527a;hp=55a12f306ed2e33850b9b73788c1a122d69052a7;hpb=dcd8bd3a16a4af8e77aa84877b3f8a4fb03b8c7e;p=libs%2Fgl.git diff --git a/source/texenv.h b/source/texenv.h index 55a12f30..61f70085 100644 --- a/source/texenv.h +++ b/source/texenv.h @@ -20,6 +20,12 @@ enum TexEnvMode class TexEnv { private: + enum ParameterMask + { + MODE = 1, + COLOR = 2 + }; + TexEnvMode mode; Color color; @@ -28,6 +34,10 @@ public: static const TexEnv &default_object(); +private: + void update_parameter(int) const; + +public: void set_mode(TexEnvMode); void set_color(const Color &); TexEnvMode get_mode() const { return mode; }