Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TexPalette.H

Go to the documentation of this file.
00001 
00011 #ifndef TEXPALETTE_H
00012 #define TEXPALETTE_H
00013 
00014 
00015 #include "TexPlane.H"
00016 #include "DrawObj.H"
00017 #include "TimeFade.H"
00018 
00019 // Gluebase includes
00020 #define OUTSIDE_GLUE_CORE
00021 #include <std/list.H>
00022 
00023 
00024 class TexPalette : public DrawObj
00025 {
00026  public:
00027   
00028   TexPalette();
00029   virtual ~TexPalette();
00030 
00031   // override the DrawObj versions of these.. will update this
00032   // object's transformation as well as the texture plane objects that
00033   // it holds..  sort of a hack!
00034   void setTrans(cWtransf& m);
00035   void setRot(cWtransf& m);
00036   void setScale(cWtransf& m);
00037 
00038   void show();
00039   void hide();
00040 
00041   void draw();
00042 
00043   cARRAY<TexPlane*>& texPlanes() const { return _texPlanes; }
00044 
00045 private:
00046 
00047   ARRAY<TexPlane*> _texPlanes;
00048   TimeFade *_timeFade;
00049 
00050 };
00051 
00052 #endif
00053 

Generated on Mon Sep 15 16:27:56 2003 for inspace by doxygen1.2.18