ZaStoGram_desktop/Telegram/SourceFiles/tgw/tgw_emoji_images.h
John Preston 7b7593dd57 Draw widget text emoji from the app's own emoji set
Task: 2026/10/26/draw-emoji-in-widget-text-from-the-apps-own-emoji-set
2026-11-05 17:12:55 +04:00

23 lines
466 B
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "emoji.h"
class QPainter;
namespace Tgw {
void PaintEmoji(
QPainter &p,
EmojiPtr emoji,
const QRectF &box,
float64 deviceSide);
[[nodiscard]] rpl::producer<> EmojiRefreshes();
} // namespace Tgw