23rd
0e16a50bbc
Completely removed common and platform code for tray from main window.
2022-05-03 04:25:36 +03:00
John Preston
8b0725650d
Move global event filter to Platform::Integration on Windows.
2022-01-04 15:29:40 +03:00
John Preston
aef45b3a1d
Refactor icon unread counter painting.
2021-11-02 20:12:57 +04:00
John Preston
dd856b9e4a
Use real QWindow for taskbar icon hider.
...
Fixes #17081 .
2021-10-08 12:19:41 +04:00
Ilya Fedin
c2212c719e
Inform Qt about taskbar hider
...
This allows the feature to work without patching Qt
2021-10-04 23:23:50 +04:00
John Preston
1dec054766
Check if native window frame fits for saved geometry.
2021-08-10 15:46:18 +03:00
Ilya Fedin
1ebf27bfa1
Switch MainWindow to Ui::RpWindow
2021-07-28 18:05:39 +03:00
23rd
707b36dc12
Moved DBIWorkMode to Core::Settings.
2021-06-16 09:31:32 +03:00
23rd
1cfbf24635
Moved Windows SMTC as part of cross-platform media controls solution.
2021-06-10 23:00:55 +03:00
23rd
78dfe940ef
Added Windows SMTC support.
...
System Media Transport Controls.
2021-05-31 08:54:23 +04:00
John Preston
54f06740d5
Remove some App::wnd() calls.
2021-03-03 11:29:26 +04:00
John Preston
40e90af76d
Detect tablet mode on Windows 10.
2021-01-25 16:47:41 +04:00
John Preston
574d915c23
Fix build and tray icon menu on Windows.
2021-01-22 16:53:59 +04:00
Ilya Fedin
3c8c059447
Eliminate the need of Q_OBJECT in main_window_linux and main_window_win
2020-08-30 17:00:43 +04:00
John Preston
c86ced8a1e
Use dark Windows title bar for night mode.
2020-07-24 16:15:58 +04:00
John Preston
f10b2194e6
Add option for a native window frame.
...
Fixes #2958 .
2020-07-07 21:34:25 +04:00
John Preston
d1050e6041
Use window shadow from lib_ui.
2020-07-07 21:34:25 +04:00
John Preston
a88423a33f
Fix bad window rendering with maximize-on-launch.
...
I have no idea why MainWindow is ruined completely in case you call
MainWindow::show, MainWindow::setWindowState(maximized) and then
in the same context (without crl::on_main) create full screen viewer.
2020-02-12 12:09:17 +04:00
John Preston
09a7daf164
Update submodules.
2019-10-19 12:27:56 +04:00
John Preston
246c45ce0e
Use lib_ui from submodule.
2019-10-19 12:27:28 +04:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
dd68c7e90d
Use Window::Controller to manage MainWindow.
2019-06-06 14:20:21 +03:00
John Preston
98cb85df66
Polymorphic classes without virtual dtor warning.
2019-02-15 15:55:34 +04:00
John Preston
e2f0886950
Add option to blur chat background.
2019-02-07 19:36:30 +03:00
Kirsan
3ff033cdf3
Fix for https://github.com/telegramdesktop/tdesktop/issues/4544
...
(cherry picked from commit d99c757d44d7c31fbb0eb290f273ad4d2d464255)
2018-04-07 12:13:52 +04:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
2e374e68c5
Fix working with layers.
...
Regression was introduced in df64c97
.
New base::flags work correctly only if all mutually exclusive flag
values use mutually exclusive bits (a & b == 0 for exclusive (a, b)).
Closes #3856 .
2017-09-03 22:49:33 +03:00
John Preston
df64c972d8
Replace QFlags with base::flags.
2017-09-03 15:45:47 +03:00
John Preston
f7359093b4
Replace ContactsBox with PeerListBox in two cases.
...
- View contacts list in PeerListBox.
- Add participants when creating group / channel in PeerListBox.
2017-08-30 19:15:27 +03:00
John Preston
1e6d4d6b41
Activate mediaview instead of main window.
...
If the mediaview is currently shown and we receive an activation
event for the main window we should activate and focus mediaview.
2017-05-24 16:25:08 +03:00
John Preston
b74dea8662
Move logo images to Messenger. Set call panel icon.
2017-05-12 18:28:44 +03:00
John Preston
81790b2271
Notifications management moved to AuthSession.
...
Also implemented Global::WorkMode() as an base::Variable.
2017-03-06 18:38:15 +03:00
John Preston
6f0cf30b12
Some platform-dependent modules refactoring.
...
Now each platform-dependent module declares its interface in
platform/platform_module.h file and after that includes platform-
specific headers like platform/win/module_win.h with implementation.
Also removed the legacy WinRT platform-dependent implementations.
2017-02-28 13:51:00 +03:00
John Preston
7fb1463c43
Version 1.0 stable: bump copyright date to 2017.
2017-01-11 23:02:13 +04:00
John Preston
c65a280b9d
Alpha 0.10.23: small tiled background performance improved.
...
Also some error texts improved. Also Ctrl+W closes MediaView now.
2017-01-01 20:59:33 +04:00
John Preston
ef927c8465
Theme preview ready.
...
Also style::color is now copyable, constructed only inside a palette.
Also macOS setup new background ready.
2016-12-30 17:53:05 +04:00
John Preston
8ff3779c9a
Custom title bar for macOS 10.10+ improved, colors in palette now.
2016-12-30 17:51:54 +04:00
John Preston
dd9bd43331
Closed beta 10019002: fixed build for Linux.
2016-12-30 17:51:47 +04:00
John Preston
3a599e0752
New main menu in DialogsWidget.
...
Also "flip_horizontal" and "flip_vertical" modifiers support added.
Also moving parts of MainWindow to Window::MainWindow.
2016-12-30 17:51:38 +04:00
John Preston
0cbb0014db
Removed blue window title, new small title used only in Windows.
2016-12-30 17:51:37 +04:00
John Preston
e08f5437a6
Palette usage improvements.
2016-12-30 17:51:29 +04:00
John Preston
dbb6371e67
First version on loading themes is ready.
2016-12-30 17:51:27 +04:00
John Preston
6e33f039b2
Dropdown replaced by Ui::DropdownMenu. ScrolledWidget removed.
...
Ui::DropdownMenu is like Ui::PopupMenu, both based on Ui::Menu.
2016-10-27 15:56:48 +03:00
John Preston
2d1d62a953
Code for replying from notifications, macOS uses notificationActivated().
2016-10-02 20:06:34 +03:00
John Preston
0bf55835f5
NB Broken! Notifications refactored to Manager, only Windows working.
2016-10-02 16:54:27 +03:00
John Preston
a41e0c4aa7
NB Broken! Started notification manager abstraction.
2016-10-02 12:30:28 +03:00
John Preston
4a5f467560
Version 0.10.9: fixed interface scaling and Windows build.
2016-10-01 16:15:27 +03:00
John Preston
fd91893b51
Moved PsMainWindow to Platform::MainWindow, outside of pspecific module.
...
Currently only MSVC build is Ok, Xcode and QtCreator are broken.
2016-06-16 15:59:54 +03:00