Commit graph

287 commits

Author SHA1 Message Date
John Preston
4074a558e7 Get rid of Ui::FlatInput class.
Fixes #16172.
2022-11-01 19:25:41 +04:00
John Preston
83008fa358 Support new rounding in theme preview generator. 2022-11-01 19:25:35 +04:00
John Preston
d15173e09d Update API scheme on layer 148. 2022-11-01 19:25:35 +04:00
John Preston
e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston
dd52c53ec0 Allow more file attach layout customization. 2022-11-01 19:25:34 +04:00
John Preston
ba2f92906b Implement new bubble rounding. 2022-11-01 19:25:34 +04:00
John Preston
405d8c327d Support different row styles in chats list. 2022-11-01 19:25:34 +04:00
John Preston
4f948699c0 Correct spoiler selections. 2022-09-18 16:52:31 +04:00
John Preston
cd00d41cca Correct spoiler colors in fully selected messages. 2022-09-18 16:52:31 +04:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston
6e9493c725 Ignore premium gradient keys when colorizing theme. 2022-09-10 08:11:58 +04:00
John Preston
9d7060c24a Pass secondary_bg_color to WebView-s. 2022-07-26 20:12:13 +03:00
John Preston
ce39eb2da9 Don't watch theme file while using theme editor. 2022-06-23 10:35:52 +04:00
Ilya Fedin
f7bc84fdd6 Automatically reload theme on file change 2022-06-23 10:09:59 +04:00
23rd
629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
John Preston
6dedf7c63e Update API scheme to layer 143. 2022-05-19 17:27:02 +04:00
John Preston
d4cb56a73d Custom scroll bar in WebKit / Chromium. 2022-04-12 23:01:37 +04:00
23rd
7bebe699f6 Moved special fields to separated folder. 2022-04-01 15:53:57 +04:00
John Preston
aed1904b4c Support theming for webview-s (payments, attach). 2022-03-30 12:23:05 +04:00
23rd
c9ebec1cf0 Removed base/observer.h from main pch.
Removed unused inheritances from base::Subscriber.
2022-03-15 18:02:30 +03:00
John Preston
32d09f189b Use rpl::empty instead of rpl::empty_value(). 2022-03-11 09:56:29 +04:00
23rd
5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston
1710863231 Update some icons. 2022-02-27 20:26:52 +03:00
John Preston
eefb9823e1 Don't apply theme accent color to the settings icons. 2022-02-25 14:14:44 +03:00
John Preston
3ff17a8789 Refactor image transformation interfaces. 2022-01-21 15:33:44 +03:00
23rd
74f9d0935b Removed text commands from skip blocks. 2022-01-12 11:54:24 +03:00
23rd
f9c50fdc06 Removed text commands from theme preview. 2022-01-12 11:54:24 +03:00
23rd
52699ccfc2 Added new colors to text palette for spoilers. 2021-12-29 21:22:33 +03:00
John Preston
b773bb6e70 Add icons to the media viewer menus. 2021-12-29 21:22:33 +03:00
John Preston
2c36623cfb Add some icons to popup menus. 2021-12-29 21:22:33 +03:00
John Preston
5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
23rd
3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston
3b2f6b893d Hide MTPInputFile in Api::RemoteFileInfo. 2021-11-18 11:04:06 +04:00
John Preston
97ae094c3c Update API scheme with new cloud themes. 2021-10-29 18:31:07 +04:00
Ilya Fedin
847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd
6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
John Preston
1204e282d3 Fix attach icon in theme preview. 2021-09-28 19:27:41 +04:00
John Preston
ab0d2bf9c6 Initial chat theme changing. 2021-09-28 19:27:41 +04:00
John Preston
19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
John Preston
e0135e509d Allow exporting test chat themes. 2021-09-19 14:40:43 +03:00
John Preston
559d4cf4da Update theme preview. 2021-09-17 13:22:33 +03:00
John Preston
8069fdd873 Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
John Preston
6a53fc7edc Beta version 3.0.4: Add some theme loading logging. 2021-09-13 20:09:55 +03:00
23rd
900a7d0b2b Appended references to const auto types in loop to prevent copying.
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston
b6cd9c2911 Invert patter image to white for dark colors. 2021-09-07 23:41:08 +03:00
John Preston
c318f57fc0 Use outbox bubble colors, adjust custom colors. 2021-09-07 23:41:08 +03:00
John Preston
23e9e7b9f0 Remove for_const macro. 2021-09-06 13:13:26 +03:00
John Preston
444f21fd7e Support colorizing of the default palette. 2021-09-06 13:13:26 +03:00
John Preston
2554aaf3c0 Move Window::Theme::Colorizer to style::colorizer. 2021-09-06 13:13:26 +03:00