Commit Graph

11 Commits

Author SHA1 Message Date
John Preston c4dd45689d Use src/dst prefixes instead of from/to. 2022-07-26 20:12:08 +03:00
John Preston 3ff17a8789 Refactor image transformation interfaces. 2022-01-21 15:33:44 +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 cdc87086f3 Add some paddings. 2020-08-13 15:16:39 +04:00
John Preston c93d3ae924 Toggle fullscreen by double click. 2020-08-12 20:58:24 +04:00
John Preston 38b9111bf5 Use Ui::Window for the Calls::Panel. 2020-08-12 17:35:31 +04:00
John Preston 97fe05c7ed Mirror outgoing video horizontally. 2020-08-12 12:47:07 +04:00
John Preston eda22b925f Fix build on Linux 64 bit. 2020-08-11 18:21:40 +04:00
John Preston 38546c701a Round outgoing video preview. 2020-08-11 18:21:40 +04:00
John Preston 4971e281fa Improve design for all controls states. 2020-08-11 18:21:40 +04:00
John Preston d4b8fa70a7 Extract Calls::Userpic and Calls::VideoBubble. 2020-08-11 18:21:40 +04:00