Commit graph

  • 1819e6e3a5 Added initial spoiler support to Ui::Text::String. 23rd 2021-12-16 20:05:13 +03:00
  • e19a4c6544 Added index for spoiler to AbstractBox. 23rd 2021-12-18 15:34:53 +03:00
  • 0524252197 Added new colors to text palette for spoilers. 23rd 2021-12-18 13:18:50 +03:00
  • 8aeb6def88 Moved out AbstractBlock implementation from header file. 23rd 2021-12-18 15:13:49 +03:00
  • c06f0435c4 Moved splitting of tags to separated method. 23rd 2021-12-19 12:59:05 +03:00
  • eaea768ca0 Fix HWND retrieval on Windows. John Preston 2021-12-22 10:22:50 +00:00
  • d9274f06bd
    Add InstantReplaces::Custom and setInstantReplaces overload (#11) blank X 2021-12-17 13:52:15 +00:00
  • 05c0f7aa47 Fix global scale reset with custom platformthemes Ilya Fedin 2021-12-16 04:54:49 +04:00
  • 26a8f46634 Fix global scale reset with custom platformthemes Ilya Fedin 2021-12-16 04:54:49 +04:00
  • 5195b7b45f Use XCB instead of QPlatformNativeInterface to get state of translucent windows support Ilya Fedin 2021-12-08 05:26:28 +04:00
  • 692fd7a3a2 Use generic XCB::GetRootWindow instead of QPlatformNativeInterface-based GetRootWindowFromQt Ilya Fedin 2021-12-08 05:25:04 +04:00
  • 9c7fe32830 Use winId to get window handle on Windows Ilya Fedin 2021-12-08 05:23:40 +04:00
  • 6ac846adbb Allow adding submenu actions with icons. John Preston 2021-12-09 21:55:35 +04:00
  • 7efa1f9b2b Use base::unique_qptr for PopupMenu-s. John Preston 2021-12-09 21:55:19 +04:00
  • a6eae0aa27 Improve color in the default popup menu. John Preston 2021-12-09 21:54:51 +04:00
  • c6b55d9c37 Updated lib_ui sources to TDesktop version 3.3 RadRussianRus 2021-12-07 17:52:09 +03:00
  • 1a7c3402e1
    Fix font family for bold text in messages (#12) ilya-fedin 2021-12-07 15:50:17 +04:00
  • 306ae3b4c1 Fix font family for bold text in messages #12 Ilya Fedin 2021-12-07 14:11:41 +04:00
  • 9b56cbd4ab Updated lib_ui sources to TDesktop version 3.2.5 RadRussianRus 2021-12-07 07:21:25 +03:00
  • e3c4d49912 Remove legacy QRC files Ilya Fedin 2021-12-04 06:23:15 +04:00
  • 5cf6981bbb Allow attaching properties to click handlers. John Preston 2021-11-29 13:32:45 +04:00
  • 725654654d Allow changing menu action icons in realtime. John Preston 2021-11-25 17:22:46 +04:00
  • f4a32c34f8 Move box divider colors to the palette. John Preston 2021-11-24 12:28:36 +04:00
  • 1111718ea3 Correctly handle "internal:url:..." links. John Preston 2021-11-18 17:11:59 +04:00
  • f18fbbc2a1 Allow custom-styled left button in BoxContent. John Preston 2021-11-16 09:51:19 +04:00
  • bd7c085bd0 Fix warning in GCC on C++20. John Preston 2021-11-14 11:26:24 +04:00
  • abfd578851 Remove unneeded check for Qt::AA_DisableHighDpiScaling Ilya Fedin 2021-11-03 14:17:37 +04:00
  • 4907cf35d1 Fix warning about inactive QPainter. John Preston 2021-11-02 16:14:10 +04:00
  • 53e39e37eb Debug std::isnan assertion violation. John Preston 2021-11-02 09:36:57 +04:00
  • 402b73f5cf Fix crash in TWidgetHelper::show/hideChildren. John Preston 2021-11-02 00:08:10 +04:00
  • d9953c29b8 Don't set window border color on Windows 11. John Preston 2021-11-01 15:02:18 +04:00
  • cc79439fee Fixed RpWindow dragging on macOS with Qt 6.2. 23rd 2021-10-30 20:35:00 +03:00
  • f51ff6b513 Use Qt resources from a file on macOS. John Preston 2021-10-27 20:39:21 +04:00
  • efdb990d96 Fix emoji single pixmap size on Retina screens. John Preston 2021-10-27 10:39:05 +04:00
  • 7b4114d907 Fix RpWindow drag-by-title on macOS with Qt 6.2. John Preston 2021-10-26 19:32:18 +04:00
  • 9e4ffb81a5 Re-enable kwayland with Qt 6 Ilya Fedin 2021-10-25 07:36:45 +04:00
  • 397be4f175 Call QInputMethod::show on TouchEnd Ilya Fedin 2021-10-24 21:58:18 +04:00
  • c373cbbcae
    Add setInstantReplaces overload #11 blank X 2021-10-17 10:58:25 +07:00
  • 3177c78bda Disable OpenGL on NVIDIA driver on Linux. John Preston 2021-10-22 19:39:09 +04:00
  • fb812fd748 Allow manual style::complex_color refresh. John Preston 2021-10-22 18:33:00 +04:00
  • 48ebd65323 Add Images::GenerateShadow. John Preston 2021-10-19 19:58:03 +04:00
  • aa16cd0c16 Allow custom rounded corners in boxes. John Preston 2021-10-19 19:57:17 +04:00
  • 674391524b Fix build with Qt 6.2 on macOS. John Preston 2021-10-21 19:45:01 +04:00
  • 87b121069f Add checks for libraries not ported to Qt 6 yet Ilya Fedin 2021-10-20 14:54:48 +04:00
  • 004270ebd0 Try with QList Ilya Fedin 2021-10-20 10:08:43 +04:00
  • 93987b3703 Fix a type mismatch Ilya Fedin 2021-10-20 09:31:15 +04:00
  • ee36b1f451 Use StringViewMid adapter Ilya Fedin 2021-10-20 06:18:36 +04:00
  • 64e40913df Use new Qt 6 adapters Ilya Fedin 2021-10-19 18:50:26 +04:00
  • 534541367c Make enterEventHook accept a QEnterEvent Ilya Fedin 2021-10-19 16:33:00 +04:00
  • 8e5d35229a Simple replacements for Qt 6 Ilya Fedin 2021-10-19 16:10:47 +04:00
  • c63139f7e7
    Add InstantReplaces::Custom blank X 2021-10-16 16:55:38 +07:00
  • 1651470638 Added ability to draw outlined Ui::RoundButton. 23rd 2021-10-07 03:01:43 +03:00
  • 30a82625a8
    Multiple custom font size by scale (#10) ilya-fedin 2021-10-06 14:23:11 +04:00
  • 1387b4fd1f Multiple custom font size by scale #10 Ilya Fedin 2021-10-06 11:59:40 +04:00
  • 7182fad08a Removed Q_OBJECT from ScrollArea. 23rd 2021-09-29 18:59:51 +03:00
  • b64f68dca6 Removed Q_OBJECT from ScrollBar. 23rd 2021-09-29 18:18:25 +03:00
  • 532affa1bf Removed Q_OBJECT from ScrollShadow. 23rd 2021-09-29 17:53:03 +03:00
  • a827d9436e Use native rounded corners and title colors. John Preston 2021-09-28 21:06:29 +04:00
  • 40fc5b35f0 Use QImage span for corner masks. John Preston 2021-09-27 19:30:46 +04:00
  • e62d92f655 Use base::SafeRound. John Preston 2021-09-27 12:12:31 +04:00
  • 300dd975a5 Updated lib_ui sources to TDesktop version 3.1.1+0984e63 RadRussianRus 2021-09-26 01:18:14 +03:00
  • d5fb147f2c Lock access to IconMasks. John Preston 2021-09-24 19:09:58 +04:00
  • 29cfdad44c Fix one more crash on context loss. John Preston 2021-09-23 17:37:03 +04:00
  • eb86d2dc51 Updated lib_ui sources to TDesktop version 3.1 RadRussianRus 2021-09-19 22:47:53 +03:00
  • d81997194e Allow forcing links to be always underlined. John Preston 2021-09-19 12:41:44 +03:00
  • 5a9878bea9 Preserve alpha value in colorizer. John Preston 2021-09-17 10:24:42 +03:00
  • 29fdd935ad Updated lib_ui sources to TDesktop version 3.0.1 RadRussianRus 2021-09-17 09:21:32 +03:00
  • a8a4cc8c1a Allow submitting ChooseTimeBox with zeros by Enter. John Preston 2021-09-16 10:49:47 +03:00
  • 2d53ef070f Allow to query RpWindow-s frame margins. John Preston 2021-09-16 10:26:34 +03:00
  • 3bc35a74ec Updated lib_ui sources to TDesktop version 2.9.3 RadRussianRus 2021-09-16 09:58:42 +03:00
  • b35d2d257a Use base/random.h instead of openssl::RandomValue. John Preston 2021-09-15 13:16:44 +03:00
  • d7bdfa2b5e Update emoji config version. John Preston 2021-09-14 15:12:40 +03:00
  • 317dc4fadf Add data file for new emoji. John Preston 2021-09-14 00:29:40 +03:00
  • ef633ec503 Fix PathShiftGradient colors with custom palettes. John Preston 2021-09-13 20:04:48 +03:00
  • 8589a8d850 Try to fix a crash in label click handlers. John Preston 2021-09-13 17:38:53 +03:00
  • 8d634fc946 Update main built-in palette values. John Preston 2021-09-13 15:38:54 +03:00
  • 15d1560e41 Move glibmm_helper include to others glib-related Ilya Fedin 2021-09-11 01:53:48 +04:00
  • 246b947fa7 Always assign colors when assigning palettes. John Preston 2021-09-11 12:26:16 +03:00
  • 5b521d63a4 Allow QSurfaceFormat::NoProfile in OpenGL detection. John Preston 2021-09-09 16:31:32 +03:00
  • 52718aa5db Scroll to the item selected by keyboard. John Preston 2021-09-09 16:02:26 +03:00
  • 40c0a11705 Support scroll inside PopupMenu. Draw shadow over. John Preston 2021-09-09 13:57:48 +03:00
  • 02c1bd5674 Allow enabling + selecting menu item under cursor. John Preston 2021-09-08 14:36:59 +03:00
  • beb09445d1 Appended references to const auto type in loop to prevent copying. 23rd 2021-09-08 14:00:36 +03:00
  • f4cf3094c2 Force PopupMenu item selection when submenu is shown. John Preston 2021-09-08 13:46:34 +03:00
  • 6651d9f9b6 Allow adding submenu to PopupMenu on the fly. John Preston 2021-09-07 21:18:43 +03:00
  • e0339b7da1 Added ability to set background color to BoxContentDivider. 23rd 2021-09-06 11:20:02 +03:00
  • 01d10cbdbf Added workaround for submenu on macOS. 23rd 2021-09-03 17:53:15 +03:00
  • 897bea2baf Removed Q_OBJECT from InnerDropdown. 23rd 2021-09-03 16:27:00 +03:00
  • 093e3129ab Replaced singleShot with InvokeQueued in InputField. 23rd 2021-09-03 16:07:17 +03:00
  • db1b4b65c7 Provide GenerateLinearGradient with several colors. John Preston 2021-09-06 13:17:13 +03:00
  • af1429cb87 Use XSettings + XDP instead of gtk for title controls layout Ilya Fedin 2021-09-03 18:54:17 +04:00
  • 29f339e26e Allow Ui::GL::Renderer::deinit on lost context. John Preston 2021-09-03 21:41:04 +03:00
  • a8ce22fd75 Allow assigning to default-initialized style::icon-s. John Preston 2021-09-03 18:50:59 +03:00
  • 1180d13a5c Support colorizing of the default palette. John Preston 2021-09-02 20:47:52 +03:00
  • cf5e41d81e Correctly handle colorizer special cases. John Preston 2021-09-02 20:19:23 +03:00
  • cc5ebf21e7 Add style::colorizer for theme palette changing. John Preston 2021-09-02 19:57:34 +03:00
  • c88762d0eb Move most of the palette code from codegen. John Preston 2021-09-02 13:27:33 +03:00
  • ea570c07b6 Attempt to fix a crash in event loop nesting tracking. John Preston 2021-09-01 19:08:07 +03:00
  • ec3af38ad9 Attempt to fix a possible crash in InputField. John Preston 2021-09-01 18:50:00 +03:00
  • 2e3eef52f7 Added new send action for choosing sticker. 23rd 2021-08-30 18:08:41 +03:00