Update more icons in the compose controls.

This commit is contained in:
John Preston 2021-02-12 16:40:36 +04:00
parent 73ae29ae25
commit 6511d0dfcf
48 changed files with 17 additions and 17 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 858 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

Before

Width:  |  Height:  |  Size: 743 B

After

Width:  |  Height:  |  Size: 743 B

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

Before

Width:  |  Height:  |  Size: 598 B

After

Width:  |  Height:  |  Size: 598 B

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 787 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,011 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 584 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 994 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 528 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 722 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 869 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 933 B

View file

@ -74,7 +74,7 @@ stickersFeaturedUnreadBg: msgFileInBg;
stickersFeaturedUnreadSize: 5px; stickersFeaturedUnreadSize: 5px;
stickersFeaturedUnreadSkip: 5px; stickersFeaturedUnreadSkip: 5px;
stickersFeaturedUnreadTop: 7px; stickersFeaturedUnreadTop: 7px;
stickersFeaturedInstalled: icon {{ "send_control_save", lightButtonFg }}; stickersFeaturedInstalled: icon {{ "chat/input_save", lightButtonFg }};
stickersMaxHeight: 320px; stickersMaxHeight: 320px;
stickersPadding: margins(19px, 13px, 19px, 13px); stickersPadding: margins(19px, 13px, 19px, 13px);

View file

