diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-04 17:32:09 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-04 17:32:09 +0000 |
commit | 0eebc9b8a6eef4094adfa844b312083135c2971c (patch) | |
tree | f460968a8de6fff8f8f2e03edac86dd79730a457 /protocols | |
parent | c50f6ac60044734c71b6056379fce0c4cbdd52a8 (diff) |
SkypeWeb: Notification icon (thx dracosha).
git-svn-id: http://svn.miranda-ng.org/main/trunk@13430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/SkypeWeb/res/Icons/notify.ico | bin | 0 -> 5430 bytes | |||
-rw-r--r-- | protocols/SkypeWeb/res/resource.rc | 1 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/resource.h | 3 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_icons.cpp | 3 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 2 |
5 files changed, 6 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/res/Icons/notify.ico b/protocols/SkypeWeb/res/Icons/notify.ico Binary files differnew file mode 100644 index 0000000000..06795690ed --- /dev/null +++ b/protocols/SkypeWeb/res/Icons/notify.ico 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;
|