Commit graph

561 commits

Author SHA1 Message Date
John Preston
e62d92f655 Use base::SafeRound. 2021-09-27 12:12:54 +04:00
John Preston
d5fb147f2c Lock access to IconMasks. 2021-09-24 19:09:58 +04:00
John Preston
29cfdad44c Fix one more crash on context loss. 2021-09-23 17:37:03 +04:00
John Preston
d81997194e Allow forcing links to be always underlined. 2021-09-19 12:41:44 +03:00
John Preston
5a9878bea9 Preserve alpha value in colorizer. 2021-09-17 10:24:42 +03:00
John Preston
a8a4cc8c1a Allow submitting ChooseTimeBox with zeros by Enter. 2021-09-16 10:49:47 +03:00
John Preston
2d53ef070f Allow to query RpWindow-s frame margins. 2021-09-16 10:26:34 +03:00
John Preston
b35d2d257a Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:16:44 +03:00
John Preston
d7bdfa2b5e Update emoji config version. 2021-09-14 15:12:40 +03:00
John Preston
317dc4fadf Add data file for new emoji. 2021-09-14 14:29:42 +03:00
John Preston
ef633ec503 Fix PathShiftGradient colors with custom palettes. 2021-09-13 20:04:48 +03:00
John Preston
8589a8d850 Try to fix a crash in label click handlers. 2021-09-13 17:38:53 +03:00
John Preston
8d634fc946 Update main built-in palette values. 2021-09-13 15:38:54 +03:00
Ilya Fedin
15d1560e41 Move glibmm_helper include to others glib-related 2021-09-12 00:04:49 +03:00
John Preston
246b947fa7 Always assign colors when assigning palettes. 2021-09-11 12:26:16 +03:00
John Preston
5b521d63a4 Allow QSurfaceFormat::NoProfile in OpenGL detection. 2021-09-09 16:31:32 +03:00
John Preston
52718aa5db Scroll to the item selected by keyboard. 2021-09-09 16:02:26 +03:00
John Preston
40c0a11705 Support scroll inside PopupMenu. Draw shadow over. 2021-09-09 15:36:20 +03:00
John Preston
02c1bd5674 Allow enabling + selecting menu item under cursor. 2021-09-08 14:37:19 +03:00
23rd
beb09445d1 Appended references to const auto type in loop to prevent copying. 2021-09-08 14:01:07 +03:00
John Preston
f4cf3094c2 Force PopupMenu item selection when submenu is shown. 2021-09-08 13:46:34 +03:00
John Preston
6651d9f9b6 Allow adding submenu to PopupMenu on the fly. 2021-09-07 21:18:43 +03:00
23rd
e0339b7da1 Added ability to set background color to BoxContentDivider. 2021-09-06 13:26:38 +03:00
23rd
01d10cbdbf Added workaround for submenu on macOS. 2021-09-06 13:19:32 +03:00
23rd
897bea2baf Removed Q_OBJECT from InnerDropdown. 2021-09-06 13:19:32 +03:00
23rd
093e3129ab Replaced singleShot with InvokeQueued in InputField. 2021-09-06 13:19:32 +03:00
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