summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-14 13:17:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-14 13:17:26 +0000
commit02ed4455c23e3562d71bfc80a0e2c4fede8708f1 (patch)
tree115a3d24e4a3877cd28bd4ff2d9d4011b790cc5f /plugins/Clist_modern/src/modern_clc.cpp
parentc72584d6b934b37dbd18d5f15ffb24a140e1e3f2 (diff)
- all icolib services removed;
- IcoLib_* functions are bound directly to the code git-svn-id: http://svn.miranda-ng.org/main/trunk@14161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clc.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clc.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp
index 2f3a6d4313..d5e740ecac 100644
--- a/plugins/Clist_modern/src/modern_clc.cpp
+++ b/plugins/Clist_modern/src/modern_clc.cpp
@@ -93,16 +93,16 @@ static int clcHookIconsChanged(WPARAM, LPARAM)
hAvatarOverlays = ImageList_Create(16, 16, ILC_MASK | ILC_COLOR32, SIZEOF(g_pAvatarOverlayIcons) * 2, 1);
for (i = 0; i < SIZEOF(g_pAvatarOverlayIcons); i++) {
- HICON hIcon = Skin_GetIcon(g_pAvatarOverlayIcons[i].name);
+ HICON hIcon = IcoLib_GetIcon(g_pAvatarOverlayIcons[i].name);
g_pAvatarOverlayIcons[i].listID = ImageList_AddIcon(hAvatarOverlays, hIcon);
- Skin_ReleaseIcon(g_pAvatarOverlayIcons[i].name);
+ IcoLib_Release(g_pAvatarOverlayIcons[i].name);
- hIcon = Skin_GetIcon(g_pStatusOverlayIcons[i].name);
+ hIcon = IcoLib_GetIcon(g_pStatusOverlayIcons[i].name);
g_pStatusOverlayIcons[i].listID = ImageList_AddIcon(hAvatarOverlays, hIcon);
- Skin_ReleaseIcon(g_pStatusOverlayIcons[i].name);
+ IcoLib_Release(g_pStatusOverlayIcons[i].name);
}
- g_hListeningToIcon = Skin_GetIcon("LISTENING_TO_ICON");
+ g_hListeningToIcon = IcoLib_GetIcon("LISTENING_TO_ICON");
pcli->pfnClcBroadcast(INTM_INVALIDATE, 0, 0);
AniAva_UpdateOptions();
@@ -1637,7 +1637,7 @@ static int clcHookModulesLoaded(WPARAM, LPARAM)
TCHAR szMyPath[MAX_PATH];
GetModuleFileName(g_hInst, szMyPath, SIZEOF(szMyPath));
- SKINICONDESC sid = { 0 };
+ SKINICONDESC sid = { 0 };
sid.cx = sid.cy = 16;
sid.defaultFile.t = szMyPath;
sid.flags = SIDF_PATH_TCHAR;
@@ -1646,14 +1646,14 @@ static int clcHookModulesLoaded(WPARAM, LPARAM)
sid.description.a = LPGEN("Listening to");
sid.pszName = "LISTENING_TO_ICON";
sid.iDefaultIndex = -IDI_LISTENING_TO;
- Skin_AddIcon(&sid);
+ IcoLib_AddIcon(&sid);
sid.section.a = LPGEN("Contact list") "/" LPGEN("Avatar overlay");
for (int i = 0; i < SIZEOF(g_pAvatarOverlayIcons); i++) {
sid.description.a = g_pAvatarOverlayIcons[i].description;
sid.pszName = g_pAvatarOverlayIcons[i].name;
sid.iDefaultIndex = -g_pAvatarOverlayIcons[i].id;
- Skin_AddIcon(&sid);
+ IcoLib_AddIcon(&sid);
}
sid.section.a = LPGEN("Contact list") "/" LPGEN("Status overlay");
@@ -1661,7 +1661,7 @@ static int clcHookModulesLoaded(WPARAM, LPARAM)
sid.description.a = g_pStatusOverlayIcons[i].description;
sid.pszName = g_pStatusOverlayIcons[i].name;
sid.iDefaultIndex = -g_pStatusOverlayIcons[i].id;
- Skin_AddIcon(&sid);
+ IcoLib_AddIcon(&sid);
}
clcHookIconsChanged(0, 0);