20 #ifndef Tulip_GL2DRECT_H 
   21 #define Tulip_GL2DRECT_H 
   25 #include <tulip/GlRect.h> 
   55   Gl2DRect(
float top,
float bottom,
float left, 
float right,
 
   56            const std::string& textureName,
 
   57            bool inPercent=
false);
 
   70   Gl2DRect(
float bottom,
float left,
float height, 
float width,
 
   71            const std::string& textureName,
 
   72            bool xInv, 
bool yInv);
 
   81   virtual void draw(
float lod,
Camera *camera);
 
   83   virtual void translate(
const Coord& mouvement);
 
   88   virtual void setTexture(
const std::string &name);
 
   93   virtual std::string getTexture();
 
   98   virtual void setCoordinates(
float bottom, 
float left, 
float width, 
float height);
 
  100   virtual void getXML(std::string &outString);
 
  102   virtual void setWithXML(
const std::string &inString, 
unsigned int ¤tPosition);