From 0eebc9b8a6eef4094adfa844b312083135c2971c Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Mon, 4 May 2015 17:32:09 +0000 Subject: SkypeWeb: Notification icon (thx dracosha). git-svn-id: http://svn.miranda-ng.org/main/trunk@13430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/res/Icons/notify.ico | Bin 0 -> 5430 bytes protocols/SkypeWeb/res/resource.rc | 1 + protocols/SkypeWeb/src/resource.h | 3 ++- protocols/SkypeWeb/src/skype_icons.cpp | 3 ++- protocols/SkypeWeb/src/skype_proto.cpp | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 protocols/SkypeWeb/res/Icons/notify.ico (limited to 'protocols/SkypeWeb') diff --git a/protocols/SkypeWeb/res/Icons/notify.ico b/protocols/SkypeWeb/res/Icons/notify.ico new file mode 100644 index 0000000000..06795690ed Binary files /dev/null and b/protocols/SkypeWeb/res/Icons/notify.ico differ diff --git a/protocols/SkypeWeb/res/resource.rc b/protocols/SkypeWeb/res/resource.rc index 46dcf9caef..d5e8e40afd 100644 --- a/protocols/SkypeWeb/res/resource.rc +++ b/protocols/SkypeWeb/res/resource.rc @@ -32,6 +32,7 @@ IDI_SYNCHISTORY ICON "Icons\\sync_history.ico" IDI_BLOCKUSER ICON "Icons\\user_block.ico" IDI_UNBLOCKUSER ICON "Icons\\user_unblock.ico" IDI_CALL ICON "Icons\\call.ico" +IDI_NOTIFY ICON "Icons\\notify.ico" #endif // Нейтральный (по умолчанию) resources ///////////////////////////////////////////////////////////////////////////// diff --git a/protocols/SkypeWeb/src/resource.h b/protocols/SkypeWeb/src/resource.h index 58149ea76f..d997ad392a 100644 --- a/protocols/SkypeWeb/src/resource.h +++ b/protocols/SkypeWeb/src/resource.h @@ -17,6 +17,7 @@ #define IDI_BLOCKUSER 118 #define IDI_UNBLOCKUSER 119 #define IDI_CALL 120 +#define IDI_NOTIFY 121 #define IDC_AUTOSYNC 1028 #define IDC_LOCALTIME 1029 #define IDC_RADIO1 1030 @@ -33,7 +34,7 @@ // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 121 +#define _APS_NEXT_RESOURCE_VALUE 122 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1042 #define _APS_NEXT_SYMED_VALUE 101 diff --git a/protocols/SkypeWeb/src/skype_icons.cpp b/protocols/SkypeWeb/src/skype_icons.cpp index 0a01349389..7733f454bb 100644 --- a/protocols/SkypeWeb/src/skype_icons.cpp +++ b/protocols/SkypeWeb/src/skype_icons.cpp @@ -24,7 +24,8 @@ IconInfo CSkypeProto::Icons[] = { LPGENT("Sync history icon"), "synchistory", IDI_SYNCHISTORY }, { LPGENT("Block user icon"), "user_block", IDI_BLOCKUSER }, { LPGENT("Unblock user icon"), "user_unblock", IDI_UNBLOCKUSER }, - { LPGENT("Incoming call icon"), "inc_call", IDI_CALL } + { LPGENT("Incoming call icon"), "inc_call", IDI_CALL }, + { LPGENT("Notification icon"), "notify", IDI_NOTIFY } }; void CSkypeProto::InitIcons() { diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index f21e2e9e3e..ffda491a32 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -326,7 +326,7 @@ void CSkypeProto::InitPopups() mir_snprintf(name, SIZEOF(name), "%s_%s", m_szModuleName, "Notification"); ppc.ptszDescription = desc; ppc.pszName = name; - ppc.hIcon = Skin_GetIconByHandle(GetIconHandle("main")); + ppc.hIcon = Skin_GetIconByHandle(GetIconHandle("notify")); ppc.colorBack = RGB(255, 255, 255); ppc.colorText = RGB(0, 0, 0); ppc.iSeconds = 5; -- cgit v1.2.3