summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-30 09:09:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-30 09:09:46 +0000
commit5871d7988221ba4335469d4961c6507bd8e52983 (patch)
tree2593756d974cd672b9930a316f891ade11a1a956 /plugins/TabSRMM/src/msgs.cpp
parent3c1054c6e0b2b8b505cb13d720256bc8b0386721 (diff)
- custom avatar processing removed completely, now avatar control takes charge for everything;
- avatar switching fixed in the info panel; - unneeded AvatarChanged handler removed; - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@9989 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgs.cpp')
-rw-r--r--plugins/TabSRMM/src/msgs.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index de04c3fe6f..9225b1d489 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -380,40 +380,6 @@ int MyAvatarChanged(WPARAM wParam, LPARAM lParam)
return 0;
}
-int AvatarChanged(WPARAM wParam, LPARAM lParam)
-{
- avatarCacheEntry *ace = (avatarCacheEntry *)lParam;
- HWND hwnd = M.FindWindow(wParam);
-
- if (wParam == 0) { // protocol picture has changed...
- M.BroadcastMessage(DM_PROTOAVATARCHANGED, wParam, lParam);
- return 0;
- }
- if (hwnd) {
- TWindowData *dat = (TWindowData*)GetWindowLongPtr(hwnd, GWLP_USERDATA);
- if (dat) {
- dat->ace = ace;
- if (dat->hTaskbarIcon)
- DestroyIcon(dat->hTaskbarIcon);
- dat->hTaskbarIcon = 0;
- DM_RecalcPictureSize(dat);
- if (!dat->bShowAvatar || !dat->bShowInfoAvatar)
- GetAvatarVisibility(hwnd, dat);
- if (dat->hwndPanelPic) {
- dat->panelWidth = -1; // force new size calculations (not for flash avatars)
- SendMessage(dat->hwnd, WM_SIZE, 0, 1);
- }
- dat->panelWidth = -1; // force new size calculations (not for flash avatars)
- RedrawWindow(dat->hwnd, NULL, NULL, RDW_INVALIDATE | RDW_UPDATENOW | RDW_ALLCHILDREN);
- SendMessage(dat->hwnd, WM_SIZE, 0, 1);
- ShowPicture(dat, TRUE);
- dat->dwFlagsEx |= MWF_EX_AVATARCHANGED;
- dat->pContainer->SideBar->updateSession(dat);
- }
- }
- return 0;
-}
-
int IcoLibIconsChanged(WPARAM wParam, LPARAM lParam)
{
LoadFromIconLib();