Commit graph

13 commits

Author SHA1 Message Date
Ilya Fedin
3e7f1250c5 Mark TitleControlsOnLeft inline 2023-07-19 22:50:07 +04: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
85b73e98ec Fix build on macOS. 2023-02-25 17:12:46 +04:00
John Preston
2aa929dc91 Support custom semi-native title buttons on Windows. 2023-02-23 17:06:12 +04:00
Ilya Fedin
94c5754b42 Hide titlebar & border when there are no controls
If the user doesn't want to control the window with buttons, then he moves/resizes the window in other way as well
2022-06-13 13:47:26 +04:00
John Preston
d98c3d539b Allow moving window controls vertically. 2022-03-15 19:40:38 +04:00
John Preston
5d475f54f0 Enlarge padded title controls hit area. 2022-02-28 19:12:26 +03:00
John Preston
47aed59fe9 Add Windows 11 snap layouts to custom TitleControls. 2022-01-18 18:37:35 +03:00
John Preston
e5c8a6ebc4 Force correct separate title bar controls geometry. 2022-01-18 15:33:28 +03:00
John Preston
d7e47aa8a6 Support Windows 11 snap layouts in RpWindow title controls. 2022-01-18 12:59:37 +03:00
John Preston
f6a1a44efe Fix maximize/restore button state in TitleWidget. 2021-03-20 15:16:50 +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
Ilya Fedin
6500dc9610 Qt-based title widget ported from tdesktop 2021-02-04 18:12:14 +04:00