mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Use forward declaration for ripple animation.
This commit is contained in:
parent
d87a0a2d25
commit
28d68acfe6
2 changed files with 7 additions and 1 deletions
|
@ -455,6 +455,8 @@ PeerBubbleListPart::PeerBubbleListPart(
|
|||
}
|
||||
}
|
||||
|
||||
PeerBubbleListPart::~PeerBubbleListPart() = default;
|
||||
|
||||
void PeerBubbleListPart::draw(
|
||||
Painter &p,
|
||||
const PaintContext &context,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue