2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-23 10:47:11 +00:00

26 lines
613 B
C
Raw Permalink Normal View History

/*
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 Ui {
class RpWidget;
} // namespace Ui
namespace Ui::NewBadge {
[[nodiscard]] not_null<Ui::RpWidget*> CreateNewBadge(
not_null<Ui::RpWidget*> parent,
rpl::producer<QString> text);
void AddToRight(not_null<Ui::RpWidget*> parent);
void AddAfterLabel(
not_null<Ui::RpWidget*> parent,
not_null<Ui::RpWidget*> label);
} // namespace Ui::NewBadge