summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_events.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-10 13:21:25 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-10 13:21:25 +0000
commit75beae890b1f18d5753748f4935731ed93579ef8 (patch)
tree5cb0461034ec9b19db4b2d928caf79d6746b0974 /protocols/SkypeWeb/src/skype_events.cpp
parente0ec38eb49bfd8dcddd4e46cbbca4fed98028b01 (diff)
flags fix
cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@13506 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_events.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_events.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp
index 2392542bba..e848d2920d 100644
--- a/protocols/SkypeWeb/src/skype_events.cpp
+++ b/protocols/SkypeWeb/src/skype_events.cpp
@@ -24,7 +24,7 @@ INT_PTR CSkypeProto::GetCallEventText(WPARAM, LPARAM lParam)
INT_PTR nRetVal = 0;
char *pszText = Translate("Incoming call");
- if (pEvent->datatype == DBVT_TCHAR)
+ if (pEvent->datatype == DBVT_TCHAR)
{
TCHAR *pwszText = _A2T(pszText);
nRetVal = (INT_PTR)mir_tstrdup(pwszText);
@@ -40,27 +40,27 @@ INT_PTR CSkypeProto::EventGetIcon(WPARAM wParam, LPARAM lParam)
{
DBEVENTINFO* dbei = (DBEVENTINFO*)lParam;
HICON icon = NULL;
-
+
switch (dbei->eventType)
{
case SKYPE_DB_EVENT_TYPE_CALL_INFO:
case SKYPE_DB_EVENT_TYPE_INCOMING_CALL:
- {
- icon = Skin_GetIconByHandle(GetIconHandle("inc_call"));
- break;
- }
+ {
+ icon = Skin_GetIconByHandle(GetIconHandle("inc_call"));
+ break;
+ }
case SKYPE_DB_EVENT_TYPE_ACTION:
- {
- icon = Skin_GetIconByHandle(GetIconHandle("me_action"));
- break;
- }
+ {
+ icon = Skin_GetIconByHandle(GetIconHandle("me_action"));
+ break;
+ }
default:
- {
- icon = LoadSkinnedIcon(SKINICON_EVENT_MESSAGE);
- break;
- }
+ {
+ icon = LoadSkinnedIcon(SKINICON_EVENT_MESSAGE);
+ break;
}
-
+ }
+
return (INT_PTR)((wParam & LR_SHARED) ? icon : CopyIcon(icon));
}
@@ -99,8 +99,8 @@ void CSkypeProto::InitPopups()
ppc.ptszDescription = desc;
ppc.pszName = name;
ppc.hIcon = Skin_GetIconByHandle(GetIconHandle("inc_call"));
- ppc.colorBack = RGB(255, 255, 255);
- ppc.colorText = RGB(0, 0, 0);
+ ppc.colorBack = RGB(255, 255, 255);
+ ppc.colorText = RGB(0, 0, 0);
ppc.iSeconds = 30;
ppc.PluginWindowProc = PopupDlgProcCall;
m_hPopupClassCall = Popup_RegisterClass(&ppc);
@@ -110,8 +110,8 @@ void CSkypeProto::InitPopups()
ppc.ptszDescription = desc;
ppc.pszName = name;
ppc.hIcon = Skin_GetIconByHandle(GetIconHandle("notify"));
- ppc.colorBack = RGB(255, 255, 255);
- ppc.colorText = RGB(0, 0, 0);
+ ppc.colorBack = RGB(255, 255, 255);
+ ppc.colorText = RGB(0, 0, 0);
ppc.iSeconds = 5;
m_hPopupClassNotify = Popup_RegisterClass(&ppc);
@@ -120,8 +120,8 @@ void CSkypeProto::InitPopups()
ppc.ptszDescription = desc;
ppc.pszName = name;
ppc.hIcon = Skin_GetIconByHandle(GetIconHandle("error"));
- ppc.colorBack = RGB(255, 255, 255);
- ppc.colorText = RGB(0, 0, 0);
+ ppc.colorBack = RGB(255, 255, 255);
+ ppc.colorText = RGB(0, 0, 0);
ppc.iSeconds = -1;
m_hPopupClassNotify = Popup_RegisterClass(&ppc);
}