Commit Graph

100 Commits

Author SHA1 Message Date
John Preston 4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
23rd a631a28092 Removed App::pixmapFromImageInPlace. 2021-07-06 12:13:06 +03:00
23rd b422ec025e Removed Ui::show from classes that have pointer to Controller. 2021-06-17 10:57:45 +04:00
23rd 2ed3543b53 Renamed class back from AdaptiveModern to Adaptive. 2021-06-16 09:31:32 +03:00
23rd 9b488f03a1 Removed Adaptive namespace from Settings::Chat. 2021-06-16 09:31:32 +03:00
Ilya Fedin c0c10689a1 Get rid of deprecated ranges::view usage 2021-03-13 19:14:58 +03:00
Ilya Fedin 5e60b87cf9 Remove platform_specific.h include from mainwindow.h
In order to avoid mass rebuilds on specific_*.h changing
2021-01-22 17:22:37 +04:00
John Preston 00504b61cd Allow all messages silent in support mode. 2020-11-19 16:23:57 +03:00
John Preston 39cf51c066 Move SendButton/EmojiButton to td_ui. 2020-10-30 18:32:18 +03:00
John Preston 511067981d Forbid auto-night mode with theme editor. 2020-07-24 10:01:37 +04:00
23rd d46b9d024e Fixed handling of language switch for theme names in intro settings. 2020-07-23 13:00:55 +03:00
John Preston 8c4e8212cd Add 'respect system dark mode' checkbox. 2020-07-22 17:18:17 +04:00
John Preston 65050bf9dd Move export management to Core::App. 2020-06-25 11:14:05 +04:00
John Preston 30c82bb2e0 Remove some MainWindow::sessionController() calls. 2020-06-23 21:53:44 +04:00
23rd 0696a2d5c0 Replaced mapping to rpl::empty_value with rpl::to_empty. 2020-06-23 21:53:43 +04:00
John Preston 83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
John Preston 4d6cc58f0d Move session settings to main_session_settings. 2020-06-23 21:53:42 +04:00
John Preston b0f9ad71dd Check some more App::main()s. 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 5f8d22f1f2 Remove Auth() global access point. 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 36fbdfb380 Simplify Image, remove ImageSource. 2020-06-01 18:09:33 +04:00
John Preston 6513422e40 Remove legacy image-related code. 2020-06-01 18:09:33 +04:00
John Preston ee94e78533 All mtproto downloads using DownloadMtprotoTask. 2019-12-05 11:32:33 +03:00
John Preston d63e50944a Update submodules to the latest spellcheck. 2019-11-05 13:23:56 +03:00
John Preston 30a1bd7ba2 Use base::call_delayed. 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 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston aa10934e85 Fix messing up accent color if editor is opened. 2019-09-09 12:02:06 +03:00
John Preston 95da2dbc34 Move create theme button to three-dot menu. 2019-09-08 15:47:22 +03:00
John Preston 4951eeac98 Allow creating desktop part of multi-theme. 2019-09-06 19:31:07 +03:00
John Preston 7485f0c960 Don't change real theme when editing. 2019-09-06 19:31:07 +03:00
John Preston 03bdd80b2f Open theme editor for existing themes. 2019-09-06 19:31:07 +03:00
John Preston dd74f57a66 Display full themes list in Settings. 2019-09-06 19:31:07 +03:00
John Preston 534772722e Improve theme selector design. 2019-09-06 19:31:07 +03:00
John Preston 4929de2bfb Apply cloud themes. 2019-09-06 19:31:06 +03:00
John Preston ac8f924909 Show tdesktop cloud themes in a box. 2019-09-06 19:31:06 +03:00
John Preston 229bc56cc8 Upload saved theme to the cloud. 2019-09-06 19:31:06 +03:00
John Preston 4b045a602c Add a box for new theme creating. 2019-09-06 19:31:06 +03:00
John Preston 1e3b72ab74 Ignore background when checking which theme is used. 2019-09-06 19:31:06 +03:00
John Preston 85cca51154 Make accent color radiobutton animated. 2019-09-02 13:39:43 +03:00
John Preston bd7cee2252 Improve accent color choose design. 2019-08-29 10:01:28 +03:00
John Preston 117d6192fa Ensure contrast in colorized themes. 2019-08-29 10:01:28 +03:00
John Preston 763bdf8798 Apply lightness limits in accent colors. 2019-08-29 10:01:28 +03:00
John Preston 56a82600f8 Add HSL color picker box for theming. 2019-08-29 10:01:28 +03:00
John Preston a465117689 Allow choosing accent colors from palette. 2019-08-27 19:10:37 +03:00
John Preston c2117e7722 Save embedded themes accent colors. 2019-08-27 19:10:37 +03:00
John Preston 7de28fc4bd Apply saturation and value in colorizer. 2019-08-27 19:10:37 +03:00