mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Use forward declaration for ripple animation.
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user