2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Implement new settings design with icons etc.

This commit is contained in:
John Preston
2018-09-10 15:18:39 +03:00
parent bbe6d2d13b
commit fbf3c005ff
37 changed files with 179 additions and 58 deletions

View File

@@ -73,12 +73,14 @@ void AddDividerText(
not_null<Button*> AddButton(
not_null<Ui::VerticalLayout*> container,
LangKey text,
const style::InfoProfileButton &st);
const style::InfoProfileButton &st,
const style::icon *leftIcon = nullptr);
not_null<Button*> AddButtonWithLabel(
not_null<Ui::VerticalLayout*> container,
LangKey text,
rpl::producer<QString> label,
const style::InfoProfileButton &st);
const style::InfoProfileButton &st,
const style::icon *leftIcon = nullptr);
void CreateRightLabel(
not_null<Button*> button,
rpl::producer<QString> label);