Commit Graph

39 Commits

Author SHA1 Message Date
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
f98eeda616 Add flag backgroundTypePattern.is_inverted instead of negative intensity. 2021-09-14 12:53:59 +03:00
levlam
075d004b9f Replace getChatThemes with updateChatThemes. 2021-09-13 15:55:01 +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
ab4373833b Make BackgroundFill fields private. 2021-06-10 02:16:46 +03:00
levlam
636aa3f74e Improve BackgroundType constructor. 2021-06-10 02:09:16 +03:00
levlam
8b3c7b2c39 Impriove BackgroundType field names style. 2021-06-10 01:44:46 +03:00
levlam
958e1a83b1 Make BackgroundType fields private. 2021-06-10 01:29:42 +03:00
levlam
7b2c6bdbdb Move BackgroundType methods inside the class. 2021-06-09 21:19:08 +03:00
levlam
d768a194f6 Add BackgroundType::get_mime_type. 2021-06-09 20:58:39 +03:00
levlam
5188a5b5e7 Allow to set non-local filled backgrounds. 2021-06-09 19:08:47 +03:00
levlam
c30ccd1e0d Support removing Fill backgrounds from default list. 2021-06-08 01:10:19 +03:00
levlam
2af0aa0074 Support negative background intensity. 2021-06-04 16:05:29 +03:00
levlam
3e0e9f5291 Parse background parameters in searchBackground. 2021-05-26 20:25:37 +03:00
levlam
bb957644cf Add td_api::backgroundFillFreeformGradient. 2021-05-21 01:49:59 +03:00
levlam
d8b905a986 Update layer to 129. 2021-04-30 17:07:01 +03:00
levlam
5dcd254623 Add BackgroundFill::Type, 2021-05-20 02:21:20 +03:00
levlam
d710058f2a Move value checks in get_background_fill. 2021-05-20 01:57:38 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
4c80155092 Improve spelling.
GitOrigin-RevId: 73edc0a7a57f40c404b4b5c8d00e9b20127f9abc
2020-05-18 22:54:18 +03:00
levlam
170fd545fd Fix gradient backgrounds parsing.
GitOrigin-RevId: 3e99be20fe65f4eca728fcc29e2c37b90ee92b3c
2020-01-02 15:48:16 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
adb10460b2 Minor fixes.
GitOrigin-RevId: 0c678ad195683947355b63af5aff49875312b4a3
2019-12-23 20:48:30 +03:00
levlam
13a6973f4b Support BackgroundFill in backgroundTypePattern.
GitOrigin-RevId: 2d8e594c4acb0380b1ebb687c3727abea09dedc7
2019-12-22 23:02:36 +03:00
levlam
68a211a368 Add rotation_angle support to gradient background fill.
GitOrigin-RevId: ebe65367b2cad8777e6e87cf30815a1f9545da9a
2019-12-22 22:32:01 +03:00
levlam
b48c465b0d Replace GradientInfo with BackgroundFill internally.
GitOrigin-RevId: 62f72414e933e77e79c2d99828988122758956d2
2019-12-22 21:01:51 +03:00
levlam
a1af39bc8f Better scheme for BackgroundType.
GitOrigin-RevId: 01f15daff83986078b9fff55a5e3a70bab2a800b
2019-12-22 20:11:54 +03:00
levlam
e9bb8f2a29 Remove public get_color_hex_string method.
GitOrigin-RevId: cfc3100b814766410fadc6749522457f7e5ad514
2019-12-22 04:42:22 +03:00
levlam
8be871bad7 Add BackgroundType::get_link() method.
GitOrigin-RevId: be2522d94742608e61adbef223a9b161e87b6aa3
2019-12-22 04:34:39 +03:00
levlam
e1f1253e21 Better Gradientinfo implementation.
GitOrigin-RevId: cc7a3c0a94cd2816c2090981f78ddcedd2128d1f
2019-12-22 04:02:39 +03:00
levlam
51611ae422 Introduce td_api::gradientInfo.
GitOrigin-RevId: 436fd124ee3417851031ee32b094a93a8e550599
2019-12-22 03:17:52 +03:00
levlam
7666c8a07f Update layer 107.
GitOrigin-RevId: c0ce53032262636e8aea4f824c80e2caad3089b2
2019-12-21 22:30:36 +03:00
levlam
88c5679b13 Add backgroundTypeGradient.
GitOrigin-RevId: db09e39cb4384cd85f53cbc8719b2b2b75206406
2019-12-21 05:28:07 +03:00
levlam
acc17b8d9d Minor fixes.
GitOrigin-RevId: 3861e74381386cff82d688a445de3e8f72494974
2019-05-14 17:26:13 +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