Commit graph

127 commits

Author SHA1 Message Date
23rd
23009b62ad Added ability to finish reordering in vertical layout from external. 2020-03-28 18:51:00 +03:00
23rd
d1619b728e Added ability to scroll vertical layout during reordering. 2020-03-28 18:51:00 +03:00
John Preston
730816ef52 Move on-top panel one level below on macOS. 2020-03-25 13:23:31 +04:00
John Preston
7224c6a191 Move too wide badge to the left. 2020-03-24 17:51:14 +04:00
John Preston
f497eac804 Fix side bar button height with long text. 2020-03-23 15:10:34 +04:00
23rd
adcc2f28a5 Fixed vertical layout's item position when it doesn't require animation. 2020-03-22 18:37:09 +03:00
John Preston
eaab3f9a8a Implement animated VerticalLayout reordering. 2020-03-20 16:33:29 +04:00
John Preston
b051948e69 Allow reordering widgets in Ui::VerticalLayout. 2020-03-20 15:39:09 +04:00
John Preston
ec6744022c Specify icon overrides for side bar button. 2020-03-19 15:04:55 +04:00
John Preston
1f0a772b18 Fix side bar button on Retina screens. 2020-03-19 13:39:13 +04:00
John Preston
ed97ff0d4f Don't loose focus from layer in animation. 2020-03-18 16:14:19 +04:00
John Preston
e4e8faaa73 Improve colors for SideBarButton. 2020-03-16 17:01:24 +04:00
John Preston
4b6b328130 Show badge in SideBarButton. 2020-03-16 16:12:13 +04:00
John Preston
d2611d7e85 Add RoundImageCheckbox style to PeerListItem. 2020-03-13 18:08:51 +04:00
John Preston
c96119dcd1 Make GenericBox vertical-layout available outside. 2020-03-10 16:28:51 +04:00
John Preston
1b673b7e40 Replace SideBarMenu with SideBarButton. 2020-03-09 13:02:51 +04:00
John Preston
15af9055ee Improve side bar layout. 2020-03-07 15:52:24 +04:00
John Preston
81e9a80831 Add a simple side bar widget. 2020-03-03 16:06:32 +04:00
John Preston
ccc12ce3da Fix crash in rounding of shared images.
Regression was introduced in 721d143c89.
2020-02-25 13:17:00 +04:00
23rd
be5ed0053a Removed emoji sets from lib_ui. 2020-02-10 11:22:20 +03:00
Maks Naumov
44c4633684 Fix memleak when Icon move ctor is used 2020-02-10 12:12:05 +04:00
John Preston
628d3b9ab6 Improve transparent popup menus. 2020-02-05 18:49:39 +04:00
John Preston
9cea7f117e Fix rendering of 'Mathematical Alphanumeric Symbols' on macOS. 2020-02-04 12:23:19 +04:00
John Preston
1888853b52 Allow simple round rects with not all corners. 2020-02-03 15:38:11 +04:00
John Preston
18ba60ec86 Support more options for popup menu. 2020-01-31 15:11:56 +03:00
John Preston
0ec26f2e10 Add new colors for video player. 2020-01-31 12:54:25 +03:00
John Preston
33ea14969e Use StartTranslucentPaint only on OpenGL widgets on macOS. 2020-01-29 18:54:25 +03:00
John Preston
bbd35238da Don't force floating panel.
In case of StaysOnTop windows it looks like it is floating already.
But in case of manually setting floating here it has a strange bug
with non-activatable always on top tool window (picture-in-picture).

When first time shown it doesn't act as a stays-on-top window, if you
click on another app it is shown above the PiP. Only if you activate
the main window once more the PiP will become stays-on-top window.

This way it works from the first show.
2020-01-29 18:02:17 +03:00
John Preston
8399f70ea0 Only handle left button clicks. 2020-01-28 09:32:58 +03:00
John Preston
0f0fd6a94f Use non-libdispatch queues in Mac App Store build. 2020-01-23 13:13:54 +03:00
Ilya Fedin
f87b96e5b7 Use DemiBold when using packaged fonts 2020-01-23 10:07:57 +03:00
John Preston
ea176df168 Fix radial updates with disabled animations. 2020-01-22 11:10:53 +03:00
John Preston
3b6a44c4f8 Fix unexplainable bug in MSVC.
This looks like a code generation bug.

In the old case while calling universal->generate() with first
non-zero argument inside generate() call the value was zero.
2020-01-22 02:14:09 +03:00
John Preston
721d143c89 Fix rounding of sparse QImage-s. 2020-01-21 17:04:36 +03:00
John Preston
593c50f623 Remove GYP build scripts. 2020-01-21 15:22:53 +03:00
Ilya Fedin
35176fd02a Add macro for disabling fonts bundling 2020-01-21 14:57:44 +03:00
John Preston
f401e8c085 Skip Unicode tag characters in text processing. 2020-01-21 14:12:41 +03:00
Nicholas Guriev
4c165ea446 Remove explicitly defined copy operator for style::internal::Font
It was equivalent of default copy operator generated by compiler itself.
Removing this copy operation, we do not change behavior of the code but
resolve the -Wdeprecated-copy warning from GCC.
2020-01-21 12:32:06 +03:00
John Preston
6d97ae0bce Log some debug information for text processing crashes. 2020-01-20 13:29:52 +03:00
John Preston
c0b07457fa Fix build without DESKTOP_APP_USE_PACKAGED. 2020-01-17 18:13:05 +03:00
Ilya Fedin
777cf61626 Don't load linux.qrc when DESKTOP_APP_USE_PACKAGED is defined 2020-01-17 17:46:45 +03:00
John Preston
20b37f2dc1 Fix nested wrapped widgets. 2020-01-13 13:04:37 +03:00
John Preston
26e6a3050c Allow non-activatable window on Windows. 2020-01-07 15:16:00 +03:00
John Preston
4ec9e32f8f Use fallback color for spell checker underline. 2020-01-02 15:21:57 +03:00
John Preston
0aadf4ca7d Correctly minimize window. 2020-01-02 14:57:22 +03:00
John Preston
d30d361609 Fix whitespace and indentation errors. 2020-01-02 14:25:11 +03:00
John Preston
765e525458 Add Ui::AppInFocus() method. 2019-12-31 16:48:25 +03:00
John Preston
f0e95ee933 Fix possible assertion violation in animations shutdown. 2019-12-31 13:48:16 +03:00
John Preston
da3b4704bf Fix activating window after popup menu. 2019-12-31 10:29:48 +03:00
23rd
983d6be8d4 Added rpl::event_stream for firing applied markdown tag to spellchecker. 2019-12-30 16:58:53 +03:00