John Preston
1248cef86b
Add an arrow to the expand accounts button.
2020-06-23 21:53:43 +04:00
John Preston
5f238a71f9
Allow switching accounts from the main menu.
2020-06-23 21:53:43 +04:00
John Preston
4d6cc58f0d
Move session settings to main_session_settings.
2020-06-23 21:53:42 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
ee43027bea
Remove some usages of App::main().
2020-06-23 21:53:39 +04:00
John Preston
ad4afe9293
Move session data localstorage -> storage_account.
2020-06-23 21:53:39 +04:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
c057f28425
Move standard buttons to lib_ui.
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
bacaf805b5
Pass SessionNavigation to some boxes.
2019-07-25 20:55:11 +02:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
06982fdf04
Remove some calls to Auth().
2019-07-24 13:13:51 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
ca7c50fbcd
Remove pseudo-HTML from langpacks and Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
e9677779b8
Show phone number only in the chat top bar.
2019-06-21 11:06:46 +02:00
23rd
ece315f3c5
Added ability to move archive in main menu.
...
- Added Folder::paintUserpic overload for custom color.
- Reduced size of _cloudButton.
2019-06-17 15:30:46 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
23rd
b45705f39d
Returned render color theme in main menu when background is filled.
2019-05-31 21:10:53 +03:00
23rd
a5ea13f248
Changed background color of Saved Messages button in main menu.
2019-05-29 20:11:47 +03:00
23rd
b2e5ab36d4
Moved shadow drawing from paintEvent in MainMenu::refreshBackground.
2019-05-27 14:10:36 +02:00
23rd
159f90a42c
Added background analysis in main menu for better readability.
2019-05-27 14:10:36 +02:00
23rd
08a3a5747a
Added custom background to top of main menu.
2019-05-27 14:10:36 +02:00
23rd
dc27bfff2d
Fixed elision of user name in side menu.
2019-05-16 11:58:28 +03:00
John Preston
12614ab68c
Fix possible crash with nullptr screen.
2019-04-12 17:30:43 +04:00
John Preston
2bdce7dce6
Fix window activations handling without event loop nesting.
...
This was causing an assertion violation in Ui::PostponeCall.
- Add a generic Core::QtSignalProducer to convert Qt signals to rpl::producer.
- Track event loop nesting inside QtSignalProducer.
- Use QtSignalProducer for QWindow::activeChanged tracking.
2019-04-05 14:13:54 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
8711830f66
Move calls settings to Settings > Advanced.
...
Also add calls settings button to the calls list box.
2019-01-11 17:30:57 +04:00
John Preston
d6b4448d3c
Show reload toast inside Support::Templates.
2018-11-20 19:38:40 +04:00
John Preston
4960e08a24
Display occupied chats using drafts for support.
2018-11-20 19:38:39 +04:00
John Preston
3646301ce4
Fix build for old OS X versions.
2018-11-08 14:48:15 +04:00
John Preston
01b4e1946a
Show reset scale button if window doesn't fit.
2018-11-04 15:51:36 +04:00
John Preston
81a9554caa
Move some settings to the main menu (support).
2018-10-09 19:27:18 +03:00
John Preston
eaa50adf75
Remove irrelevant menu items (support).
2018-10-09 19:27:17 +03:00
John Preston
9b85dd27ca
Allow to choose one of four default themes.
2018-09-26 14:36:55 +03:00
John Preston
0c8709ca5f
Replace App::self() with Auth().user().
...
Always have self Auth().user() when AuthSession exists.
2018-09-19 19:22:13 +03:00
John Preston
cb338e330f
Allow independently change default / night themes.
2018-07-31 22:56:03 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
14034c255e
Replace QSharedPointer with std::shared_ptr.
2017-12-18 13:07:18 +04:00
John Preston
993877b0d4
Change main menu cloud icon to saved messages.
2017-12-05 20:48:03 +04:00
John Preston
8dd3f24285
Replace Profile::UserpicButton with one from Ui::
2017-11-16 07:59:11 +04:00
John Preston
83850d9b86
Change *[Fast|Animated] to anim::type in FadeWrap.
2017-11-16 07:59:06 +04:00
John Preston
b3da99c302
Replace gsl::not_null<T*> with just not_null<T*>.
2017-08-30 19:15:41 +03:00
John Preston
a72453fb1b
Remove ContactsBox and contacts_box module.
2017-08-30 19:15:30 +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
ab35829358
Remove App::app(), App::uploader(), App::api().
...
Also use Auth() instead of AuthSession::Current*().
2017-08-25 14:39:18 +03:00