2021-12-09 17:56:24 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
|
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
*/
|
|
|
|
using "ui/colors.palette";
|
|
|
|
using "ui/widgets/widgets.style";
|
|
|
|
|
|
|
|
menuWithIcons: Menu(defaultMenu) {
|
2021-12-10 12:10:14 +00:00
|
|
|
itemIconPosition: point(15px, 5px);
|
2021-12-21 14:32:33 +00:00
|
|
|
itemPadding: margins(54px, 8px, 17px, 8px);
|
2021-12-09 17:56:24 +00:00
|
|
|
}
|
|
|
|
popupMenuWithIcons: PopupMenu(defaultPopupMenu) {
|
|
|
|
scrollPadding: margins(0px, 5px, 0px, 5px);
|
|
|
|
menu: menuWithIcons;
|
|
|
|
}
|
|
|
|
dropdownMenuWithIcons: DropdownMenu(defaultDropdownMenu) {
|
|
|
|
wrap: InnerDropdown(defaultInnerDropdown) {
|
|
|
|
scrollPadding: margins(0px, 5px, 0px, 5px);
|
|
|
|
}
|
|
|
|
menu: menuWithIcons;
|
|
|
|
}
|
|
|
|
|
2022-02-22 13:17:06 +00:00
|
|
|
menuIconColor: windowBoldFg;
|
2022-03-30 16:52:33 +00:00
|
|
|
menuIconAttentionColor: attentionButtonFg;
|
|
|
|
|
2022-02-22 13:17:06 +00:00
|
|
|
menuIconReactions: icon {{ "menu/read_reactions", menuIconColor }};
|
|
|
|
menuIconReply: icon {{ "menu/reply", menuIconColor }};
|
|
|
|
menuIconViewReplies: icon {{ "menu/view_replies", menuIconColor }};
|
|
|
|
menuIconEdit: icon {{ "menu/edit", menuIconColor }};
|
|
|
|
menuIconPin: icon {{ "menu/pin", menuIconColor }};
|
|
|
|
menuIconUnpin: icon {{ "menu/unpin", menuIconColor }};
|
|
|
|
menuIconCopy: icon {{ "menu/copy", menuIconColor }};
|
|
|
|
menuIconForward: icon {{ "menu/forward", menuIconColor }};
|
|
|
|
menuIconDelete: icon {{ "menu/delete", menuIconColor }};
|
|
|
|
menuIconSelect: icon {{ "menu/select", menuIconColor }};
|
|
|
|
menuIconSaveImage: icon {{ "menu/save_image", menuIconColor }};
|
|
|
|
menuIconStickers: icon {{ "menu/stickers", menuIconColor }};
|
|
|
|
menuIconCancel: icon {{ "menu/cancel", menuIconColor }};
|
|
|
|
menuIconShowInChat: icon {{ "menu/show_in_chat", menuIconColor }};
|
|
|
|
menuIconGif: icon {{ "menu/gif", menuIconColor }};
|
|
|
|
menuIconShowInFolder: icon {{ "menu/show_in_folder", menuIconColor }};
|
|
|
|
menuIconDownload: icon {{ "menu/download", menuIconColor }};
|
|
|
|
menuIconLink: icon {{ "menu/link", menuIconColor }};
|
|
|
|
menuIconBlock: icon {{ "menu/block", menuIconColor }};
|
|
|
|
menuIconUnblock: icon {{ "menu/unblock", menuIconColor }};
|
|
|
|
menuIconRestartBot: icon {{ "menu/restart_bot", menuIconColor }};
|
|
|
|
menuIconReport: icon {{ "menu/report", menuIconColor }};
|
|
|
|
menuIconFave: icon {{ "menu/favorite", menuIconColor }};
|
|
|
|
menuIconUnfave: icon {{ "menu/unfavorite", menuIconColor }};
|
|
|
|
menuIconProfile: icon {{ "menu/profile", menuIconColor }};
|
|
|
|
menuIconInfo: icon {{ "menu/info", menuIconColor }};
|
|
|
|
menuIconInvite: icon {{ "menu/invite", menuIconColor }};
|
|
|
|
menuIconPromote: icon {{ "menu/admin_promote", menuIconColor }};
|
|
|
|
menuIconAdmin: icon {{ "menu/admin", menuIconColor }};
|
|
|
|
menuIconRemove: icon {{ "menu/stop_poll", menuIconColor }};
|
|
|
|
menuIconStopPoll: icon {{ "menu/stop_poll", menuIconColor }};
|
|
|
|
menuIconRetractVote: icon {{ "menu/retract_vote", menuIconColor }};
|
|
|
|
menuIconRestrict: icon {{ "menu/permissions", menuIconColor }};
|
|
|
|
menuIconShare: icon {{ "menu/share", menuIconColor }};
|
|
|
|
menuIconArchive: icon {{ "menu/archive", menuIconColor }};
|
|
|
|
menuIconUnarchive: icon {{ "menu/unarchive", menuIconColor }};
|
|
|
|
menuIconMarkRead: icon {{ "menu/read", menuIconColor }};
|
|
|
|
menuIconMarkUnread: icon {{ "menu/unread", menuIconColor }};
|
|
|
|
menuIconChangeColors: icon {{ "menu/colors", menuIconColor }};
|
|
|
|
menuIconExport: icon {{ "menu/export", menuIconColor }};
|
|
|
|
menuIconClear: icon {{ "menu/clear", menuIconColor }};
|
|
|
|
menuIconManage: icon {{ "menu/manage", menuIconColor }};
|
|
|
|
menuIconDiscussion: icon {{ "menu/discussion", menuIconColor }};
|
|
|
|
menuIconCreatePoll: icon {{ "menu/create_poll", menuIconColor }};
|
|
|
|
menuIconQrCode: icon {{ "menu/qr_code", menuIconColor }};
|
|
|
|
menuIconExpand: icon {{ "menu/expand", menuIconColor }};
|
|
|
|
menuIconCollapse: icon {{ "menu/collapse", menuIconColor }};
|
|
|
|
menuIconToMainMenu: icon {{ "menu/move_to_menu", menuIconColor }};
|
|
|
|
menuIconFromMainMenu: icon {{ "menu/move_from_menu", menuIconColor }};
|
|
|
|
menuIconAddAccount: icon {{ "menu/add_account", menuIconColor }};
|
|
|
|
menuIconMute: icon {{ "menu/mute", menuIconColor }};
|
|
|
|
menuIconUnmute: icon {{ "menu/unmute", menuIconColor }};
|
|
|
|
menuIconSchedule: icon {{ "menu/calendar", menuIconColor }};
|
|
|
|
menuIconReschedule: icon {{ "menu/reschedule", menuIconColor }};
|
|
|
|
menuIconSend: icon {{ "menu/send", menuIconColor }};
|
|
|
|
menuIconFlip: icon {{ "menu/flip", menuIconColor }};
|
|
|
|
menuIconWhenOnline: icon {{ "menu/send_when_online", menuIconColor }};
|
|
|
|
menuIconPalette: icon {{ "menu/palette", menuIconColor }};
|
|
|
|
menuIconImportTheme: icon {{ "menu/import_theme", menuIconColor }};
|
|
|
|
menuIconExportTheme: icon {{ "menu/export_theme", menuIconColor }};
|
|
|
|
menuIconRestore: icon {{ "menu/restore", menuIconColor }};
|
|
|
|
menuIconSettings: icon {{ "menu/settings", menuIconColor }};
|
2022-03-22 05:18:17 +00:00
|
|
|
menuIconCopyright: icon {{ "menu/copyright", menuIconColor }};
|
|
|
|
menuIconDrugs: icon {{ "menu/drugs", menuIconColor }};
|
|
|
|
menuIconFake: icon {{ "menu/fake", menuIconColor }};
|
|
|
|
menuIconPersonal: icon {{ "menu/personal", menuIconColor }};
|
|
|
|
menuIconPorn: icon {{ "menu/porn", menuIconColor }};
|
|
|
|
menuIconViolence: icon {{ "menu/violence", menuIconColor }};
|
2022-03-28 11:22:11 +00:00
|
|
|
menuIconMuteFor: icon {{ "menu/mute_for", menuIconColor }};
|
2022-03-27 10:08:47 +00:00
|
|
|
menuIconSilent: icon {{ "menu/silent", menuIconColor }};
|
2021-12-10 12:10:14 +00:00
|
|
|
|
|
|
|
mediaMenuIconStickers: icon {{ "menu/stickers", mediaviewMenuFg }};
|
|
|
|
mediaMenuIconCancel: icon {{ "menu/cancel", mediaviewMenuFg }};
|
|
|
|
mediaMenuIconShowInChat: icon {{ "menu/show_in_chat", mediaviewMenuFg }};
|
|
|
|
mediaMenuIconShowInFolder: icon {{ "menu/show_in_folder", mediaviewMenuFg }};
|
|
|
|
mediaMenuIconDownload: icon {{ "menu/download", mediaviewMenuFg }};
|
|
|
|
mediaMenuIconCopy: icon {{ "menu/copy", mediaviewMenuFg }};
|
|
|
|
mediaMenuIconForward: icon {{ "menu/forward", mediaviewMenuFg }};
|
|
|
|
mediaMenuIconDelete: icon {{ "menu/delete", mediaviewMenuFg }};
|
|
|
|
mediaMenuIconShowAll: icon {{ "menu/all_media", mediaviewMenuFg }};
|
2022-02-26 05:08:40 +00:00
|
|
|
|
|
|
|
menuIconStartStream: icon {{ "menu/start_stream", menuIconColor }};
|
|
|
|
menuIconStartStreamWith: icon {{ "menu/start_stream_with", menuIconColor }};
|
2022-03-30 16:52:33 +00:00
|
|
|
|
|
|
|
menuIconDeleteAttention: icon {{ "menu/delete", menuIconAttentionColor }};
|
|
|
|
menuIconLeaveAttention: icon {{ "menu/leave", menuIconAttentionColor }};
|