mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Improve style of desktop capture source choosing.
This commit is contained in:
parent
003da28699
commit
5a6e8a0a8c
2 changed files with 5 additions and 3 deletions
|
@ -1130,6 +1130,8 @@ desktopCaptureMargins: margins(12px, 8px, 12px, 6px);
|
||||||
desktopCaptureSourceSize: size(235px, 165px);
|
desktopCaptureSourceSize: size(235px, 165px);
|
||||||
desktopCaptureSourceSkips: size(2px, 10px);
|
desktopCaptureSourceSkips: size(2px, 10px);
|
||||||
desktopCaptureSourceTitle: WindowTitle(groupCallTitle) {
|
desktopCaptureSourceTitle: WindowTitle(groupCallTitle) {
|
||||||
|
bg: groupCallMembersBgOver;
|
||||||
|
bgActive: groupCallMembersBgOver;
|
||||||
height: 21px;
|
height: 21px;
|
||||||
}
|
}
|
||||||
desktopCapturePadding: margins(7px, 7px, 7px, 33px);
|
desktopCapturePadding: margins(7px, 7px, 7px, 33px);
|
||||||
|
@ -1145,8 +1147,8 @@ desktopCaptureCancel: RoundButton(defaultBoxButton) {
|
||||||
textFgOver: groupCallActiveFg;
|
textFgOver: groupCallActiveFg;
|
||||||
numbersTextFg: groupCallActiveFg;
|
numbersTextFg: groupCallActiveFg;
|
||||||
numbersTextFgOver: groupCallActiveFg;
|
numbersTextFgOver: groupCallActiveFg;
|
||||||
textBg: groupCallBg;
|
textBg: groupCallMembersBg;
|
||||||
textBgOver: groupCallMembersBg;
|
textBgOver: groupCallMembersBgOver;
|
||||||
|
|
||||||
ripple: groupCallRipple;
|
ripple: groupCallRipple;
|
||||||
}
|
}
|
||||||
|
|
|
@ -325,7 +325,7 @@ void ChooseSourceProcess::setupPanel() {
|
||||||
|
|
||||||
_window->body()->paintRequest(
|
_window->body()->paintRequest(
|
||||||
) | rpl::start_with_next([=](QRect clip) {
|
) | rpl::start_with_next([=](QRect clip) {
|
||||||
QPainter(_window->body()).fillRect(clip, st::groupCallBg);
|
QPainter(_window->body()).fillRect(clip, st::groupCallMembersBg);
|
||||||
}, _window->lifetime());
|
}, _window->lifetime());
|
||||||
|
|
||||||
_bottom->setGeometry(0, height - bottomHeight, width, bottomHeight);
|
_bottom->setGeometry(0, height - bottomHeight, width, bottomHeight);
|
||||||
|
|
Loading…
Add table
Reference in a new issue