Commit Graph

62 Commits

Author SHA1 Message Date
levlam
e1098ef8e9 Allow empty non-null backgrounds in chat event log. 2024-02-13 16:56:07 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
b3ce27c4ea Add separate deleteDefaultBackground method. 2023-12-19 14:38:37 +03:00
levlam
325f56dfe0 Improve name of updateDefaultBackground update. 2023-12-19 14:21:46 +03:00
levlam
762c224c10 Add deleteChatBackground.restore_previous. 2023-12-01 01:06:54 +03:00
levlam
330088d9f8 Add separate td_api::deleteChatBackground method. 2023-12-01 00:20:11 +03:00
levlam
f05f2a67f1 Add BackgroundManager::get_background_dialog method. 2023-12-01 00:14:25 +03:00
levlam
1c8205d6de Add td_api::revertChatBackground. 2023-11-10 14:53:16 +03:00
levlam
aa7a0a6ee3 Allow to set chat background for both sides. 2023-11-10 14:40:14 +03:00
levlam
58301570c6 Minor improvements. 2023-04-19 10:38:55 +03:00
levlam
b4d6b68195 Replace dark_theme_brightness with dark_theme_dimming. 2023-04-12 00:59:53 +03:00
levlam
5df2f3c141 Add inputBackgroundPrevious. 2023-04-12 00:02:42 +03:00
levlam
b130306ce7 Add td_api::setChatBackground. 2023-04-11 17:46:55 +03:00
levlam
ad8f0c4146 Improve some spelling. 2023-01-16 12:59:43 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
f085e7eea3 Use request promise in setBackground. 2022-11-17 18:48:48 +03:00
levlam
eecec61fa9 Move get_background_url to LinkManager. 2022-10-18 22:52:47 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
05c0833525 Add PhotoFormat.h. 2022-04-09 23:21:07 +03:00
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
levlam
15f27455c5 Move other big classes inside FlatHashMap to unique_ptr. 2022-02-11 19:27:32 +03:00
levlam
bcc2adeb47 Fix includes and formatting. 2022-02-08 00:04:34 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
b731414d42 Init some fields just in case. 2021-11-11 17:39:09 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
66170213fc Add store/parse_background. 2021-09-24 16:03:01 +03:00
levlam
7dffe5aabe Use Promise instead of RequestActor in getBackgrounds. 2021-09-03 09:07:18 +03:00
levlam
3e77161e46 Don't replace main background type if appropriate. 2021-08-27 12:10:51 +03:00
levlam
bba085318e Return BackgroundType from on_get_background. 2021-08-24 17:13:51 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
138535ccf8 Store multiple local backgrounds. 2021-06-10 18:58:19 +03:00
levlam
64df3b4b3c Remove unneeded add_local_background method and allow non-default installed backgrounds without file. 2021-06-10 04:55:58 +03:00
levlam
75fc042e09 Replace add_fill_background with add_local_background. 2021-06-10 04:44:39 +03:00
levlam
aba5b1ab7c Use autoincremented IDs for local backgrounds. 2021-06-10 03:57:58 +03:00
levlam
5188a5b5e7 Allow to set non-local filled backgrounds. 2021-06-09 19:08:47 +03:00
levlam
3e0e9f5291 Parse background parameters in searchBackground. 2021-05-26 20:25:37 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
b48c465b0d Replace GradientInfo with BackgroundFill internally.
GitOrigin-RevId: 62f72414e933e77e79c2d99828988122758956d2
2019-12-22 21:01:51 +03:00
levlam
e1f1253e21 Better Gradientinfo implementation.
GitOrigin-RevId: cc7a3c0a94cd2816c2090981f78ddcedd2128d1f
2019-12-22 04:02:39 +03:00
levlam
04eb931c72 Update layer 107.
GitOrigin-RevId: d8ab8b2016d368f6e4f03c6cf1440232ab66e7f2
2019-12-22 02:56:51 +03:00
levlam
88c5679b13 Add backgroundTypeGradient.
GitOrigin-RevId: db09e39cb4384cd85f53cbc8719b2b2b75206406
2019-12-21 05:28:07 +03:00
levlam
6dd2a822ad Cache backgorund by their names.
GitOrigin-RevId: 2e5c5ed30185f53240ab806f866bd4c83ee5da51
2019-07-19 05:34:49 +03:00
levlam
c6d7daa460 Improve add_background.
GitOrigin-RevId: cac29a57fb9d76489a0d5a6da83d75c7af075862
2019-07-19 03:50:51 +03:00
levlam
3928917f77 Add Background store and parse.
GitOrigin-RevId: 7c6e34fc2af991ce090356c09f65df37b742775c
2019-07-18 22:12:46 +03:00
levlam
c874b1d4b1 Add support for separate background for dark theme.
GitOrigin-RevId: e5315453db1a7388f240dbefd4eeac6d8c9929c8
2019-06-18 01:39:57 +03:00
levlam
acc17b8d9d Minor fixes.
GitOrigin-RevId: 3861e74381386cff82d688a445de3e8f72494974
2019-05-14 17:26:13 +03:00
levlam
abc59be319 Add td_api::resetBackgrounds.
GitOrigin-RevId: 9ed830d56b31f0c26ba83245f0c53fb2f20fe8da
2019-05-12 04:10:18 +03:00