tdesktop/Telegram/SourceFiles/statistics/statistics_graphics.h

20 lines
481 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
namespace Data {
struct StatisticalChart;
} // namespace Data
namespace Statistic {
[[nodiscard]] QImage ChartCurrencyIcon(
const Data::StatisticalChart &chartData,
std::optional<QColor> color);
} // namespace Statistic