info_userpic_bubble_wrap.h 499 B

12345678910111213141516171819202122
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. #include "ui/rp_widget.h"
  9. namespace Ui {
  10. class VerticalLayout;
  11. [[nodiscard]] QRect BubbleWrapInnerRect(const QRect &r);
  12. not_null<Ui::RpWidget*> AddBubbleWrap(
  13. not_null<Ui::VerticalLayout*> container,
  14. const QSize &size);
  15. } // namespace Ui