Commit graph

  • f0b800cdfb Introduced Ui::Show interface. 23rd 2022-03-03 16:45:18 +03:00
  • 214c5e8e22 Make PreventDelayedActivation more reliable. John Preston 2022-03-01 14:21:35 +03:00
  • 8415f7058c Support emoji in Ui::SettingsButton. John Preston 2022-03-01 12:43:50 +03:00
  • 1ba9270234 Added ability to provide custom style of context menu to flat labels. 23rd 2022-03-01 08:35:05 +03:00
  • 5f3e04a319 Fix build with GCC. John Preston 2022-02-28 23:25:03 +03:00
  • 2f425edd75 Adjust default icon colors. John Preston 2022-02-28 22:36:31 +03:00
  • 5d475f54f0 Enlarge padded title controls hit area. John Preston 2022-02-28 19:12:26 +03:00
  • 73ec29fa06 Added clearing of selection on changing of FlatLabel selectability. 23rd 2022-02-28 12:33:31 +03:00
  • dea62df69b Replaced index-based accessor with type-based one in variant text. 23rd 2022-02-28 11:39:28 +03:00
  • 6392af756f Added utils for variant text. 23rd 2022-02-28 08:07:08 +03:00
  • 5214f96bba Parse markup in Ui::Text::String::setMarkedText by default. John Preston 2022-02-27 17:48:43 +03:00
  • bd7c4ee06d Allow fractional stroke values in CrossAnimation. John Preston 2022-02-25 19:23:05 +03:00
  • ec7af74351 Update some icons. John Preston 2022-02-25 16:08:47 +03:00
  • 4ba28e2fec Renamed BoxContent::onScrollToY to BoxContent::scrollToY. 23rd 2022-02-23 04:11:04 +03:00
  • c369eb13bf Removed Q_OBJECT from BoxContent. 23rd 2022-02-23 04:07:24 +03:00
  • b69fcf6048 Added ability to hide layer from delegate of BoxContent. 23rd 2022-02-22 07:59:09 +03:00
  • 88966598b8 Removed limitations on number of indexes. 23rd 2022-02-15 07:37:07 +03:00
  • 27d3b68ff4 Moved InterpolatedRect util to separated file. 23rd 2022-02-07 21:37:15 +03:00
  • d6cdc810c4 Renamed anim::interpolateF to anim::interpolateToF. 23rd 2022-02-07 21:36:51 +03:00
  • 34a42aa8c3 Don't set userpic-color fallbacks for icon colors. John Preston 2022-02-24 17:58:36 +03:00
  • 6316443b27 Allow SlideWrap to slide up, not only down. John Preston 2022-02-22 15:48:51 +03:00
  • b44b69ef08 New colors for name icons RadRussianRus 2022-02-17 08:21:05 +03:00
  • bbd3af01c9 Updated lib_ui sources to TDesktop version 3.5.2+95e806c RadRussianRus 2022-02-15 02:35:19 +03:00
  • 43c61172d8 Allow overriding Ui::SettingsButton padding. John Preston 2022-02-10 12:22:35 +03:00
  • c1f44ca8c7 Round SettingsSlider by 1px. John Preston 2022-02-09 13:40:31 +03:00
  • 93ba307071 Track icon offset inside SettingsButton style. John Preston 2022-02-09 13:40:17 +03:00
  • b011d9fcb2 Add new palette colors for colored icons. John Preston 2022-02-09 13:39:54 +03:00
  • 6685a1565e Allow rounding radius in InfoTopBar style. John Preston 2022-02-08 20:17:56 +03:00
  • 681da392eb Improve box rounding and buttons. John Preston 2022-02-07 17:46:24 +03:00
  • f93c2bb5e5 Always convert to ARGB before rounding. John Preston 2022-02-08 11:05:52 +03:00
  • 7e1effeeeb Added support for custom indexes of links in Ui::String::Text. 23rd 2022-02-03 23:08:09 +03:00
  • 8618812fd6 Added ability to disable menu hiding from items in easy way. 23rd 2022-02-03 01:01:31 +03:00
  • 7d9c442ca9 Added access to AbstractCheckView from Checkbox. 23rd 2022-02-03 00:59:55 +03:00
  • bbae1c2ae7 Add AllowLinuxNvidiaOpenGL option. John Preston 2022-02-02 13:57:02 +03:00
  • dbbec068a8 Added ability to use VerticalLayoutReorder without scroll. 23rd 2022-01-31 19:02:40 +03:00
  • 6af9023eb7 Fix build with GCC. John Preston 2022-02-01 01:51:06 +03:00
  • 5acbd74670 Fixed drawing spoiler when it ends with formatted text and space. 23rd 2022-01-24 23:12:45 +03:00
  • 274200039c Added ability to draw round rect with single side and small width. 23rd 2022-01-24 23:29:28 +03:00
  • 2d54e9fd35 Fixed background display after untoggling spoilers in input fields. 23rd 2022-01-24 20:44:32 +03:00
  • 7bd7ada3ff Split qt_adapters to separated files. 23rd 2022-01-24 19:29:36 +03:00
  • ff50940cd6 Fix build with Xcode. John Preston 2022-01-22 16:31:39 +03:00
  • b4fff03da4 Fix buffer double-delete in Images::Blur. John Preston 2022-01-21 15:58:55 +03:00
  • 87e62b7737 Refactor Images manipulating methods. John Preston 2022-01-20 20:18:22 +03:00
  • 0488688592 Use '\' instead of '$' as a tags separator. John Preston 2022-01-20 11:19:45 +03:00
  • f0efb19713 Fix a crash on Windows < 11. John Preston 2022-01-19 09:30:40 +03:00
  • 45a8095aee Fix build with Xcode. John Preston 2022-01-18 21:52:04 +03:00
  • 47aed59fe9 Add Windows 11 snap layouts to custom TitleControls. John Preston 2022-01-18 18:37:35 +03:00
  • d5d2ccb467 Disable Windows 11 rounded corners in FullScreen RpWindow. John Preston 2022-01-18 15:52:27 +03:00
  • e5c8a6ebc4 Force correct separate title bar controls geometry. John Preston 2022-01-18 15:33:28 +03:00
  • 64fa3d83b5 Workaround selection glitches on macOS. John Preston 2022-01-18 14:10:46 +03:00
  • d7e47aa8a6 Support Windows 11 snap layouts in RpWindow title controls. John Preston 2022-01-18 12:59:37 +03:00
  • e8f4f02131 Make title bar buttons a bit wider. John Preston 2022-01-17 19:00:51 +03:00
  • 45893ec223 Excluded EntityType::Pre from clickable types. 23rd 2022-01-17 13:09:57 +03:00
  • 79d2052a83 Use default font in window title on macOS. John Preston 2022-01-17 15:04:28 +03:00
  • 220d683528 Fix Windows 11 title controls by additional padding. John Preston 2022-01-17 13:37:14 +03:00
  • 9b5c939fd0 Update window title controls. John Preston 2022-01-17 11:17:36 +03:00
  • 19de16ba6f Fixed processing of started entities for monospace. 23rd 2022-01-17 10:10:14 +03:00
  • d1509436b6 Fixed possible crash in Text::String with clickable monospace. 23rd 2022-01-16 10:18:19 +03:00
  • 2b87a251cd Fixed enumerating of Text::String with clickable monospace. 23rd 2022-01-15 12:51:49 +03:00
  • d7b3a68351 Allow slowing down Animations::Simple globally. John Preston 2022-01-11 13:16:31 +03:00
  • ba27a017f8 Increase menu minimum width. John Preston 2022-01-10 13:18:02 +03:00
  • 4fbd226067 Fix selection of monospace text on press. John Preston 2022-01-13 13:10:53 +03:00
  • 7d3f27b7ca Decomposed painting of SettingsButton. 23rd 2022-01-10 08:59:14 +03:00
  • 5e8b8d4129 Changed behavior to process paragraph selection as full for monospace. 23rd 2022-01-09 06:35:15 +03:00
  • c2fcbdc883 Limited monospace text selection on click only for single lines. 23rd 2022-01-09 06:30:46 +03:00
  • 039cbd656d Updated lib_ui sources to TDesktop version 3.4.3 RadRussianRus 2022-01-09 03:04:05 +03:00
  • 087c82e1d5 Fixed display of ellipsis under spoiler. 23rd 2022-01-08 09:12:24 +03:00
  • 20b908ea70 Slightly optimized spoilers to avoid recreating of same click handlers. 23rd 2022-01-08 08:20:07 +03:00
  • b1f71ccab3 Added selection of monospace text on press. 23rd 2022-01-08 08:15:26 +03:00
  • 4e4e54dcc5 Made monospace text clickable. 23rd 2022-01-08 07:27:35 +03:00
  • b81b9371e6 Removed TextParseRichText. 23rd 2022-01-07 06:50:33 +03:00
  • 7e279bd83a Removed text commands. 23rd 2022-01-07 02:02:41 +03:00
  • 09b56b019b Added utilities to wrap TextWithEntities. 23rd 2022-01-06 21:37:50 +03:00
  • 745ce34dd5 Added new entity type for plain non-interactive links. 23rd 2021-12-29 18:27:23 +03:00
  • 8e999fe8fb Moved out all block implementations from header file. 23rd 2022-01-06 19:38:41 +03:00
  • c9a9751472 Added utilities to mid and filter TextWithEntities. 23rd 2021-12-28 08:18:57 +03:00
  • ee2a1b47d9 Fallthrough wheel events from ScrollBar to ScrollArea. John Preston 2022-01-07 13:55:01 +03:00
  • 633648074a Allow smaller popup menus. John Preston 2021-12-31 17:52:06 +03:00
  • 1f845ea919 Fixed spoilers with animations disabled. 23rd 2021-12-30 20:36:20 +03:00
  • 9da4e1e731 Fix spoiler rounding. John Preston 2021-12-30 15:56:55 +03:00
  • 541c8d258b Display shown spoilers as plain text. John Preston 2021-12-30 15:20:43 +03:00
  • 5f94fa24a0 Some fixes in spoiler geometry. John Preston 2021-12-30 15:19:45 +03:00
  • 8b0ff16b66 Fixed isolated emoji under spoilers. 23rd 2021-12-30 03:24:11 +03:00
  • e961883914 Fixed spoiler width for thin characters. 23rd 2021-12-30 03:23:39 +03:00
  • a3b3745d7c Allow click on a submenu-creating item. John Preston 2021-12-29 17:52:40 +03:00
  • 0a0e5e1258 Added ability to pass TextWithEntities to Checkbox. 23rd 2021-12-25 20:36:45 +03:00
  • f8f407004b Added custom colors for message name icons RadRussianRus 2021-12-27 06:53:19 +03:00
  • 3461c18cda Extracted ellipsis string from String::Text to global access. 23rd 2021-12-25 18:24:09 +03:00
  • 774da18a38 Added utility to correctly cut text with commands. 23rd 2021-12-25 17:31:10 +03:00
  • 44853e9334 Added ability to show or hide spoilers from outside. 23rd 2021-12-25 16:53:00 +03:00
  • db871a87f5 Added animation for spoilers. 23rd 2021-12-24 15:05:14 +03:00
  • 2c1e6b458d Moved SpoilerClickHandler to separated file. 23rd 2021-12-24 15:04:51 +03:00
  • af2cfca307 Improved style of selected text with spoilers. 23rd 2021-12-22 23:36:25 +03:00
  • 6c9d832ad8 Added nice corners for spoilers. 23rd 2021-12-22 20:55:47 +03:00
  • 9c1572564b Added utility to replace spoiler entities with text commands. 23rd 2021-12-21 17:48:06 +03:00
  • fc6c3841ee Improved utility to clean text from text commands except spoilers. 23rd 2021-12-21 17:47:03 +03:00
  • 8331322c20 Replaced tag separator to avoid conflicts with new spoiler tag. 23rd 2021-12-19 17:04:04 +03:00
  • ee4a94c122 Added spoiler support to input field. 23rd 2021-12-19 17:06:21 +03:00
  • bcf16c6c80 Added spoiler support to conversion from Ui::Text::String to text. 23rd 2021-12-18 14:29:44 +03:00
  • 6b905f7754 Added text command for spoilers. 23rd 2021-12-18 16:35:38 +03:00