John Preston
2c50f7b18c
Implement nice topic icon create / edit box.
2022-11-01 19:25:36 +04:00
23rd
9c3173e4bb
Fixed updating of emoji status from TopBar in Premium Settings for user.
...
Regression was introduced in 47b32898f5
.
2022-09-28 08:46:35 +03:00
John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00
John Preston
d4810713cb
Fly-animate reactions from the new context menu.
2022-09-06 17:08:20 +04:00
23rd
7ed10eaacc
Added gradient colors to radiobutton views in Premium Settings.
2022-09-02 21:14:33 +04:00
23rd
5505a566be
Replaced gradient header in Premium Settings for dark themes.
2022-09-02 21:14:32 +04:00
23rd
da6d580348
Fixed style of box for premium doubled limits.
2022-09-02 21:14:32 +04:00
23rd
149d92d224
Added ability to choose subscription option for Premium in Settings.
2022-09-02 21:14:32 +04:00
23rd
6f3d19914d
Unified parsing of MTP gift and subscription options in separate file.
2022-09-02 21:14:32 +04:00
23rd
fc759ac688
Renamed GiftOption to SubscriptionOption.
2022-09-02 21:14:31 +04:00
23rd
b519b6bf4c
Reduced minimum and maximum sizes of ministars.
2022-09-02 21:14:31 +04:00
23rd
65ad8e6ac1
Moved out class for colored ministars to separate file.
2022-09-02 21:14:31 +04:00
23rd
152bcb3570
Changed calculation of discount for premium gifts relative to smallest.
2022-07-26 20:12:13 +03:00
John Preston
afc7b1da62
Update API scheme on layer 144.
2022-07-26 20:12:10 +03:00
23rd
032372f150
Added stars animation to box for premium gifts.
2022-07-26 20:12:09 +03:00
23rd
c7c8ebed13
Added initial box for premium gifts.
2022-07-26 20:12:09 +03:00
23rd
afb336ed41
Added list for options of premium gifts.
2022-07-26 20:12:09 +03:00
23rd
009ef829a0
Moved computing of premium gradient parts to separated class.
2022-07-26 20:12:09 +03:00
23rd
99676c4cf8
Moved some premium styles to separate file.
2022-07-26 20:12:09 +03:00
John Preston
60d998bf36
Fix build on Linux.
2022-06-14 21:27:50 +04:00
John Preston
4de71408a2
Improve accounts limit box.
2022-06-14 14:54:30 +04:00
John Preston
6d8012f13a
Pause premium settings animations.
2022-06-14 13:43:07 +04:00
23rd
acf7a82507
Added preview box for premium doubled limits.
2022-06-13 14:27:26 +03:00
John Preston
368a1e4231
Support non-premium-supported limit boxes.
2022-06-07 10:30:59 +04:00
23rd
44f0f81d5d
Fixed QPainter warnings in line from premium limits boxes.
2022-06-02 13:50:58 +03:00
23rd
9e4d47dcc0
Slightly improved style of box for premium accounts limits.
...
Added an icon for the info bubble.
Added a gradient color to selected account.
Respected an order of accounts from settings.
2022-06-02 02:16:01 +03:00
23rd
c138c74ab3
Moved out some ui effects to td_ui.
2022-06-02 01:22:16 +03:00
23rd
78246aada7
Added box for premium accounts limits.
2022-06-01 11:59:14 +04:00
23rd
de08e1d9a9
Added corner tail when bubble in premium box is at edge.
2022-05-30 07:58:04 +03:00
23rd
3b379c67ac
Slightly improved style of some boxes for premium limits.
2022-05-24 10:00:23 +03:00
John Preston
853cafe195
Show premium stickers lock icon.
2022-05-20 18:57:01 +04:00
John Preston
5cd065ef6b
Show premium page on limit increase decision.
2022-05-20 17:12:56 +04:00
23rd
52904b6d58
Added line info about limits for premium boxes.
2022-05-20 13:18:22 +03:00
23rd
bc5c85655d
Added animated bubble for premium boxes.
2022-05-20 13:18:22 +03:00
23rd
2f8efb5ce6
Moved out setup of top and bottom scroll shadows to separated file.
2022-04-13 14:26:11 +03:00
23rd
0b336a2954
Fixed sending animation from inline bots with unexpected result type.
2022-03-15 18:02:30 +03:00
23rd
a61ad9e2a2
Fixed possible crash in sending animation when message view is lost.
2022-03-05 17:19:38 +03:00
23rd
2e40798e8e
Added simple animation of GIFs sending.
2022-02-25 19:41:16 +03:00
23rd
0dc2e1a5ae
Migrated SendingInfoTo from using of end geometry to end point.
2022-02-25 19:41:16 +03:00
23rd
6939da2fd2
Fixed simple animation of message sending with custom chat themes.
2022-02-25 19:41:16 +03:00
23rd
9d164dc33c
Added clearing of message sending animations on escape from section.
2022-02-25 19:41:15 +03:00
23rd
e72be4abfc
Removed cache from sending animation.
2022-02-25 19:41:15 +03:00
23rd
4cebccd6dc
Simplified drawing of surrounding info in sending animation.
2022-02-25 19:41:15 +03:00
23rd
afdfe1c2e8
Added ability to provide custom view to sending animation controller.
2022-02-25 19:41:15 +03:00
23rd
abbfdf211b
Added surrounding info to simple animation of stickers sending.
2022-02-25 19:41:15 +03:00
23rd
d633860e1d
Added simple animation of static stickers sending.
2022-02-25 19:41:15 +03:00
23rd
b46adec413
Added initial controller of message sending animations.
2022-02-25 19:41:15 +03: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
8069fdd873
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:42:22 +03:00
23rd
fa4b7145f5
Added extra space to choosing sticker animation in left position.
2021-09-13 18:13:50 +03:00