4 #include <SFML/Graphics.hpp> 5 #include <SFML/Window.hpp> 16 unsigned int axis_height;
17 unsigned int axis_width;
18 unsigned int slider_width;
22 sf::RectangleShape axis;
23 sf::RectangleShape slider_bar;
36 Slider(
unsigned int x_pos,
unsigned int y_pos,
unsigned int min,
unsigned int max,
unsigned int& variable,
44 void draw(sf::RenderWindow& window,
unsigned int& variable);
53 sf::Text
drawText(std::string text,
int x_pos,
int y_pos,
unsigned int size);
void draw(sf::RenderWindow &window, unsigned int &variable)
Definition: Slider.cc:46
sf::Text drawText(std::string text, int x_pos, int y_pos, unsigned int size)
Definition: Slider.cc:74
Slider(unsigned int x_pos, unsigned int y_pos, unsigned int min, unsigned int max, unsigned int &variable, std::string name)
Definition: Slider.cc:6