Commit graph

109 commits

Author SHA1 Message Date
Ilya Fedin
a052b22872 Try to make font handling more straightforward 2024-04-23 09:47:46 +04:00
John Preston
d424751135 Ui::DynamicImage / Ui::CustomEmoji::DynamicImageEmoji. 2024-02-12 15:33:34 +04:00
John Preston
ab5057f001 Optimize simple Ui::Text::String instances. 2023-10-12 13:53:44 +04:00
John Preston
dc6a4e976c Add simple label->value table layout. 2023-09-29 16:15:39 +04:00
Ilya Fedin
68b43db05d Minimize amount of code to rebuild when switching options 2023-09-22 09:08:56 +04:00
Ilya Fedin
f317f20ac8 Try to allow native window frame on Wayland for everyone 2023-09-21 12:47:40 +04:00
Ilya Fedin
9af842571d Don't call xdg-shell code generation just for xdg_toplevel_show_window_menu 2023-09-07 23:09:26 +04:00
23rd
7a245fee51 Moved out InputField files to subfolder. 2023-08-31 17:09:59 +03:00
23rd
faa67d73c5 Moved out MaskedInputField to separate module. 2023-08-31 17:09:59 +03:00
23rd
26b72fedc7 Moved out NumberInput to separate module. 2023-08-31 17:09:59 +03:00
23rd
225380044e Moved out PasswordInput to separate module. 2023-08-31 17:09:59 +03:00
Ilya Fedin
19d044a212 Move TitleControlsLayout from ui_platform_utility to ui_platform_window_title 2023-07-19 14:42:06 +04:00
John Preston
7135f3ed87 First attempt to implement Ui::ElasticScroll. 2023-07-07 22:49:11 +04:00
John Preston
855f8f7b75 Implement custom scrolling using DirectManipulation.
Use it in Ui::RpWindow. This is an experiment.

Thanks Chromium and Firefox.
2023-06-28 18:55:08 +04:00
Ilya Fedin
627abc6728 C++ify wl_registry 2023-05-30 18:15:19 +04:00
John Preston
b850852221 Simplify working with Ui::Show and toasts. 2023-05-03 22:59:33 +04:00
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