From 3f9882178018afbe9aaaba1f4461f3fc75493260 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 15 Jun 2015 14:23:02 +0000 Subject: MS_SKIN_LOADICON & MS_SKIN_LOADPROTOICON replaced with direct function calls git-svn-id: http://svn.miranda-ng.org/main/trunk@14176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NotifyAnything/src/main.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'plugins/NotifyAnything') diff --git a/plugins/NotifyAnything/src/main.cpp b/plugins/NotifyAnything/src/main.cpp index 07354e9c59..c82c54019f 100644 --- a/plugins/NotifyAnything/src/main.cpp +++ b/plugins/NotifyAnything/src/main.cpp @@ -169,20 +169,20 @@ HICON getIcon(const std::tstring &name) icons[_T("winlogo")] = LoadIcon(NULL, IDI_WINLOGO); // miranda icons - icons[_T("online")] = LoadSkinnedIcon(SKINICON_STATUS_ONLINE); - icons[_T("offline")] = LoadSkinnedIcon(SKINICON_STATUS_OFFLINE); - icons[_T("away")] = LoadSkinnedIcon(SKINICON_STATUS_AWAY); - icons[_T("na")] = LoadSkinnedIcon(SKINICON_STATUS_NA); - icons[_T("occupied")] = LoadSkinnedIcon(SKINICON_STATUS_OCCUPIED); - icons[_T("dnd")] = LoadSkinnedIcon(SKINICON_STATUS_DND); - icons[_T("free4chat")] = LoadSkinnedIcon(SKINICON_STATUS_FREE4CHAT); - icons[_T("invisible")] = LoadSkinnedIcon(SKINICON_STATUS_INVISIBLE); - icons[_T("onthephone")] = LoadSkinnedIcon(SKINICON_STATUS_ONTHEPHONE); - icons[_T("outtolunch")] = LoadSkinnedIcon(SKINICON_STATUS_OUTTOLUNCH); - - icons[_T("message")] = LoadSkinnedIcon(SKINICON_EVENT_MESSAGE); - icons[_T("url")] = LoadSkinnedIcon(SKINICON_EVENT_URL); - icons[_T("file")] = LoadSkinnedIcon(SKINICON_EVENT_FILE); + icons[_T("online")] = Skin_LoadIcon(SKINICON_STATUS_ONLINE); + icons[_T("offline")] = Skin_LoadIcon(SKINICON_STATUS_OFFLINE); + icons[_T("away")] = Skin_LoadIcon(SKINICON_STATUS_AWAY); + icons[_T("na")] = Skin_LoadIcon(SKINICON_STATUS_NA); + icons[_T("occupied")] = Skin_LoadIcon(SKINICON_STATUS_OCCUPIED); + icons[_T("dnd")] = Skin_LoadIcon(SKINICON_STATUS_DND); + icons[_T("free4chat")] = Skin_LoadIcon(SKINICON_STATUS_FREE4CHAT); + icons[_T("invisible")] = Skin_LoadIcon(SKINICON_STATUS_INVISIBLE); + icons[_T("onthephone")] = Skin_LoadIcon(SKINICON_STATUS_ONTHEPHONE); + icons[_T("outtolunch")] = Skin_LoadIcon(SKINICON_STATUS_OUTTOLUNCH); + + icons[_T("message")] = Skin_LoadIcon(SKINICON_EVENT_MESSAGE); + icons[_T("url")] = Skin_LoadIcon(SKINICON_EVENT_URL); + icons[_T("file")] = Skin_LoadIcon(SKINICON_EVENT_FILE); } std::map::iterator i = icons.find(name); -- cgit v1.2.3