mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-01 13:34:05 +02:00
25 lines
613 B
C++
25 lines
613 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 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
|