ZaStoGram_desktop/Telegram/SourceFiles/ui/chat/chat_style_radius.h
John Preston 1ef6080b00 Round rich message edge media like ordinary bubble media
Task: 2026/10/06/round-rich-message-edge-media-like-ordinary-media
2026-10-07 19:02:09 +04:00

23 lines
620 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 {
enum class BubbleCornerRounding : uchar;
[[nodiscard]] int BubbleRadiusSmall();
[[nodiscard]] int BubbleRadiusLarge();
[[nodiscard]] int BubbleCornerRadius(BubbleCornerRounding corner);
[[nodiscard]] int MsgFileThumbRadiusSmall();
[[nodiscard]] int MsgFileThumbRadiusLarge();
extern const char kOptionUseSmallMsgBubbleRadius[];
} // namespace Ui