|  | 
|  | Slider (unsigned int x_pos, unsigned int y_pos, unsigned int min, unsigned int max, unsigned int &variable, std::string name) | 
|  | 
| void | draw (sf::RenderWindow &window, unsigned int &variable) | 
|  | 
| sf::Text | drawText (std::string text, int x_pos, int y_pos, unsigned int size) | 
|  | 
      
        
          | Slider::Slider | ( | unsigned int | x_pos, | 
        
          |  |  | unsigned int | y_pos, | 
        
          |  |  | unsigned int | min, | 
        
          |  |  | unsigned int | max, | 
        
          |  |  | unsigned int & | variable, | 
        
          |  |  | std::string | name | 
        
          |  | ) |  |  | 
      
 
- Parameters
- 
  
    | x_pos | is the x coordinate of the slider in the window |  | y_pos | is the y coordinate of the slider in the window |  | min | is the minimal value of the slider |  | max | is the maximal value of the slider |  | variable | is variable that will be changed with the slider |  | name | this string will draw above the slider in the window |  
 
 
 
      
        
          | void Slider::draw | ( | sf::RenderWindow & | window, | 
        
          |  |  | unsigned int & | variable | 
        
          |  | ) |  |  | 
      
 
- Parameters
- 
  
    | window | is the RenderWindow which gets the drawed slider |  | number | is variable that will be changed with the slider |  
 
 
 
      
        
          | sf::Text Slider::drawText | ( | std::string | text, | 
        
          |  |  | int | x_pos, | 
        
          |  |  | int | y_pos, | 
        
          |  |  | unsigned int | size | 
        
          |  | ) |  |  | 
      
 
- Parameters
- 
  
    | text | is the string that will be displayed in the window |  | x_pos | is the x coordinate of the text in the window |  | y_pos | is the y coordinate of the text in the window |  | size | is the size of the text |  
 
 
 
The documentation for this class was generated from the following files:
- src/visualization/Slider.h
- src/visualization/Slider.cc