diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-15 14:23:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-15 14:23:02 +0000 |
commit | 3f9882178018afbe9aaaba1f4461f3fc75493260 (patch) | |
tree | 50554bd4a21472624c94a859bfdc5e8758becd45 /plugins/NotifyAnything/src | |
parent | 547ec570deb26f93fa4ab974a76c0e964a635586 (diff) |
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
Diffstat (limited to 'plugins/NotifyAnything/src')
-rw-r--r-- | plugins/NotifyAnything/src/main.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
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<std::tstring, HICON>::iterator i = icons.find(name);
|