diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-14 13:17:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-14 13:17:26 +0000 |
commit | 02ed4455c23e3562d71bfc80a0e2c4fede8708f1 (patch) | |
tree | 115a3d24e4a3877cd28bd4ff2d9d4011b790cc5f /protocols/JabberG/src/jabber_icolib.cpp | |
parent | c72584d6b934b37dbd18d5f15ffb24a140e1e3f2 (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 'protocols/JabberG/src/jabber_icolib.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_icolib.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/JabberG/src/jabber_icolib.cpp b/protocols/JabberG/src/jabber_icolib.cpp index 6ce5f2385c..22e03e489f 100644 --- a/protocols/JabberG/src/jabber_icolib.cpp +++ b/protocols/JabberG/src/jabber_icolib.cpp @@ -94,7 +94,7 @@ CIconPool::CPoolItem::CPoolItem(): CIconPool::CPoolItem::~CPoolItem()
{
if (m_hIcolibItem && m_szIcolibName) {
- CallService(MS_SKIN2_REMOVEICON, 0, (LPARAM)m_szIcolibName);
+ IcoLib_RemoveIcon(m_szIcolibName);
mir_free(m_szIcolibName);
}
@@ -126,7 +126,7 @@ void CIconPool::RegisterIcon(const char *name, TCHAR *filename, int iconid, TCHA sid.description.t = szDescription;
sid.flags = SIDF_ALL_TCHAR;
sid.iDefaultIndex = iconid;
- item->m_hIcolibItem = Skin_AddIcon(&sid);
+ item->m_hIcolibItem = IcoLib_AddIcon(&sid);
m_items.insert(item);
}
@@ -150,7 +150,7 @@ char *CIconPool::GetIcolibName(const char *name) HICON CIconPool::GetIcon(const char *name, bool big)
{
if (CPoolItem *item = FindItemByName(name))
- return Skin_GetIconByHandle(item->m_hIcolibItem, big);
+ return IcoLib_GetIconByHandle(item->m_hIcolibItem, big);
return NULL;
}
@@ -186,7 +186,7 @@ HICON CJabberProto::LoadIconEx(const char* name, bool big) return result;
if (!mir_strcmp(name, "main"))
- return Skin_GetIconByHandle(m_hProtoIcon, big);
+ return IcoLib_GetIconByHandle(m_hProtoIcon, big);
return NULL;
}
@@ -292,9 +292,9 @@ static HICON LoadTransportIcon(char *filename,int i,char *IconName,TCHAR *SectNa sid.defaultFile.a = szMyPath;
sid.iDefaultIndex = i;
sid.flags = SIDF_TCHAR;
- Skin_AddIcon(&sid);
+ IcoLib_AddIcon(&sid);
}
- return Skin_GetIcon(IconName);
+ return IcoLib_GetIcon(IconName);
}
static HICON LoadSmallIcon(HINSTANCE hInstance, LPCTSTR lpIconName)
@@ -558,13 +558,13 @@ HICON g_LoadIconEx(const char* name, bool big) {
char szSettingName[100];
mir_snprintf(szSettingName, SIZEOF(szSettingName), "%s_%s", GLOBAL_SETTING_PREFIX, name);
- return Skin_GetIcon(szSettingName, big);
+ return IcoLib_GetIcon(szSettingName, big);
}
void g_ReleaseIcon(HICON hIcon)
{
if (hIcon)
- Skin_ReleaseIcon(hIcon);
+ IcoLib_ReleaseIcon(hIcon);
}
void ImageList_AddIcon_Icolib(HIMAGELIST hIml, HICON hIcon)
|