2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Removing almost all animated over states in IconButton.

This commit is contained in:
John Preston
2016-11-01 15:46:34 +03:00
parent e08f5437a6
commit c932f3d9df
44 changed files with 435 additions and 307 deletions

View File

@@ -25,7 +25,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
namespace Ui {
class PeerAvatarButton;
class RoundButton;
class IconButton;
class MaskButton;
} // namespace Ui
namespace Window {
@@ -87,7 +87,7 @@ private:
ChildWidget<Ui::PeerAvatarButton> _info;
ChildWidget<Ui::RoundButton> _mediaType;
ChildWidget<Ui::IconButton> _search;
ChildWidget<Ui::MaskButton> _search;
ChildWidget<TWidget> _membersShowArea = { nullptr };
};

View File

@@ -36,13 +36,15 @@ notifyPhotoSize: 62px;
notifyMacPhotoSize: 64px;
notifyPhotoPos: point(9px, 9px);
notifyClosePos: point(1px, 2px);
notifyClose: IconButton(defaultIconButton) {
notifyClose: IconButton {
width: 30px;
height: 30px;
icon: simpleCloseIcon;
iconOver: simpleCloseIconOver;
iconPosition: point(10px, 10px);
downIconPosition: point(10px, 11px);
iconPositionDown: point(10px, 11px);
}
notifyItemTop: 12px;
notifyTextLeft: 12px;
@@ -68,11 +70,11 @@ notifyReplyArea: InputArea(defaultInputArea) {
borderActive: 0px;
borderError: 0px;
}
notifySendReply: IconButton(defaultIconButton) {
notifySendReply: IconButton {
width: 36px;
height: 36px;
icon: icon {{ "notification_send", windowActiveFill, point(3px, 9px) }};
iconPosition: point(0px, 0px);
downIconPosition: point(0px, 1px);
iconPositionDown: point(0px, 1px);
}