diff options
Diffstat (limited to 'include/RoundedRectangle.hpp')
-rw-r--r-- | include/RoundedRectangle.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/RoundedRectangle.hpp b/include/RoundedRectangle.hpp index 96e57fd..b9d0754 100644 --- a/include/RoundedRectangle.hpp +++ b/include/RoundedRectangle.hpp @@ -17,6 +17,8 @@ namespace QuickMedia { void set_color(sf::Color color); sf::Vector2f get_position() const; sf::Vector2f get_size() const; + void set_band(float y, float height); + void set_band_color(sf::Color color); void draw(sf::RenderTarget &target); private: float radius; @@ -24,5 +26,8 @@ namespace QuickMedia { sf::Vector2f size; sf::Vertex vertices[4]; sf::Shader *rounded_rectangle_shader; + float band_y; + float band_height; + sf::Color band_color; }; }
\ No newline at end of file |