Commit graph

93 commits

Author SHA1 Message Date
23rd
2996fb7030 Moved out menu item with multiline text to separated file. 2023-03-01 21:13:53 +03:00
John Preston
66e47a0240 Re-enable global /LTCG on Windows.
With /LTCGOUT: empty path it should not try generating .iobj file,
and work on both 32 bit and 64 bit build with all static libs.
2023-02-08 13:18:20 +04:00
John Preston
9cb928b7c4 Add some helpers for exact dpi painting. 2023-01-23 22:04:51 +04:00
23rd
3bfd1797e4 Added initial list of functions for geometry calculations. 2023-01-15 06:54:07 +03:00
John Preston
d5921e742f Request LTCG on Windows 32 bit build. 2022-12-07 10:59:27 +04:00
23rd
4a0c3ead7a Added initial implementation of FollowSlideWrap. 2022-11-29 14:10:50 +03:00
Ilya Fedin
09e8850dfd Adapt for target_prepare_qrc changes 2022-11-01 14:36:08 +04:00
John Preston
0f77143905 Fix spoiler open link after String moving. 2022-09-23 11:59:25 +04:00
John Preston
bc76e4f601 Optimize spoiler revealing. 2022-09-18 16:51:29 +04:00
John Preston
73b6bc5e13 Implement animated spoilers. 2022-09-17 00:22:08 +04:00
Ilya Fedin
f82162f05a Add missing external_xxhash dependency 2022-09-15 07:27:27 +04:00
John Preston
00a668c3f3 Initial SpoilerMess implementation. 2022-09-08 13:14:19 +04:00
Ilya Fedin
f6e875c748 Use new Qt 6.4 API for window extents on Wayland 2022-09-02 19:26:53 +04:00
John Preston
3287bf45c6 Add FrameGenerator-based CustomEmoji and AnimatedIcon. 2022-08-29 16:33:12 +04:00
John Preston
f876d15eed Add some helper wrappers for custom emoji. 2022-08-26 23:51:58 +04:00
John Preston
eed9293c80 Add general RoundAreaWithShadow helper. 2022-08-18 17:30:59 +03:00
23rd
1cc74a41c4 Moved out spoiler data from Ui::Text::String to separate structure. 2022-08-16 19:00:57 +03:00
Ilya Fedin
637ff6be4b Use version-less Qt targets and functions whenever possible 2022-08-09 09:12:33 +04:00
John Preston
cb5296a6b0 Add ImageFrameGenerator for static custom emoji. 2022-06-29 11:51:23 +04:00
John Preston
6ef5ec3410 Pass painting active/inactive state through Painter. 2022-06-28 17:45:37 +04:00
Ilya Fedin
797c731d27 Migrate from kwayland to QtWaylandScanner 2022-06-03 20:10:48 +04:00
John Preston
6ae122f1b2 Move Ui::Menu::MenuCallback and st::menuWithIcons here. 2022-06-03 18:05:09 +04:00
23rd
b9a702f6e0 Added masked shadow corners for special layers. 2022-06-02 14:59:32 +03:00
Ilya Fedin
060eb63ce8 Get rid of qtextitemint.cpp
All the variables are public, so there's no need to use non-exported constructor
2022-05-29 10:16:10 +04:00
23rd
cea7f128a5 Added util for calculating of intermediate gradient value. 2022-05-20 13:15:45 +03:00
John Preston
b77fb45083 Add SeparatePanel and ShowMultilineToast. 2022-04-29 20:19:33 +04:00
John Preston
e5d8e54035 Don't build OBJC precompiled header. 2022-04-14 10:35:00 +04:00
23rd
01f07480b0 Fixed build with Xcode. 2022-04-12 17:18:15 +03:00
Ilya Fedin
d5a37c74b1 Try to use as less private APIs as possible to show window menu on Wayland 2022-04-11 09:43:09 +04:00
Ilya Fedin
362fbb6331 Fix build without Wayland integration 2022-04-11 09:43:09 +04:00
23rd
c035b78f87 Added IconButtonWithText control. 2022-03-30 18:38:49 +03:00
23rd
c026c1125e Moved Ui::TimePart to separated file. 2022-03-28 14:01:24 +03:00
23rd
a0b04da1d9 Added utils for fade animated showing/hiding of widgets. 2022-03-22 22:36:58 +03:00
23rd
6e6ba5a149 Moved Ui::SelectScrollManager to lib_ui. 2022-03-14 17:31:04 +03:00
John Preston
81e216f1ce Allow checking if JPEG bytes are a progressive jpeg. 2022-03-09 17:37:02 +04:00
23rd
f0b800cdfb Introduced Ui::Show interface. 2022-03-03 16:45:51 +03:00
23rd
6392af756f Added utils for variant text. 2022-02-28 08:07:44 +03:00
23rd
27d3b68ff4 Moved InterpolatedRect util to separated file. 2022-02-25 12:56:10 +03:00
23rd
2c1e6b458d Moved SpoilerClickHandler to separated file. 2021-12-24 15:49:02 +03:00
Ilya Fedin
e3c4d49912 Remove legacy QRC files
qt_linux.conf has no visible effect for a long time and mac.qrc is empty, so remove them to get rid of unneeded rcc invocations
2021-12-06 12:27:45 +04:00
John Preston
f51ff6b513 Use Qt resources from a file on macOS. 2021-10-27 20:39:21 +04:00
Ilya Fedin
9e4ffb81a5 Re-enable kwayland with Qt 6 2021-10-25 08:49:29 +04:00
Ilya Fedin
87b121069f Add checks for libraries not ported to Qt 6 yet 2021-10-21 08:42:53 +04:00
John Preston
cc5ebf21e7 Add style::colorizer for theme palette changing. 2021-09-02 19:57:34 +03:00
John Preston
c88762d0eb Move most of the palette code from codegen. 2021-09-02 13:27:33 +03:00
23rd
6de724bc1c Moved time input widgets to lib_ui. 2021-08-12 02:36:07 +03:00
John Preston
dd88f8fa41 Add UnpackGzip and reading gzip-ed SVGs. 2021-08-11 19:54:59 +03:00
John Preston
d452ae8ba6 Rename Ui::Window to Ui::RpWindow. 2021-07-28 16:23:27 +03:00
Ilya Fedin
7a71876124 Add possibility to enable native window frame to Ui::Window 2021-07-28 16:06:17 +03:00
John Preston
baf4d80867 Add Ui::PathShiftGradient effect. 2021-07-02 17:57:22 +03:00