aboutsummaryrefslogtreecommitdiff
path: root/include/BodyItem.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/BodyItem.hpp')
-rw-r--r--include/BodyItem.hpp3
1 files changed, 3 insertions, 0 deletions
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<ThumbnailWidget> 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) {