Update more icons in the compose controls.
BIN
Telegram/Resources/icons/chat/input_edit.png
Normal file
After Width: | Height: | Size: 438 B |
BIN
Telegram/Resources/icons/chat/input_edit@2x.png
Normal file
After Width: | Height: | Size: 785 B |
BIN
Telegram/Resources/icons/chat/input_edit@3x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/chat/input_forward.png
Normal file
After Width: | Height: | Size: 402 B |
BIN
Telegram/Resources/icons/chat/input_forward@2x.png
Normal file
After Width: | Height: | Size: 858 B |
BIN
Telegram/Resources/icons/chat/input_forward@3x.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Telegram/Resources/icons/chat/input_record_filled.png
Normal file
After Width: | Height: | Size: 618 B |
BIN
Telegram/Resources/icons/chat/input_record_filled@2x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/chat/input_record_filled@3x.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
Telegram/Resources/icons/chat/input_reply.png
Normal file
After Width: | Height: | Size: 593 B |
BIN
Telegram/Resources/icons/chat/input_reply@2x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/chat/input_reply@3x.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
Telegram/Resources/icons/chat/input_save.png
Normal file
After Width: | Height: | Size: 597 B |
BIN
Telegram/Resources/icons/chat/input_save@2x.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Telegram/Resources/icons/chat/input_save@3x.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 743 B After Width: | Height: | Size: 743 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 598 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 787 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.5 KiB |
BIN
Telegram/Resources/icons/chat/input_smile_face.png
Normal file
After Width: | Height: | Size: 453 B |
BIN
Telegram/Resources/icons/chat/input_smile_face@2x.png
Normal file
After Width: | Height: | Size: 894 B |
BIN
Telegram/Resources/icons/chat/input_smile_face@3x.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 445 B |
Before Width: | Height: | Size: 1,011 B |
Before Width: | Height: | Size: 584 B |
Before Width: | Height: | Size: 311 B |
Before Width: | Height: | Size: 600 B |
Before Width: | Height: | Size: 504 B |
Before Width: | Height: | Size: 446 B |
Before Width: | Height: | Size: 864 B |
Before Width: | Height: | Size: 994 B |
Before Width: | Height: | Size: 251 B |
Before Width: | Height: | Size: 528 B |
Before Width: | Height: | Size: 722 B |
Before Width: | Height: | Size: 869 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 687 B |
Before Width: | Height: | Size: 933 B |
|
@ -74,7 +74,7 @@ stickersFeaturedUnreadBg: msgFileInBg;
|
|||
stickersFeaturedUnreadSize: 5px;
|
||||
stickersFeaturedUnreadSkip: 5px;
|
||||
stickersFeaturedUnreadTop: 7px;
|
||||
stickersFeaturedInstalled: icon {{ "send_control_save", lightButtonFg }};
|
||||
stickersFeaturedInstalled: icon {{ "chat/input_save", lightButtonFg }};
|
||||
|
||||
stickersMaxHeight: 320px;
|
||||
stickersPadding: margins(19px, 13px, 19px, 13px);
|
||||
|
|
|
@ -279,14 +279,14 @@ historyContactStatusBlock: FlatButton(historyContactStatusButton) {
|
|||
}
|
||||
historyContactStatusMinSkip: 16px;
|
||||
|
||||
historySendIcon: icon {{ "send_control_send", historySendIconFg }};
|
||||
historySendIconOver: icon {{ "send_control_send", historySendIconFgOver }};
|
||||
historySendIcon: icon {{ "chat/input_send", historySendIconFg }};
|
||||
historySendIconOver: icon {{ "chat/input_send", historySendIconFgOver }};
|
||||
historySendIconPosition: point(10px, 11px);
|
||||
historySendSize: size(44px, 46px);
|
||||
historyScheduleIcon: icon {{ "send_control_schedule", historyComposeAreaBg }};
|
||||
historyScheduleIcon: icon {{ "chat/input_schedule", historyComposeAreaBg }};
|
||||
historyScheduleIconPosition: point(7px, 8px);
|
||||
historyEditSaveIcon: icon {{ "send_control_save", historySendIconFg, point(2px, 7px) }};
|
||||
historyEditSaveIconOver: icon {{ "send_control_save", historySendIconFgOver, point(2px, 7px) }};
|
||||
historyEditSaveIcon: icon {{ "chat/input_save", historySendIconFg }};
|
||||
historyEditSaveIconOver: icon {{ "chat/input_save", historySendIconFgOver }};
|
||||
|
||||
historyAttach: IconButton(defaultIconButton) {
|
||||
width: 44px;
|
||||
|
@ -303,8 +303,8 @@ historyAttach: IconButton(defaultIconButton) {
|
|||
}
|
||||
|
||||
historyAttachEmoji: IconButton(historyAttach) {
|
||||
icon: icon {{ "send_control_emoji", historyComposeIconFg }};
|
||||
iconOver: icon {{ "send_control_emoji", historyComposeIconFgOver }};
|
||||
icon: icon {{ "chat/input_smile_face", historyComposeIconFg }};
|
||||
iconOver: icon {{ "chat/input_smile_face", historyComposeIconFgOver }};
|
||||
}
|
||||
historyMessagesTTL: IconButton(historyAttach) {
|
||||
icon: icon {{ "chat/input_autodelete_1d", historyComposeIconFg }};
|
||||
|
@ -313,7 +313,7 @@ historyMessagesTTL: IconButton(historyAttach) {
|
|||
historyMessagesTTL2Icon: icon {{ "chat/input_autodelete_7d", historyComposeIconFg }};
|
||||
historyMessagesTTL2IconOver: icon {{ "chat/input_autodelete_7d", historyComposeIconFgOver }};
|
||||
historyAttachEmojiFgActive: windowActiveTextFg;
|
||||
historyAttachEmojiActive: icon {{ "send_control_emoji", historyAttachEmojiFgActive }};
|
||||
historyAttachEmojiActive: icon {{ "chat/input_smile_face", historyAttachEmojiFgActive }};
|
||||
historyAttachEmojiTooltipDelta: 4px;
|
||||
historyEmojiCircle: size(20px, 20px);
|
||||
historyEmojiCirclePeriod: 1500;
|
||||
|
@ -355,7 +355,7 @@ historyRecordVoiceShowDuration: 120;
|
|||
historyRecordVoiceDuration: 120;
|
||||
historyRecordVoice: icon {{ "chat/input_record", historyRecordVoiceFg }};
|
||||
historyRecordVoiceOver: icon {{ "chat/input_record", historyRecordVoiceFgOver }};
|
||||
historyRecordVoiceActive: icon {{ "send_control_record_active", historyRecordVoiceFgActiveIcon }};
|
||||
historyRecordVoiceActive: icon {{ "chat/input_record_filled", historyRecordVoiceFgActiveIcon }};
|
||||
historyRecordSendIconPosition: point(2px, 0px);
|
||||
historyRecordVoiceRippleBgActive: lightButtonBgOver;
|
||||
historyRecordSignalRadius: 5px;
|
||||
|
@ -425,8 +425,8 @@ historySilentToggle: IconButton(historyBotKeyboardShow) {
|
|||
historySilentToggleCrossLine: CrossLineAnimation {
|
||||
fg: historyComposeIconFg;
|
||||
icon: icon {{ "chat/input_silent", historyComposeIconFg }};
|
||||
startPosition: point(5px, 3px);
|
||||
endPosition: point(21px, 18px);
|
||||
startPosition: point(13px, 11px);
|
||||
endPosition: point(29px, 26px);
|
||||
stroke: 2px;
|
||||
}
|
||||
|
||||
|
@ -435,10 +435,10 @@ historyReplyNameFg: windowActiveTextFg;
|
|||
historyReplyHeight: 49px;
|
||||
historyReplyTop: 8px;
|
||||
historyReplyBottom: 6px;
|
||||
historyReplyIconPosition: point(13px, 13px);
|
||||
historyReplyIcon: icon {{ "history_action_reply", historyReplyIconFg }};
|
||||
historyForwardIcon: icon {{ "history_action_forward", historyReplyIconFg }};
|
||||
historyEditIcon: icon {{ "history_action_edit", historyReplyIconFg }};
|
||||
historyReplyIconPosition: point(5px, 5px);
|
||||
historyReplyIcon: icon {{ "chat/input_reply", historyReplyIconFg }};
|
||||
historyForwardIcon: icon {{ "chat/input_forward", historyReplyIconFg }};
|
||||
historyEditIcon: icon {{ "chat/input_edit", historyReplyIconFg }};
|
||||
historyReplyCancel: IconButton {
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
|
|
|
@ -127,7 +127,7 @@ void SendButton::paintSave(Painter &p, bool over) {
|
|||
const auto &saveIcon = over
|
||||
? st::historyEditSaveIconOver
|
||||
: st::historyEditSaveIcon;
|
||||
saveIcon.paint(p, st::historySendIconPosition, width());
|
||||
saveIcon.paintInCenter(p, rect());
|
||||
}
|
||||
|
||||
void SendButton::paintCancel(Painter &p, bool over) {
|
||||
|
|