From de45f6d8d7d777244006a7998ec971157e51296e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 18 Nov 2022 23:32:08 +0100 Subject: Readd meme gpg encryption in matrix, this time asynchronous decryption of only visible items --- include/BodyItem.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/BodyItem.hpp') diff --git a/include/BodyItem.hpp b/include/BodyItem.hpp index 647d344..89adc5d 100644 --- a/include/BodyItem.hpp +++ b/include/BodyItem.hpp @@ -36,13 +36,16 @@ namespace QuickMedia { mgl::vec2f size; }; + class BodyItem; struct Widgets { + BodyItem *body_item = nullptr; std::optional thumbnail; }; // TODO: Remove and create an Userdata class instead to replace the void* userdata in BodyItem class BodyItemExtra { public: + BodyItemExtra() = default; virtual ~BodyItemExtra() = default; virtual void draw_overlay(mgl::Window &window, const Widgets &widgets) { -- cgit v1.2.3