mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Paint reaction animations above everything.
This commit is contained in:
@@ -90,9 +90,15 @@ struct MessageImageStyle {
|
||||
style::icon historyVideoMessageMute = { Qt::Uninitialized };
|
||||
};
|
||||
|
||||
struct ReactionEffectPainter {
|
||||
QPoint offset;
|
||||
Fn<QRect(QPainter&)> paint;
|
||||
};
|
||||
|
||||
struct ChatPaintContext {
|
||||
not_null<const ChatStyle*> st;
|
||||
const BubblePattern *bubblesPattern = nullptr;
|
||||
ReactionEffectPainter *reactionEffects = nullptr;
|
||||
QRect viewport;
|
||||
QRect clip;
|
||||
TextSelection selection;
|
||||
|
Reference in New Issue
Block a user