Commit graph

535 commits

Author SHA1 Message Date
John Preston
db1b4b65c7 Provide GenerateLinearGradient with several colors. 2021-09-06 13:17:13 +03:00
Ilya Fedin
af1429cb87 Use XSettings + XDP instead of gtk for title controls layout 2021-09-05 17:40:34 +03:00
John Preston
29f339e26e Allow Ui::GL::Renderer::deinit on lost context. 2021-09-03 21:41:12 +03:00
John Preston
a8ce22fd75 Allow assigning to default-initialized style::icon-s. 2021-09-03 18:50:59 +03:00
John Preston
1180d13a5c Support colorizing of the default palette. 2021-09-02 20:47:52 +03:00
John Preston
cf5e41d81e Correctly handle colorizer special cases. 2021-09-02 20:19:23 +03: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
John Preston
ea570c07b6 Attempt to fix a crash in event loop nesting tracking. 2021-09-01 19:08:07 +03:00
John Preston
ec3af38ad9 Attempt to fix a possible crash in InputField. 2021-09-01 18:50:00 +03:00
23rd
2e3eef52f7 Added new send action for choosing sticker. 2021-08-30 18:08:41 +03:00
John Preston
3c95a91871 Allow duplicating icons with different palettes. 2021-08-27 23:43:50 +03:00
John Preston
15ffd051d6 Use flat_map for iconPixmaps. 2021-08-26 16:24:25 +03:00
John Preston
5938cb012f Don't try to open files by empty paths. 2021-08-20 20:10:21 +03:00
John Preston
6b320a99da Generate gradients in QImage::Format_RGB32. 2021-08-17 17:34:01 +03:00
23rd
38d65bf16e Added separate entity type for media timestamp. 2021-08-16 13:32:58 +03:00
John Preston
669767855a Add gradient generating methods. 2021-08-16 13:23:48 +03:00
John Preston
3b45189923 Use dither radius based on image size. 2021-08-16 12:29:30 +03:00
John Preston
3d5fcdb7dd Add Images::DitherImage. 2021-08-13 15:58:13 +03:00
John Preston
40f0e3c6d4 Merge branch 'master' into HEAD 2021-08-12 09:02:35 +03:00
23rd
49899091aa Added focus rpl event to time input. 2021-08-12 02:36:07 +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
2bd63281b5 Add Images::Read method. 2021-08-11 17:53:02 +03:00
Ilya Fedin
a2d1114a93 Get rid of osx and linux32 special targets 2021-08-11 16:01:30 +03:00
23rd
4fcddb5bfe Added focus rpl event to time input. 2021-08-11 11:12:10 +03:00
23rd
8ff42a86d9 Moved time input widgets to lib_ui. 2021-08-11 11:12:10 +03:00
John Preston
1b590f9e16 Expose topShownLayer from LayerStackWidget/LaayerManager. 2021-08-11 11:05:27 +03:00
John Preston
024f6fc1a9 Fix window frame glitches on Windows 7. 2021-08-10 15:04:30 +03:00
John Preston
5c0066958b Fix window shadow after native frame switch. 2021-08-10 13:12:21 +03:00
kvtb
7f15ac5f0e fix compiling tdesktop with -DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATION=ON 2021-08-09 12:24:12 +03:00
Ilya Fedin
98c7979e67 Get rid of _nativeFrame variable, _title->isHidden is enough 2021-08-08 09:18:15 +03:00
Ilya Fedin
381bfc43c5 Subscribe window widget resize to window state changes 2021-08-08 09:18:15 +03:00
Ilya Fedin
3f85ce53d6 Fix titlebar position when switching to custom frame 2021-07-30 17:29:45 +03:00
John Preston
868f2671fa Fix Ui::RpWidget geometry constraints. 2021-07-29 18:12:44 +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
Ilya Fedin
95cafc5064 Fix cursor with custom titlebar on Linux 2021-07-27 10:53:20 +03:00
John Preston
17123c08ab Define 'KHRONOS_STATIC' globally. 2021-07-26 14:08:04 +03:00
John Preston
49166a8b72 Fix build on Linux. 2021-07-23 20:41:38 +03:00
John Preston
2d251e063c Fix build on macOS. 2021-07-23 19:36:28 +03:00
John Preston
8de7b873f9 Remove 'osx' special target code. 2021-07-23 18:52:15 +03:00
John Preston
1ed242718e Fix linker warning in MSVC. 2021-07-23 15:12:16 +03:00
John Preston
12429c198d Provide custom gpu_driver_bug_list.json on Windows. 2021-07-23 10:36:17 +03:00
John Preston
2439235e42 Remove CurrentSingleComponentFormat. 2021-07-22 15:49:33 +03:00
John Preston
e68f76e6ab List and allow to query EGL extensions on Windows. 2021-07-21 21:18:04 +03:00
John Preston
27fd82a365 Set correct alpha size in QWindow format.
This somehow fixes Direct3D 11 ANGLE backend colors issue.
2021-07-21 21:16:46 +03:00
Ilya Fedin
51cfd0ba35 Fix -Wunused-variable warnings with gcc 2021-07-19 18:59:36 +03:00
John Preston
0ad1d2c965 Check shader compiling/linking in detection. 2021-07-17 12:43:35 +03:00
Ilya Fedin
d922c3085a Don't inherit system font style 2021-07-16 09:25:21 +03:00