mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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(
|
void PeerBubbleListPart::draw(
|
||||||
Painter &p,
|
Painter &p,
|
||||||
const PaintContext &context,
|
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_media.h"
|
||||||
#include "history/view/media/history_view_sticker.h"
|
#include "history/view/media/history_view_sticker.h"
|
||||||
#include "ui/effects/ripple_animation.h"
|
|
||||||
|
|
||||||
namespace Data {
|
namespace Data {
|
||||||
struct GiveawayStart;
|
struct GiveawayStart;
|
||||||
|
@ -20,6 +19,10 @@ namespace Dialogs::Stories {
|
||||||
class Thumbnail;
|
class Thumbnail;
|
||||||
} // namespace Dialogs::Stories
|
} // namespace Dialogs::Stories
|
||||||
|
|
||||||
|
namespace Ui {
|
||||||
|
class RippleAnimation;
|
||||||
|
} // namespace Ui
|
||||||
|
|
||||||
namespace HistoryView {
|
namespace HistoryView {
|
||||||
|
|
||||||
class MediaInBubble final : public Media {
|
class MediaInBubble final : public Media {
|
||||||
|
@ -183,6 +186,7 @@ public:
|
||||||
PeerBubbleListPart(
|
PeerBubbleListPart(
|
||||||
not_null<Element*> parent,
|
not_null<Element*> parent,
|
||||||
const std::vector<not_null<PeerData*>> &list);
|
const std::vector<not_null<PeerData*>> &list);
|
||||||
|
~PeerBubbleListPart();
|
||||||
|
|
||||||
void draw(
|
void draw(
|
||||||
Painter &p,
|
Painter &p,
|
||||||
|
|
Loading…
Add table
Reference in a new issue