From 56bdae442699a6defb1b783ed4d8e81824acf8de Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 29 May 2019 14:12:44 +0300 Subject: all icons with keys replaced with skin password icon SKINICON_OTHER_KEYS --- src/mir_app/res/icon_password.ico | Bin 0 -> 1150 bytes src/mir_app/res/resource.rc | 1 + src/mir_app/src/resource.h | 1 + src/mir_app/src/skinicons.cpp | 2 +- 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/mir_app/res/icon_password.ico (limited to 'src/mir_app') diff --git a/src/mir_app/res/icon_password.ico b/src/mir_app/res/icon_password.ico new file mode 100644 index 0000000000..c19e671abe Binary files /dev/null and b/src/mir_app/res/icon_password.ico differ diff --git a/src/mir_app/res/resource.rc b/src/mir_app/res/resource.rc index a6931e5905..3483969f3e 100644 --- a/src/mir_app/res/resource.rc +++ b/src/mir_app/res/resource.rc @@ -1178,6 +1178,7 @@ IDI_MCSETDEFAULT ICON "meta_set_as_default.ico" IDI_ADDGROUP ICON "addgroup.ico" IDI_POPUP ICON "icon_popup.ico" IDI_NOPOPUP ICON "icon_popup_no.ico" +IDI_PASSWORD ICON "icon_password.ico" ///////////////////////////////////////////////////////////////////////////// // diff --git a/src/mir_app/src/resource.h b/src/mir_app/src/resource.h index 98cd007f9e..38b3ed8ebe 100644 --- a/src/mir_app/src/resource.h +++ b/src/mir_app/src/resource.h @@ -18,6 +18,7 @@ #define IDD_OPT_PROTOCOLORDER 109 #define IDD_OPT_ICOLIB 110 #define IDD_ICOLIB_IMPORT 111 +#define IDI_PASSWORD 112 #define IDI_LOADED_GRAY 113 #define IDI_NOTLOADED_GRAY 114 #define IDD_ADDED 115 diff --git a/src/mir_app/src/skinicons.cpp b/src/mir_app/src/skinicons.cpp index ce1d786010..f583de9562 100644 --- a/src/mir_app/src/skinicons.cpp +++ b/src/mir_app/src/skinicons.cpp @@ -82,7 +82,7 @@ static struct StandardIconDescription mainIcons[] = { SKINICON_OTHER_GROUP, LPGEN("Move to group"), -IDI_MOVETOGROUP, 0, nullptr }, // 41 { SKINICON_OTHER_ON, LPGEN("On"), -IDI_ON, 0, nullptr }, // 42 { SKINICON_OTHER_OFF, LPGEN("Off"), -IDI_OFF, 0, nullptr }, // 43 - { -1, LPGEN("Unused"), 0, 0, nullptr }, // 44 + { SKINICON_OTHER_KEYS, LPGEN("Password"), -IDI_PASSWORD, 0, nullptr }, // 44 { -1, LPGEN("Unused"), 0, 0, nullptr }, // 45 { SKINICON_OTHER_FRAME, LPGEN("Frames"), -IDI_FRAME, 0, nullptr }, // 46 { SKINICON_OTHER_GROUPADD, LPGEN("Add group"), -IDI_ADDGROUP, 0, nullptr }, // 47 -- cgit v1.2.3