mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Added missed summary icons.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72">
|
||||
<path fill="#ffffff" fill-rule="evenodd" d="M32.5952 38C33.3684 38 33.9952 38.6268 33.9952 39.4V56.1373C33.9952 57.0209 33.2788 57.7373 32.3952 57.7373C31.9708 57.7373 31.5639 57.5687 31.2638 57.2686L25.9422 51.947L19.2057 58.6518C17.5821 60.2675 14.9562 60.2611 13.3405 58.6376C11.7247 57.014 11.7311 54.388 13.3547 52.7723L20.0772 46.082L14.7265 40.7314C14.1017 40.1065 14.1017 39.0935 14.7265 38.4686C15.0266 38.1686 15.4336 38 15.8579 38H32.5952Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 549 B |
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72">
|
||||
<path fill="#ffffff" fill-opacity="0.5" fill-rule="evenodd" d="M49.2732 56.5962L45.2962 55.5283C44.5655 55.3321 44.1322 54.5806 44.3285 53.8499C44.4553 53.3778 44.8241 53.009 45.2962 52.8822L49.2732 51.8142C49.8611 51.6563 50.3204 51.1971 50.4783 50.6091L51.5462 46.6322C51.7425 45.9015 52.4939 45.4682 53.2246 45.6644C53.6967 45.7912 54.0655 46.16 54.1923 46.6322L55.2603 50.6091C55.4182 51.1971 55.8774 51.6563 56.4654 51.8142L60.4423 52.8822C61.173 53.0784 61.6063 53.8298 61.4101 54.5605C61.2833 55.0327 60.9145 55.4015 60.4423 55.5283L56.4654 56.5962C55.8774 56.7541 55.4182 57.2134 55.2603 57.8013L54.1923 61.7783C53.9961 62.509 53.2447 62.9423 52.514 62.746C52.0418 62.6193 51.673 62.2504 51.5462 61.7783L50.4783 57.8013C50.3204 57.2134 49.8611 56.7541 49.2732 56.5962Z"/>
|
||||
<path fill="#ffffff" fill-opacity="0.5" fill-rule="evenodd" d="M14.9896 19.8736L12.1138 19.0921C11.5352 18.9349 11.1935 18.3383 11.3508 17.7596C11.4518 17.3879 11.7421 17.0975 12.1138 16.9965L14.9896 16.2151C15.5962 16.0502 16.0691 15.5746 16.2303 14.967L17.0052 12.0468C17.157 11.4749 17.7436 11.1343 18.3155 11.2861C18.6872 11.3847 18.9775 11.6751 19.0761 12.0468L19.851 14.967C20.0123 15.5746 20.4851 16.0502 21.0918 16.2151L23.9675 16.9965C24.5462 17.1538 24.8878 17.7504 24.7306 18.3291C24.6296 18.7008 24.3392 18.9911 23.9675 19.0921L21.0918 19.8736C20.4851 20.0384 20.0123 20.5141 19.851 21.1217L19.0761 24.0419C18.9244 24.6137 18.3378 24.9543 17.7659 24.8026C17.3942 24.7039 17.1039 24.4136 17.0052 24.0419L16.2303 21.1217C16.0691 20.5141 15.5962 20.0384 14.9896 19.8736Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -32,7 +32,7 @@ namespace {
|
||||
|
||||
constexpr auto kInNonChosenOpacity = 0.12;
|
||||
constexpr auto kOutNonChosenOpacity = 0.18;
|
||||
constexpr auto kArrowPivotNear = 0.345;
|
||||
constexpr auto kArrowPivotNear = 0.349;
|
||||
constexpr auto kArrowPivotFar = 1. - kArrowPivotNear;
|
||||
|
||||
void ClipPainterForLock(QPainter &p, bool roundview, const QRect &r) {
|
||||
@@ -160,7 +160,8 @@ void TranscribeButton::paint(
|
||||
const auto t
|
||||
= _openedAnimation.value(_summaryShown ? 1. : 0.);
|
||||
|
||||
st::historySummaryStars.paintInCenter(p, r);
|
||||
const auto fg = context.st->msgServiceFg()->c;
|
||||
st::historySummaryStars.paintInCenter(p, r, fg);
|
||||
|
||||
const auto &arrow = st::historySummaryArrows;
|
||||
const auto sz = r.width();
|
||||
@@ -187,7 +188,7 @@ void TranscribeButton::paint(
|
||||
-sz * (1. - s) * 0.4,
|
||||
sz * (1. - s) * 0.4);
|
||||
}
|
||||
arrow.paintInCenter(p, QRectF(r));
|
||||
arrow.paintInCenter(p, QRectF(r), fg);
|
||||
p.restore();
|
||||
}
|
||||
|
||||
@@ -217,7 +218,7 @@ void TranscribeButton::paint(
|
||||
-sz * (1. - s) * 0.4,
|
||||
sz * (1. - s) * 0.4);
|
||||
}
|
||||
arrow.paintInCenter(p, QRectF(r));
|
||||
arrow.paintInCenter(p, QRectF(r), fg);
|
||||
p.restore();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user