Use forward declaration for ripple animation.

This commit is contained in:
John Preston 2023-12-14 23:02:11 +00:00
parent d87a0a2d25
commit 28d68acfe6
2 changed files with 7 additions and 1 deletions

View file

@ -455,6 +455,8 @@ PeerBubbleListPart::PeerBubbleListPart(
}
}
PeerBubbleListPart::~PeerBubbleListPart() = default;
void PeerBubbleListPart::draw(
Painter &p,
const PaintContext &context,

View file

@ -9,7 +9,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "history/view/media/history_view_media.h"
#include "history/view/media/history_view_sticker.h"
#include "ui/effects/ripple_animation.h"
namespace Data {
struct GiveawayStart;
@ -20,6 +19,10 @@ namespace Dialogs::Stories {
class Thumbnail;
} // namespace Dialogs::Stories
namespace Ui {
class RippleAnimation;
} // namespace Ui
namespace HistoryView {
class MediaInBubble final : public Media {
@ -183,6 +186,7 @@ public:
PeerBubbleListPart(
not_null<Element*> parent,
const std::vector<not_null<PeerData*>> &list);
~PeerBubbleListPart();
void draw(
Painter &p,