diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-06-12 03:47:37 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-06-12 03:47:37 +0200 |
commit | b83e18c475fa68806accf5d5b23aafcc2234e5dc (patch) | |
tree | b4f659c3fa895aa3a579ed4dbf22f9d31558361a /include | |
parent | 1d44ae1b038b6d541bc45d298ba704f8a3fbd559 (diff) |
Better drop shadow
Diffstat (limited to 'include')
-rw-r--r-- | include/RoundedRectangle.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/RoundedRectangle.hpp b/include/RoundedRectangle.hpp index 3bdb38f..3652b03 100644 --- a/include/RoundedRectangle.hpp +++ b/include/RoundedRectangle.hpp @@ -20,6 +20,8 @@ namespace QuickMedia { void set_band(sf::Vector2f pos, sf::Vector2f size); void set_band_color(sf::Color color); void draw(sf::RenderTarget &target); + + bool drop_shadow_enabled = true; private: float radius; sf::Vector2f pos; |