From b83e18c475fa68806accf5d5b23aafcc2234e5dc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 12 Jun 2021 03:47:37 +0200 Subject: Better drop shadow --- include/RoundedRectangle.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.2.3