From aea2950aab53fa171d073d5e001e0419098ab82d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 12 Jun 2021 02:12:22 +0200 Subject: Add drop shadow --- include/RoundedRectangle.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/RoundedRectangle.hpp b/include/RoundedRectangle.hpp index 2106634..3bdb38f 100644 --- a/include/RoundedRectangle.hpp +++ b/include/RoundedRectangle.hpp @@ -25,6 +25,7 @@ namespace QuickMedia { sf::Vector2f pos; sf::Vector2f size; sf::Vertex vertices[4]; + sf::Vertex drop_shadow_vertices[16]; sf::Shader *rounded_rectangle_shader; sf::Vector2f band_pos; sf::Vector2f band_size; -- cgit v1.2.3