Commit Graph

79 Commits

Author SHA1 Message Date
23rd 9390450049 Moved out color editor to td_ui. 2023-01-19 08:51:57 +03:00
23rd e3334f7a87 Replaced EditColorBox with Ui::GenericBox. 2023-01-19 08:51:57 +03:00
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston 01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston 644ec1f599 Remove base::Observable / base::Variable. 2022-11-11 11:43:24 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
23rd 629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston b773bb6e70 Add icons to the media viewer menus. 2021-12-29 21:22:33 +03:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
John Preston 2554aaf3c0 Move Window::Theme::Colorizer to style::colorizer. 2021-09-06 13:13:26 +03:00
John Preston 36486a3d73 Fix creating a theme from a default one.
Regression was introduced in 79cc797aff.
2021-08-18 14:52:57 +03:00
John Preston c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
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 b422ec025e Removed Ui::show from classes that have pointer to Controller. 2021-06-17 10:57:45 +04:00
John Preston eb8f709943 Show members list in PanelMode::Wide. 2021-05-24 22:45:13 +04:00
Ilya Fedin c4dcf064d5 Avoid multiple .arg usage as suggested by clazy 2021-03-13 19:08:33 +03:00
23rd 0b4d0b83c2 Removed App::wnd from classes that have pointer to Window::Controller. 2021-02-04 18:13:04 +04:00
John Preston d40768f6b0 Use separate styles for group call boxes. 2020-12-01 09:45:23 +03:00
23rd f81271d1fe Simplified confirmed callback for ConfirmBox instances. 2020-09-29 19:03:29 +03:00
John Preston 05df4f832b Fix crash in theme editor closing. 2020-06-05 14:00:06 +04:00
John Preston 74d848311b Replace str_const with base::const_string. 2020-01-29 12:47:50 +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 c5845f17ae Remove twidget header. 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 ca45fb617e Fix applying background after theme edit. 2019-09-10 00:36:16 +03:00
John Preston dfd63e66ff Add import theme to the editor. 2019-09-09 23:58:41 +03:00
John Preston cd5ef069c0 Ask to unlock Telegram before saving theme. 2019-09-09 20:26:53 +03:00
John Preston 423254f7eb Fix theme editor closing in a small window.
Fixes #6510.
2019-09-09 18:37:04 +03:00
John Preston 8bf6013342 Add 'Export theme' / 'Show palette file' menu. 2019-09-09 17:44:08 +03:00
John Preston 3d78c637a2 Strip editor information from palette. 2019-09-08 21:21:54 +03:00
John Preston bb7018424a Copy adjusted color values to editor. 2019-09-08 21:00:31 +03:00
John Preston cedb2d31af Check palette changes on editor cancel. 2019-09-08 16:40:15 +03:00
John Preston a773ad7b02 Fix reverting edited theme values. 2019-09-06 19:31:07 +03:00
John Preston 95ee17bd54 Optimize theme edit data clearing. 2019-09-06 19:31:07 +03:00
John Preston 910f16312c Show not supported themes placeholders. 2019-09-06 19:31:07 +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 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 117d6192fa Ensure contrast in colorized themes. 2019-08-29 10:01:28 +03:00
John Preston a3e993253c Keep colorized theme in editor. 2019-08-29 10:01:28 +03:00
John Preston 38e4daacd4 Use HSL color space for accent colors. 2019-08-29 10:01:28 +03:00
John Preston 529ef64257 Sort colors by hue distance. 2019-08-27 19:10:37 +03: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