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 |
|
levlam
|
f8ccec8a44
|
Add BackgroundManager::on_installed_background.
GitOrigin-RevId: 41c6ea74772817416342896c83b90a37a2e4f087
|
2019-05-11 23:27:17 +03:00 |
|
levlam
|
a156f3dee6
|
Add td_api::removeBackground.
GitOrigin-RevId: f4a2e293f003207a7f224de7fc8dd3de04a9f942
|
2019-05-10 23:55:26 +03:00 |
|
levlam
|
db2ac0ed98
|
Support td_api::updateSelectedBackground in getCurrentState.
GitOrigin-RevId: 06352042ba464af8fc66101e53f51e905dadbd3b
|
2019-05-10 19:04:14 +03:00 |
|
levlam
|
57e0b917b8
|
Add updateSelectedBackground.
GitOrigin-RevId: 78ca327ff6da27da19fc6a05e2354af969b42bfb
|
2019-05-10 18:55:55 +03:00 |
|
levlam
|
2366eb9b9b
|
Make set background persistent.
GitOrigin-RevId: 72085619d3dde9e5609de7d382b14748a1491963
|
2019-05-10 17:58:44 +03:00 |
|
levlam
|
c3d126cbf6
|
Support solid backgrounds in searchBackground.
GitOrigin-RevId: 48e242b53ca1d4c4b2fcf5d8858de2f74f28d1e1
|
2019-05-10 16:06:53 +03:00 |
|
levlam
|
652d2a9570
|
Add td_api::setBackground.
GitOrigin-RevId: e0c38213b41942ed8a5163ca7eb4ea61caa71d7b
|
2019-05-10 15:36:37 +03:00 |
|
levlam
|
8e669d3c2e
|
Add BackgroundType.{cpp,h}.
GitOrigin-RevId: 1945d764af4b818505960eb82cf5781fb9df973f
|
2019-05-09 22:27:36 +03:00 |
|
levlam
|
88febd4aa0
|
File reference support for backgrounds.
GitOrigin-RevId: e4c7f0ee8e6be2341e51f7ef86edfcd264089e3c
|
2019-05-09 04:07:21 +03:00 |
|
levlam
|
e25933305d
|
Add td_api::searchBackground.
GitOrigin-RevId: 3bd7fe3da8e8919b02669f7c7bb76e3252c000d3
|
2019-05-07 18:21:57 +03:00 |
|
levlam
|
d8f95c3ea0
|
Add td_api::getBackgroundUrl.
GitOrigin-RevId: d9f55ce5f4d6630795fc269b3c19045376393d84
|
2019-05-07 17:10:20 +03:00 |
|
levlam
|
85dd77b02c
|
Initial background support.
GitOrigin-RevId: 14d3a1166f837069c55f40036a633295600524ca
|
2019-05-07 05:51:56 +03:00 |
|