Commit graph

379 commits

Author SHA1 Message Date
Ilya Fedin
2039c59293 Apply autofixes from clazy 2021-03-13 11:20:51 +03:00
John Preston
2696dbc959 Move CallMuteButton to td_ui for now. 2021-03-11 19:17:54 +04:00
John Preston
ad334fe450 Force all title controls on one side. 2021-03-11 19:17:01 +04:00
John Preston
d805dca4c7 Allow menu items to update height. 2021-03-11 19:17:01 +04:00
John Preston
515f215c05 Update Vazir font to 27.2.2. 2021-03-09 09:20:42 +04:00
Ilya Fedin
fc563c0d7c Remove unneeded constexprs in ui_utility_linux 2021-03-09 09:01:12 +04:00
Ilya Fedin
b82cdd7e58 Connect to title layout changes right in TitleControlsLayout on Linux 2021-03-09 08:56:34 +04:00
Ilya Fedin
4d865f8313 Fix spaces on ends of lines 2021-03-05 13:31:38 +04:00
Ilya Fedin
af41bff7e4 Build with QT_NO_KEYWORDS 2021-03-03 22:34:02 +04:00
John Preston
794ea13f7e Fix build on Linux. 2021-03-02 17:27:58 +04:00
John Preston
84e0979f47 Fix window title update on macOS. 2021-02-26 21:16:48 +04:00
John Preston
b65ff79393 Fix window title update on theme change. 2021-02-26 18:34:44 +04:00
Ilya Fedin
ae2c25f6a2 Add Platform::IsX11 in forgotten place 2021-02-25 11:05:00 +04:00
Ilya Fedin
db65fca0aa Use new Platform::IsX11 2021-02-24 21:37:31 +04:00
Ilya Fedin
7d18c8687b Add Haiku title layout 2021-02-22 23:36:45 +04:00
Ilya Fedin
ed1bc07cc3 Add DESKTOP_APP_DISABLE_X11_INTEGRATION 2021-02-22 23:36:45 +04:00
John Preston
cf39753666 Revert "Take in account device pixel ratio when setting window extents"
This reverts commit e14bc4681d.
2021-02-21 08:03:00 +04:00
Ilya Fedin
492121950d Check if resize area is null 2021-02-19 12:37:42 +04:00
Ilya Fedin
0b74c396cb Use gtk integration from lib_base 2021-02-19 12:30:58 +04:00
23rd
9d57ba47b0 Fixed adjustment of menu with single item. 2021-02-18 07:58:53 +03:00
Ilya Fedin
e14bc4681d Take in account device pixel ratio when setting window extents 2021-02-17 18:04:06 +04:00
Ilya Fedin
34fc25a56c Ensure controls aren't duplicated 2021-02-17 18:04:06 +04:00
Ilya Fedin
3bc42db7bc Add a private method to get control widget by enum to TitleControls 2021-02-17 18:04:06 +04:00
John Preston
cc05f8174b Allow overriding color for FlatButton. 2021-02-16 16:30:12 +04:00
John Preston
e2c940dcdc Expose menu and menu style in PopupMenu. 2021-02-11 20:09:31 +04:00
John Preston
77856c3a21 Fix build on Windows. 2021-02-04 18:45:35 +04:00
Ilya Fedin
6500dc9610 Qt-based title widget ported from tdesktop 2021-02-04 18:12:14 +04:00
23rd
e2633c4b6f Fixed updating selected item when menu is moved. 2021-02-02 21:56:43 +03:00
23rd
6acc6f0483 Fixed invalidation of CrossLineAnimation. 2021-02-01 10:58:42 +03:00
23rd
52e1d6d740 Added ability to cache both colorized and default CrossLineAnimation. 2021-02-01 10:58:42 +03:00
23rd
4dd6444cb2 Added ability to call RippleButton::paintRipple with QPoint. 2021-02-01 10:58:42 +03:00
23rd
5f7ee9ed81 United enum classes of arc directions into single enum class. 2021-01-30 13:26:21 +03:00
23rd
4748986bf4 Returned ability to use right click for menu actions. 2021-01-30 10:55:17 +03:00
23rd
d94cb34219 Fixed adjustment of menu items by largest width. 2021-01-29 21:28:15 +03:00
23rd
f03209c1f9 Added ability to set custom stroke ratio for arcs. 2021-01-28 02:59:21 +03:00
John Preston
315a0457cf Improve menu selection tracking. 2021-01-27 23:08:27 +04:00
23rd
556a5dd90b Added ability to get width of arcs with finished animation. 2021-01-27 20:02:40 +03:00
23rd
57fc9861a7 Added ability to get width of displayed arcs.
Renamed previous Arcs::width method to Arcs::maxWidth.
2021-01-27 08:53:41 +03:00
23rd
bda12f2bec Fixed resizing menu with wide items. 2021-01-25 17:21:26 +03:00
John Preston
a5fb993721 Make a generic NumberInput from PortInput. 2021-01-22 21:49:12 +04:00
23rd
912f0b48a6 Fixed mouse selecting of menu item when it was deselected via keyboard. 2021-01-20 00:20:39 +03:00
23rd
70aa4833b7 Removed redundant property of mouse selection item from menu. 2021-01-20 00:20:39 +03:00
23rd
fedeac3f08 Removed redundant property of current selected item from menu. 2021-01-20 00:20:39 +03:00
23rd
0ce0766b5e Removed redundant hasSubmenu property from menu item base. 2021-01-20 00:20:39 +03:00
23rd
43f09755e5 Moved key press handling from menu to menu item base. 2021-01-20 00:20:39 +03:00
23rd
3bd07cf837 Delegated responsibility for position of arc painter to parent. 2021-01-20 00:20:39 +03:00
23rd
ddda92c777 Added animation support to arc painter. 2021-01-20 00:20:39 +03:00
23rd
5bcd894429 Added initial implementation of arc painter. 2021-01-20 00:20:39 +03:00
23rd
5d74463bc9 Renamed contentWidth property to minWidth in menu items. 2021-01-20 00:20:39 +03:00
23rd
0d6a0d9cef Moved mouse selecting of menu items to menu base item. 2021-01-20 00:20:39 +03:00