Commit Graph

1105 Commits

Author SHA1 Message Date
John Preston 54085c70a4 Select light / dark custom theme based on dialogsBg value. 2021-09-19 17:39:29 +03:00
John Preston d4db679ce8 Base custom chat themes on a separate light theme. 2021-09-19 14:43:09 +03:00
John Preston 2c7d8858c0 Base custom chat themes on a separate dark theme. 2021-09-19 14:43:09 +03:00
John Preston e0135e509d Allow exporting test chat themes. 2021-09-19 14:40:43 +03:00
John Preston 559d4cf4da Update theme preview. 2021-09-17 13:22:33 +03:00
John Preston 703ea9aacd Apply scale keeping window center in place. 2021-09-17 10:25:36 +03:00
John Preston 3e681e5449 Always force window frame inside screen geometry.
I hope this fixes #16934.
2021-09-17 10:25:36 +03:00
John Preston 139b9723d7 Accumulate and send emoji interactions. 2021-09-17 10:25:36 +03:00
John Preston 8069fdd873 Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
John Preston e492bbb883 Fix delayed pattern-with-negative-intensity appearance. 2021-09-14 16:36:30 +03:00
John Preston 6a53fc7edc Beta version 3.0.4: Add some theme loading logging. 2021-09-13 20:09:55 +03:00
Ilya Fedin e92ae40ecb Implement close to taskbar option 2021-09-13 17:46:53 +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 8f9e394dd0 Fix build with GCC. 2021-09-07 23:41:08 +03:00
John Preston b6cd9c2911 Invert patter image to white for dark colors. 2021-09-07 23:41:08 +03:00
John Preston 4273167aa2 Adjust outgoing bubble text and icon colors. 2021-09-07 23:41:08 +03:00
John Preston c318f57fc0 Use outbox bubble colors, adjust custom 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
23rd 613f2ba708 Replaced instant base::call_delayed with InvokeQueued. 2021-09-07 23:41:07 +03:00
John Preston 23e9e7b9f0 Remove for_const macro. 2021-09-06 13:13:26 +03:00
John Preston 2a2607d026 Custom colors in history_view_service_message module. 2021-09-06 13:13:26 +03:00
John Preston 444f21fd7e Support colorizing of the default palette. 2021-09-06 13:13:26 +03:00
John Preston 2554aaf3c0 Move Window::Theme::Colorizer to style::colorizer. 2021-09-06 13:13:26 +03:00
John Preston c4982711db Use ui/style/style_core_palette. 2021-09-06 13:13:26 +03:00
John Preston 47e15d136d Fix background update with all chats closed. 2021-09-01 19:28:02 +03:00
John Preston 6eb5d47c35 Couple of crash fixes. 2021-09-01 13:27:36 +03:00
John Preston f59db10267 Update default chat background. 2021-08-31 22:10:39 +03:00
John Preston 9dfc60026e Add simple forwarding options on bar click. 2021-08-31 19:47:38 +03:00
John Preston e9a5c45f34 Use separate strings for channel voice chats. 2021-08-31 17:59:29 +03:00
John Preston ae40ea9336 Always start with QR-code login. 2021-08-30 20:32:58 +03:00
John Preston c39024c7fd Track and display unread count in discussions. 2021-08-30 20:32:58 +03:00
John Preston d684c8057c Fix build for macOS. 2021-08-30 20:32:57 +03:00
John Preston beff635e45 Colorize bubbles according to a custom chat theme. 2021-08-30 20:32:57 +03:00
John Preston f5a323e40a Move all background helper methods to chat_theme module. 2021-08-30 20:32:57 +03:00
John Preston 0a1e84ddb2 Move ChatTheme to td_ui. 2021-08-30 20:32:57 +03:00
John Preston 3cd0f9d189 Start non-unique ChatTheme. 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 1b3075ac2e Fix pattern background tiling on Retina screens. 2021-08-25 17:15:07 +03:00
John Preston b4eb9a0827 Fix single-colored patterns. 2021-08-20 16:24:26 +03:00
John Preston 1e8e163bb1 Tile patterns horizontally. 2021-08-20 15:55:10 +03:00
John Preston 784d57a2bc Use QImage bubbles background for some Media parts. 2021-08-20 14:54:11 +03:00
John Preston f4fdadd3b0 Allow arbitrary QImage as outgoing bubbles background. 2021-08-20 14:54:11 +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 c77f4dd794 Fix build on Linux. 2021-08-18 13:06:47 +03:00
John Preston 662966ba31 Support patterns with negative intensity. 2021-08-17 17:35:10 +03:00
John Preston 1209b2692a Generate correct next rotated gradient. 2021-08-16 17:15:02 +03:00
John Preston 2abcb51dda Filter out patterns without background colors. 2021-08-16 17:14:34 +03:00
John Preston 7a06eccaec Make complex gradients animate on outgoing messages. 2021-08-16 16:07:43 +03:00
John Preston a1f81e4de8 Generate static complex gradients. 2021-08-16 13:24:15 +03:00