mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-29 12:35:13 +02:00
Add an experimental "small message radius" toggle. This toggle allows switching to the pre-4.3.0, smaller message bubble radius after an app restart. The message bubble radius styles now have to be referenced via the Ui::BubbleRadius* and Ui::MsgFileThumbRadius* wrappers to use the appropriate value.
20 lines
495 B
C++
20 lines
495 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 {
|
|
|
|
[[nodiscard]] int BubbleRadiusSmall();
|
|
[[nodiscard]] int BubbleRadiusLarge();
|
|
|
|
[[nodiscard]] int MsgFileThumbRadiusSmall();
|
|
[[nodiscard]] int MsgFileThumbRadiusLarge();
|
|
|
|
extern const char kOptionUseSmallMsgBubbleRadius[];
|
|
|
|
}
|