mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-30 13:03:58 +02:00
28 lines
711 B
C++
28 lines
711 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
|
|
|
|
class PhotoData;
|
|
|
|
namespace Data {
|
|
struct CreditsHistoryEntry;
|
|
} // namespace Data
|
|
|
|
namespace Ui {
|
|
|
|
Fn<void(Painter &, int, int, int, int)> GenerateCreditsPaintUserpicCallback(
|
|
const Data::CreditsHistoryEntry &entry);
|
|
|
|
Fn<void(Painter &, int, int, int, int)> GenerateCreditsPaintEntryCallback(
|
|
not_null<PhotoData*> photo,
|
|
Fn<void()> update);
|
|
|
|
[[nodiscard]] TextWithEntities GenerateEntryName(
|
|
const Data::CreditsHistoryEntry &entry);
|
|
|
|
} // namespace Ui
|