23rd
27d3b68ff4
Moved InterpolatedRect util to separated file.
2022-02-25 12:56:10 +03:00
Ilya Fedin
8e5d35229a
Simple replacements for Qt 6
...
QStringRef -> QStringView
QTextCursor constructor accepts a QTextDocument only
Some headers are moved, so paths are removed
QMatrix -> QTransform
Methods returning qsizetype are wrapped to int()s to allow compiler to deduce the type
2021-10-19 17:06:25 +04:00
John Preston
b35d2d257a
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:16:44 +03:00
John Preston
594572199c
Move call mute button styles to td_ui.
2021-04-26 13:20:13 +04:00
John Preston
91e1979da5
Restore opacity in ArcsAnimation::paint.
2021-03-22 18:10:28 +04:00
Ilya Fedin
c74cf04cc6
Get rid of deprecated ranges::view usage
2021-03-13 19:06:44 +03:00
23rd
5f7ee9ed81
United enum classes of arc directions into single enum class.
2021-01-30 13:26:21 +03:00
23rd
f03209c1f9
Added ability to set custom stroke ratio for arcs.
2021-01-28 02:59:21 +03:00
23rd
556a5dd90b
Added ability to get width of arcs with finished animation.
2021-01-27 20:02:40 +03:00
23rd
57fc9861a7
Added ability to get width of displayed arcs.
...
Renamed previous Arcs::width method to Arcs::maxWidth.
2021-01-27 08:53:41 +03:00
23rd
3bd07cf837
Delegated responsibility for position of arc painter to parent.
2021-01-20 00:20:39 +03:00
23rd
ddda92c777
Added animation support to arc painter.
2021-01-20 00:20:39 +03:00
23rd
5bcd894429
Added initial implementation of arc painter.
2021-01-20 00:20:39 +03:00
23rd
9ebd51c8f8
Fixed blobs paint with high update rate.
2021-01-07 20:05:36 +04:00
23rd
1e2799245c
Added ability to reset level value in Blobs.
2020-12-21 14:02:37 +03:00
23rd
d340430e85
Added ability to pass min and max speeds to Blobs.
2020-12-21 09:43:41 +03:00
23rd
a8edd6567e
Slightly optimized blobs paint.
2020-12-18 06:51:10 +03:00
23rd
c0e1dfcc8d
Added ability to pass additional scale to RadialBlob.
2020-12-17 15:57:46 +03:00
John Preston
e08a0de35d
Use static polymorphism for gradients.
2020-12-14 18:47:33 +04:00
23rd
d032f4d8b5
Extracted common code for radial and linear blob classes.
2020-12-11 02:00:38 +03:00
23rd
9735510195
Added ability to set direction of Linear Blobs.
2020-12-10 14:50:29 +03:00
John Preston
a02c8923dc
Paint waves antialiased.
2020-12-09 11:17:07 +04:00
23rd
cffbdc7c58
Added initial implementation of Linear Blobs.
2020-12-08 23:13:01 +03:00
23rd
fe6daf12b8
Added not equal operator to BlobBezier::Radiuses.
2020-12-06 17:47:14 +03:00
23rd
5437c8865d
Added initial animation of Blobs hiding.
2020-12-03 21:14:22 +03:00
23rd
5b0e499932
Replaced raw radius values of Blob with struct.
2020-12-03 21:14:22 +03:00
23rd
dffa36ede4
Slightly improved Blob.
2020-12-01 14:54:24 +03:00
John Preston
84b3ac9b58
Fix build and run on Windows.
2020-11-30 15:37:29 +03:00
23rd
e2210274de
Added glow to mute button.
2020-11-30 15:09:28 +03:00
23rd
0018276c5f
Added ability to change blob radius.
2020-11-30 15:09:28 +03:00
23rd
df8eed9576
Added implementation of blobs painter.
2020-11-30 15:09:27 +03:00
23rd
419989760c
Added blob bezier implementation.
2020-11-30 15:09:27 +03:00