Commit Graph

128 Commits

Author SHA1 Message Date
John Preston c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
John Preston 46885b7f9f Fix mouse input in layers in call window. 2021-08-11 11:06:34 +03:00
John Preston c100055fac Allow sharing screen or window in one-on-one calls. 2021-07-30 00:40:25 +03:00
John Preston 4a86b172d4 Rename Ui::Window to Ui::RpWindow. 2021-07-28 16:24:11 +03:00
Christian Hesse b2c762e974
Set (group) call window icon. 2021-07-20 00:15:04 +04:00
Christian Hesse 3d1a049405 window title for call window
Having an empty window title brings different issues, for example:

* invisible on task bar
* invisible in task switcher
* apply properties by match
* ...

So let's use the contact user name for window title.

Fixes #10243
2021-07-19 19:26:32 +03:00
John Preston 659ddae9a8 Use native child window in video calls on Windows. 2021-06-21 11:29:29 +04:00
John Preston f9f98975a1 Implement OpenGL renderer for one-on-one calls. 2021-06-10 17:16:17 +04:00
John Preston c5a46d9d1b For surface with parent backend should be fixed. 2021-06-09 09:19:29 +04:00
John Preston 38506d27a1 Hide member rows with active small videos. 2021-05-30 18:09:59 +04:00
John Preston 42baa3e1bc Convert YUV420 -> ARGB32 in fragment shader. 2021-05-24 22:45:16 +04:00
John Preston d44f923277 OpenGL render of frames in single widget. 2021-05-24 22:45:16 +04:00
John Preston c64e953174 Choose OpenGL / Raster in media viewer. 2021-05-24 22:45:15 +04:00
John Preston a45064257a Choose OpenGL / Raster surface at runtime. 2021-05-24 22:45:15 +04:00
John Preston c48c4d4283 Use QOpenGLWidget on all systems. 2021-05-24 22:45:15 +04:00
John Preston 27fc61c676 Add confirm for starting scheduled voice chat early. 2021-04-06 20:09:52 +04:00
Ilya Fedin 073b5b106c Get rid of modal parent hack
It was introduced to workaround the absence of size hints propagating in Qt 5.12 Wayland backend, there's no need in it anymore
2021-04-05 08:03:46 +03:00
Ilya Fedin 57ca6e23b9 Port Qt-based title widget to lib_ui 2021-02-04 18:11:44 +04:00
John Preston bad2d8afd9 Fix frame rotation in calls from iOS. 2021-01-27 21:19:13 +04:00
John Preston ae6decf70b Support ctrl+m/ctrl+w in voice chat panel. 2020-12-22 20:28:13 +04:00
John Preston 4b31b4792a Restore call window from minimized on bar click. 2020-12-11 12:01:55 +04:00
John Preston 5fe8c0ed7e Show user as active when in call panel. 2020-12-08 21:06:56 +04:00
23rd 80597e190a Fixed permissions requesting for different call types. 2020-12-01 09:45:24 +03:00
John Preston 7cfb39ea5d Use new button types from lib_ui. 2020-12-01 09:45:22 +03:00
John Preston 74d2313784 Build Linux version with Qt 5.15.1 in CentOS 7 docker. 2020-11-06 11:21:34 +03:00
John Preston ae298818a8 Implement message bar with animations. 2020-10-30 18:32:17 +03:00
John Preston 719bed6e85 Move some text formatting to tg_ui:ui/text/format_values. 2020-09-30 16:29:17 +03:00
John Preston 21c578cf2e Add some error reporting about camera problems. 2020-08-21 17:52:13 +04:00
John Preston ade7745b0b Fix controls shadows on call panel. 2020-08-21 17:52:13 +04:00
John Preston 8ce798db12 Move incoming video to a separate widget. 2020-08-17 13:49:45 +04:00
John Preston a0eb073728 Close call panel instead of hiding. 2020-08-14 19:59:24 +04:00
John Preston 34840766b2 Move fingerprint / signal bars to a separate widget. 2020-08-14 16:53:06 +04:00
John Preston 1aaf7df54a Add labels to call buttons. 2020-08-14 16:53:06 +04:00
John Preston 1b60829da8 Add top window controls shadow. 2020-08-14 16:53:06 +04:00
John Preston fbe02dbb8d Add bottom shadow to the incoming video. 2020-08-14 16:53:06 +04:00
John Preston cb18c9a9b3 Show remote audio muted tooltip. 2020-08-14 16:53:06 +04:00
John Preston 465c661c45 Show peer-s microphone mute state on userpic. 2020-08-14 16:53:06 +04:00
John Preston 8af40c22a4 Improve mute button styles. 2020-08-14 16:53:06 +04:00
John Preston f1b6d1fdae Improve top controls design on Windows. 2020-08-14 16:53:06 +04:00
John Preston 377ff2f421 Use expanding incoming frame scale if aspect is good. 2020-08-13 15:37:00 +04:00
John Preston cdc87086f3 Add some paddings. 2020-08-13 15:16:39 +04:00
John Preston 99f3173ae6 Use smaller emoji. 2020-08-13 14:39:55 +04:00
John Preston 7de5cabd79 Add window controls to call panel on Windows. 2020-08-13 14:32:11 +04:00
John Preston 925f6df06a Fix call panel behaviour on macOS. 2020-08-13 13:02:15 +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 eda22b925f Fix build on Linux 64 bit. 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
John Preston 95de762529 Support three-value VideoState. 2020-08-11 18:21:40 +04:00