| 123456789101112131415161718192021222324252627282930313233343536373839 |
- /*
- 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
- template <typename Object>
- class object_ptr;
- namespace style {
- struct FlatLabel;
- struct PeerListItem;
- struct DialogRow;
- } // namespace style
- namespace Ui {
- class RpWidget;
- object_ptr<Ui::RpWidget> CreateLoadingTextWidget(
- not_null<Ui::RpWidget*> parent,
- const style::FlatLabel &st,
- int lines,
- rpl::producer<bool> rtl);
- object_ptr<Ui::RpWidget> CreateLoadingPeerListItemWidget(
- not_null<Ui::RpWidget*> parent,
- const style::PeerListItem &st,
- int lines);
- object_ptr<Ui::RpWidget> CreateLoadingDialogRowWidget(
- not_null<Ui::RpWidget*> parent,
- const style::DialogRow &st,
- int lines);
- } // namespace Ui
|