22 #ifndef GLPROGRESSBAR_H_ 
   23 #define GLPROGRESSBAR_H_ 
   25 #include <tulip/GlComposite.h> 
   26 #include <tulip/SimplePluginProgress.h> 
   27 #include <tulip/Color.h> 
   28 #include <tulip/Coord.h> 
   30 const std::string SLIDER_TEXTURE_NAME = 
"cylinderTexture.png";
 
   36 class TLP_GL_SCOPE GlProgressBar : 
public GlComposite, 
public SimplePluginProgress {
 
   47   GlProgressBar(
const Coord ¢erPosition, 
const unsigned int width, 
const unsigned int height, 
const Color &color);
 
   54   void setComment(
const std::string& msg) {
 
   58   void progress_handler(
int step, 
int max_step);
 
   63   Color color, percentLabelAndFrameColor;
 
   64   float progressBarMaxWidth, progressBarHeight;
 
   65   float commentWidth, commentHeight;
 
   66   Coord progressBarTLCorner;
 
   67   Coord commentLabelCenter;
 
   69   unsigned int currentPercent;