tdesktop/Telegram/SourceFiles/info/userpic/info_userpic_bubble_wrap.h

23 lines
499 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
#include "ui/rp_widget.h"
namespace Ui {
class VerticalLayout;
[[nodiscard]] QRect BubbleWrapInnerRect(const QRect &r);
not_null<Ui::RpWidget*> AddBubbleWrap(
not_null<Ui::VerticalLayout*> container,
const QSize &size);
} // namespace Ui