@ -279,14 +279,14 @@ historyContactStatusBlock: FlatButton(historyContactStatusButton) {
} }
historyContactStatusMinSkip: 16px; historyContactStatusMinSkip: 16px;
historySendIcon: icon {{ "send_control_send", historySendIconFg }}; historySendIcon: icon {{ "chat/input_send", historySendIconFg }};
historySendIconOver: icon {{ "send_control_send", historySendIconFgOver }}; historySendIconOver: icon {{ "chat/input_send", historySendIconFgOver }};
historySendIconPosition: point(10px, 11px); historySendIconPosition: point(10px, 11px);
historySendSize: size(44px, 46px); historySendSize: size(44px, 46px);
historyScheduleIcon: icon {{ "send_control_schedule", historyComposeAreaBg }}; historyScheduleIcon: icon {{ "chat/input_schedule", historyComposeAreaBg }};
historyScheduleIconPosition: point(7px, 8px); historyScheduleIconPosition: point(7px, 8px);
historyEditSaveIcon: icon {{ "send_control_save", historySendIconFg, point(2px, 7px) }}; historyEditSaveIcon: icon {{ "chat/input_save", historySendIconFg }};
historyEditSaveIconOver: icon {{ "send_control_save", historySendIconFgOver, point(2px, 7px) }}; historyEditSaveIconOver: icon {{ "chat/input_save", historySendIconFgOver }};
historyAttach: IconButton(defaultIconButton) { historyAttach: IconButton(defaultIconButton) {
width: 44px; width: 44px;
@ -303,8 +303,8 @@ historyAttach: IconButton(defaultIconButton) {
} }
historyAttachEmoji: IconButton(historyAttach) { historyAttachEmoji: IconButton(historyAttach) {
icon: icon {{ "send_control_emoji", historyComposeIconFg }}; icon: icon {{ "chat/input_smile_face", historyComposeIconFg }};
iconOver: icon {{ "send_control_emoji", historyComposeIconFgOver }}; iconOver: icon {{ "chat/input_smile_face", historyComposeIconFgOver }};
} }
historyMessagesTTL: IconButton(historyAttach) { historyMessagesTTL: IconButton(historyAttach) {
icon: icon {{ "chat/input_autodelete_1d", historyComposeIconFg }}; icon: icon {{ "chat/input_autodelete_1d", historyComposeIconFg }};
@ -313,7 +313,7 @@ historyMessagesTTL: IconButton(historyAttach) {
historyMessagesTTL2Icon: icon {{ "chat/input_autodelete_7d", historyComposeIconFg }}; historyMessagesTTL2Icon: icon {{ "chat/input_autodelete_7d", historyComposeIconFg }};
historyMessagesTTL2IconOver: icon {{ "chat/input_autodelete_7d", historyComposeIconFgOver }}; historyMessagesTTL2IconOver: icon {{ "chat/input_autodelete_7d", historyComposeIconFgOver }};
historyAttachEmojiFgActive: windowActiveTextFg; historyAttachEmojiFgActive: windowActiveTextFg;
historyAttachEmojiActive: icon {{ "send_control_emoji", historyAttachEmojiFgActive }}; historyAttachEmojiActive: icon {{ "chat/input_smile_face", historyAttachEmojiFgActive }};
historyAttachEmojiTooltipDelta: 4px; historyAttachEmojiTooltipDelta: 4px;
historyEmojiCircle: size(20px, 20px); historyEmojiCircle: size(20px, 20px);
historyEmojiCirclePeriod: 1500; historyEmojiCirclePeriod: 1500;
@ -355,7 +355,7 @@ historyRecordVoiceShowDuration: 120;
historyRecordVoiceDuration: 120; historyRecordVoiceDuration: 120;
historyRecordVoice: icon {{ "chat/input_record", historyRecordVoiceFg }}; historyRecordVoice: icon {{ "chat/input_record", historyRecordVoiceFg }};
historyRecordVoiceOver: icon {{ "chat/input_record", historyRecordVoiceFgOver }}; historyRecordVoiceOver: icon {{ "chat/input_record", historyRecordVoiceFgOver }};
historyRecordVoiceActive: icon {{ "send_control_record_active", historyRecordVoiceFgActiveIcon }}; historyRecordVoiceActive: icon {{ "chat/input_record_filled", historyRecordVoiceFgActiveIcon }};
historyRecordSendIconPosition: point(2px, 0px); historyRecordSendIconPosition: point(2px, 0px);
historyRecordVoiceRippleBgActive: lightButtonBgOver; historyRecordVoiceRippleBgActive: lightButtonBgOver;
historyRecordSignalRadius: 5px; historyRecordSignalRadius: 5px;
@ -425,8 +425,8 @@ historySilentToggle: IconButton(historyBotKeyboardShow) {
historySilentToggleCrossLine: CrossLineAnimation { historySilentToggleCrossLine: CrossLineAnimation {
fg: historyComposeIconFg; fg: historyComposeIconFg;
icon: icon {{ "chat/input_silent", historyComposeIconFg }}; icon: icon {{ "chat/input_silent", historyComposeIconFg }};
startPosition: point(5px, 3px); startPosition: point(13px, 11px);
endPosition: point(21px, 18px); endPosition: point(29px, 26px);
stroke: 2px; stroke: 2px;
} }
@ -435,10 +435,10 @@ historyReplyNameFg: windowActiveTextFg;
historyReplyHeight: 49px; historyReplyHeight: 49px;
historyReplyTop: 8px; historyReplyTop: 8px;
historyReplyBottom: 6px; historyReplyBottom: 6px;
historyReplyIconPosition: point(13px, 13px); historyReplyIconPosition: point(5px, 5px);
historyReplyIcon: icon {{ "history_action_reply", historyReplyIconFg }}; historyReplyIcon: icon {{ "chat/input_reply", historyReplyIconFg }};
historyForwardIcon: icon {{ "history_action_forward", historyReplyIconFg }}; historyForwardIcon: icon {{ "chat/input_forward", historyReplyIconFg }};
historyEditIcon: icon {{ "history_action_edit", historyReplyIconFg }}; historyEditIcon: icon {{ "chat/input_edit", historyReplyIconFg }};
historyReplyCancel: IconButton { historyReplyCancel: IconButton {
width: 49px; width: 49px;
height: 49px; height: 49px;

View file

@ -127,7 +127,7 @@ void SendButton::paintSave(Painter &p, bool over) {
const auto &saveIcon = over const auto &saveIcon = over
? st::historyEditSaveIconOver ? st::historyEditSaveIconOver
: st::historyEditSaveIcon; : st::historyEditSaveIcon;
saveIcon.paint(p, st::historySendIconPosition, width()); saveIcon.paintInCenter(p, rect());
} }
void SendButton::paintCancel(Painter &p, bool over) { void SendButton::paintCancel(Painter &p, bool over) {