John Preston
28d9330969
Add premium promo section about wallpapers.
2023-11-28 21:55:27 +04:00
John Preston
8c3fa14a75
Allow setting background for both sides.
2023-11-28 21:55:27 +04:00
23rd
819020e515
Moved out common default style entries from settings.
2023-11-15 04:20:20 +03:00
23rd
f748de9dc4
Removed redundant include directives of settings_common headers.
2023-11-15 03:30:04 +03:00
23rd
f6cb9072d2
Moved AddSkip and AddDivier from Settings namespace to separate module.
2023-11-15 03:30:04 +03:00
John Preston
9561026cd4
Add change color button with color sample.
2023-10-27 12:26:42 +04:00
John Preston
5d335341ab
Support server-side colors by index, up to three.
2023-10-27 09:55:09 +04:00
John Preston
04e7ce4408
Update API scheme on layer 160: Replies.
2023-07-20 07:20:09 +04:00
John Preston
65afa2c402
Detach ComposeControls from SessionController.
2023-05-17 15:51:52 +04:00
John Preston
ad238108bd
Fix background dimming slider initial visibility.
2023-04-24 22:50:36 +04:00
John Preston
81f40586a3
Don't re-apply exactly the same custom chat wallpaper.
2023-04-24 22:47:31 +04:00
John Preston
66e7f1d490
Fix dimming edition for new wallpapers.
2023-04-20 23:05:54 +04:00
John Preston
4617ba5fb9
Add couple of phrases to the langpack.
2023-04-20 23:02:33 +04:00
John Preston
65f54d937f
Toggle wallpaper dark mode / edit dimming.
2023-04-20 22:55:42 +04:00
John Preston
0b25d19e3b
Allow uploading chat wallpapers from file.
2023-04-19 10:42:01 +04:00
John Preston
352ae5100a
Support chat wallpaper set from gallery.
2023-04-18 16:47:31 +04:00
John Preston
9b25973b49
Update chat wallpaper from service message.
2023-04-17 16:36:13 +04:00
John Preston
1b73b34810
Make HistoryItem a final class.
2022-12-26 14:24:04 +04:00
John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00
John Preston
2e8a03dfd1
Correctly round spoiler animation in ExtendedMedia.
2022-09-12 09:06:26 +04:00
John Preston
ab3d3a449b
Remove MTP from requestWallPaper interface.
2022-08-11 09:05:23 +03:00
23rd
629574685e
Fixed display of most of simple toasts in corresponding window.
2022-06-14 14:24:21 +03:00
John Preston
1aa8029a8a
Improve notification preview settings design.
2022-03-08 15:24:02 +04:00
23rd
5718789d53
Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox.
2022-02-28 09:08:01 +03:00
John Preston
3ff17a8789
Refactor image transformation interfaces.
2022-01-21 15:33:44 +03:00
23rd
e1aa08b985
Removed text commands.
2022-01-12 11:54:24 +03: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
21ac2b8f3a
Don't use MTP* for reply markup data.
2021-10-04 23:47:30 +04:00
John Preston
ead695b101
Don't pass wide fake MsgId through MTPMessage.
2021-09-30 15:30:39 +04:00
John Preston
1e660fc2a2
Allocate 64 bits for message ids.
2021-09-30 13:49:37 +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
b2364140e9
Custom colors in all media/history_view_ modules.
2021-09-06 13:13:26 +03:00
John Preston
beff635e45
Colorize bubbles according to a custom chat theme.
2021-08-30 20:32:57 +03:00
John Preston
f5a323e40a
Move all background helper methods to chat_theme module.
2021-08-30 20:32:57 +03:00
John Preston
0a1e84ddb2
Move ChatTheme to td_ui.
2021-08-30 20:32:57 +03:00
John Preston
3cd0f9d189
Start non-unique ChatTheme.
2021-08-30 20:32:57 +03:00
John Preston
f4fdadd3b0
Allow arbitrary QImage as outgoing bubbles background.
2021-08-20 14:54:11 +03:00
John Preston
662966ba31
Support patterns with negative intensity.
2021-08-17 17:35:10 +03:00
John Preston
ce6f9f580f
Remove unused ColorizePattern function.
2021-08-17 13:06:28 +03:00
John Preston
2abcb51dda
Filter out patterns without background colors.
2021-08-16 17:14:34 +03:00
John Preston
436d7b9d82
Add support for linear gradients without patterns.
2021-08-16 10:26:08 +03:00
John Preston
ba7e976fe2
Fix background sample generation.
2021-08-16 10:26:08 +03:00
John Preston
c2b1187948
Start support of linear gradient wallpapers.
2021-08-16 10:26:08 +03:00
John Preston
85cc3b30a0
Don't use MTP* for WallPaper flags.
2021-08-12 12:32:30 +03:00
John Preston
116a768fde
Don't use MTP* for Message flags.
2021-07-28 15:28:17 +03:00
John Preston
565877630f
Dither default background to avoid color banding.
2021-07-23 15:42:17 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
23rd
a631a28092
Removed App::pixmapFromImageInPlace.
2021-07-06 12:13:06 +03:00
John Preston
b22e2ffe1d
Animate inline path thumbnails with sliding gradient.
2021-07-02 20:40:32 +03:00