From 02ed4455c23e3562d71bfc80a0e2c4fede8708f1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 14 Jun 2015 13:17:26 +0000 Subject: - 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 --- protocols/Tox/src/tox_icons.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Tox/src/tox_icons.cpp') diff --git a/protocols/Tox/src/tox_icons.cpp b/protocols/Tox/src/tox_icons.cpp index 10a228c626..7a56fce4c8 100644 --- a/protocols/Tox/src/tox_icons.cpp +++ b/protocols/Tox/src/tox_icons.cpp @@ -30,7 +30,7 @@ void CToxProto::InitIcons() sid.description.t = Icons[i].Description; sid.iDefaultIndex = -Icons[i].IconId; - Icons[i].Handle = Skin_AddIcon(&sid); + Icons[i].Handle = IcoLib_AddIcon(&sid); } } @@ -38,7 +38,7 @@ HICON CToxProto::GetIcon(const char *name, int size) { for (size_t i = 0; i < SIZEOF(Icons); i++) if (mir_strcmpi(Icons[i].Name, name) == 0) - return Skin_GetIconByHandle(Icons[i].Handle, size); + return IcoLib_GetIconByHandle(Icons[i].Handle, size); return NULL; } @@ -56,7 +56,7 @@ HANDLE CToxProto::GetSkinIconHandle(const char *name) { char iconName[100]; mir_snprintf(iconName, SIZEOF(iconName), "%s_%s", MODULE, name); - HANDLE hIcon = Skin_GetIconHandle(iconName); + HANDLE hIcon = IcoLib_GetIconHandle(iconName); if (hIcon == NULL) hIcon = GetIconHandle(name); @@ -66,5 +66,5 @@ HANDLE CToxProto::GetSkinIconHandle(const char *name) void CToxProto::UninitIcons() { for (size_t i = 0; i < SIZEOF(Icons); i++) - Skin_RemoveIcon(Icons[i].Name); + IcoLib_RemoveIcon(Icons[i].Name); } \ No newline at end of file -- cgit v1.2.3