Commit Graph

40 Commits

Author SHA1 Message Date
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston 2f4651fe6f Fix build on macOS. 2021-10-29 18:31:07 +04:00
John Preston 97ae094c3c Update API scheme with new cloud themes. 2021-10-29 18:31:07 +04: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 ab0d2bf9c6 Initial chat theme changing. 2021-09-28 19:27:41 +04:00
John Preston e0135e509d Allow exporting test chat themes. 2021-09-19 14:40:43 +03:00
John Preston bc2e6c4fd1 Accept uppercase hex values in theme testing links. 2021-09-12 23:18:37 +03:00
John Preston 13c00949ed Add a simple way of testing color themes. 2021-09-10 22:29:30 +03:00
23rd 900a7d0b2b Appended references to const auto types in loop to prevent copying.
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston 4273167aa2 Adjust outgoing bubble text and icon colors. 2021-09-07 23:41:08 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston 1a4a9319f3 Custom colors in history_view_message module. 2021-09-06 13:13:26 +03:00
John Preston 809b0e9fe0 Fix build for Linux. 2021-08-30 20:32:58 +03:00
John Preston 3cd0f9d189 Start non-unique ChatTheme. 2021-08-30 20:32:57 +03:00
John Preston f3dd8c68b3 Load chat cloud themes list. 2021-08-30 20:32:57 +03:00
John Preston 0cfede984c Update API scheme to layer 132. 2021-08-30 20:32:56 +03:00
John Preston 4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
23rd 7304f2b695 Removed Application::showTheme. 2021-06-17 10:57:45 +04:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston eb1845e33b Fix crash in session destruction.
Also use rpl::event_stream for downloaderTaskFinished.
2020-07-01 12:26:29 +04:00
John Preston bf616036b3 Check loaded status through DocumentMedia if possible. 2020-06-01 18:09:30 +04:00
John Preston 33f4946242 Start using document bytes from DocumentMedia. 2020-06-01 18:09:30 +04:00
John Preston d57905c2b3 Update API scheme to layer 109. 2020-01-23 10:09:33 +03:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston 90b955534a Beta version 1.8.6: Improve theme preview. 2019-09-09 16:13:16 +03:00
John Preston 6d29dc3b36 Apply themes in settings without preview. 2019-09-09 12:13:07 +03:00
John Preston 9ff1fbcf47 Support theme document file origins. 2019-09-09 11:51:07 +03:00
John Preston eebcdb842d Generate previews async in cloud themes list. 2019-09-09 09:59:57 +03:00
John Preston 2ab2eed633 Push new saved theme to the list. 2019-09-08 21:05:35 +03:00
John Preston a770b5d4cd Allow share and remove cloud themes. 2019-09-08 20:32:25 +03:00
John Preston 32287a51f9 Don't show warning on theme autoupdate. 2019-09-06 19:31:07 +03:00
John Preston 37a4c79c81 Open theme preview after loading. 2019-09-06 19:31:07 +03:00
John Preston 469c6770fb Handle t.me/addtheme links. 2019-09-06 19:31:07 +03:00
John Preston e38123cc48 Send theme install requests. 2019-09-06 19:31:07 +03:00
John Preston e3d7bf771f Update current theme in realtime. 2019-09-06 19:31:07 +03:00
John Preston 9c86f0e0a5 Save themes, apply and close editor on save. 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