Commit Graph

124 Commits

Author SHA1 Message Date
John Preston f1d155c3f6 Added fireworks animation for right quiz answer. 2020-01-24 17:01:25 +03:00
John Preston fcb2950ce8 Use slide animation from lib_ui. 2019-10-19 12:27:56 +04:00
John Preston a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston 246c45ce0e Use lib_ui from submodule. 2019-10-19 12:27:28 +04:00
John Preston 3b0bf7cb1e Move some more widgets and effects. 2019-10-01 23:59:46 +03:00
John Preston 849deb57e2 Move many widget classes to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston c057f28425 Move standard buttons to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston c5845f17ae Remove twidget header. 2019-10-01 23:59:46 +03:00
John Preston e2f54eb3e9 Move some style code to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston 6343221d7b Remove many includes from stdafx.pch. 2019-09-06 19:31:07 +03:00
John Preston 117d6192fa Ensure contrast in colorized themes. 2019-08-29 10:01:28 +03:00
John Preston d3ca6b96a1 Use tr:: instead of __generic. 2019-06-21 11:06:50 +02:00
John Preston d0b86e1229 Optimize online dots + add animations. 2019-06-17 18:13:05 +02:00
John Preston e7bdcc4155 Add more assertions to animations engine. 2019-06-17 14:23:50 +02:00
John Preston e0d4884351 Fix possible crash in animations. 2019-05-28 14:46:18 +02:00
John Preston ff0ff1d99c Fix stickers lagging on macOS. 2019-05-28 13:39:38 +02:00
John Preston 626e7c1f76 Workaround MSVC 16.1 bugs. 2019-05-27 14:10:35 +02:00
John Preston 56b6673e17 Beta version 1.6.6: Fix animations engine. 2019-04-11 10:43:13 +04:00
John Preston 71f340d9b5 Revert "Don't restart animations timer."
This reverts commit 392d90dc1d.

Otherwise scrolling while typing animates lags terribly on macOS.
2019-04-11 10:16:02 +04:00
John Preston 9bfa6d7cf4 Make animation tick less, almost like before.
Unfortunately otherwise animations look not smooth.

Fixes #5897.
2019-04-09 17:21:29 +04:00
John Preston 392d90dc1d Don't restart animations timer. 2019-04-09 17:12:16 +04:00
John Preston 7808620764 Queue only one update call in animations manager. 2019-04-09 17:10:45 +04:00
John Preston 6c17ed2242 Fix crash in event loop nesting. 2019-04-07 11:18:38 +04:00
John Preston 1ab4dbe466 Fix crash in application closing. 2019-04-06 12:12:24 +04:00
John Preston c3c46f8e29 Fix new animations engine bug. 2019-04-04 19:31:03 +04:00
John Preston 74dc4e0c62 Allow disabling new animations. 2019-04-02 14:33:54 +04:00
John Preston 99bb09374d Use new animations engine everywhere. 2019-04-02 14:33:53 +04:00
John Preston a6e96f9a28 Use new animations engine in all Basic-s. 2019-04-02 14:33:53 +04:00
John Preston a0b3b1affd Fix fade in widget animation.
Fixes #5812.
2019-03-24 12:12:40 +04:00
John Preston 261720c941 Fix radial animations on macOS.
QOpenGLWidget doesn't draw antialiased ellipses and arcs,
so we use a software rasterizer and then draw the resulting image.
2019-03-11 13:51:15 +04:00
John Preston 7b3c452316 Change direction of infinite radial animation. 2019-03-11 13:19:38 +04:00
John Preston aa00f9bd34 Fix new animations engine restarts. 2019-03-11 12:08:21 +04:00
John Preston a56a12a1ef Optimized video frame pushing. 2019-03-11 12:08:18 +04:00
John Preston 5c4b459f57 Use new animations in video viewer. 2019-03-11 12:08:18 +04:00
John Preston 9a616edf2a Add new animations engine. 2019-03-11 12:08:17 +04:00
John Preston 8171828c2a Fix build on GCC. 2019-03-11 12:08:09 +04:00
John Preston 648cd44ddd Display correct video / music state. 2019-03-11 12:08:08 +04:00
John Preston fe618bd652 Use crl::time/now instead of TimeMs/getms. 2019-02-19 11:06:33 +04:00
John Preston 26f1ade5ba Optimize connecting widget. 2019-02-10 21:35:44 +03:00
John Preston f9d56eb4c1 Send installWallPaper requests. 2019-02-08 19:47:02 +03:00
John Preston e2f0886950 Add option to blur chat background. 2019-02-07 19:36:30 +03:00
John Preston bb8defeb42 Improve change emoji set box design. 2019-01-11 17:30:57 +04:00
John Preston 44ff8f92ac Fix crash with invalid custom langpacks. 2018-12-25 15:22:25 +04:00
John Preston e6c4c48261 Animate check in album sending. 2018-11-04 15:51:39 +04:00
John Preston 9aa23dac80 Fix ripple glitch on theme switching. 2018-11-04 15:51:38 +04:00
John Preston 1ffbec0215 Finish animations disabling.
Replace some infinite animations with static layouts.
2018-09-20 21:26:10 +03:00
John Preston dd81f5d59f Replace base::lambda with shorter term.
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston d0e854e9d8 Allow showing boxes in passport panel. 2018-06-03 23:16:35 +03:00
Vitaly Lipatov bffd852b4e remove obsoleted ui/effects/widget_slide_wrap.* (closes #4776) (#4777)
unused since commit c302219
2018-06-02 11:05:36 +03:00