diff options
Diffstat (limited to 'protocols/Weather/src/weather_icons.cpp')
-rw-r--r-- | protocols/Weather/src/weather_icons.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/protocols/Weather/src/weather_icons.cpp b/protocols/Weather/src/weather_icons.cpp index 3e043d9280..5e993cd443 100644 --- a/protocols/Weather/src/weather_icons.cpp +++ b/protocols/Weather/src/weather_icons.cpp @@ -20,8 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h" -HANDLE hIcoLibIconsChanged = nullptr; - static IconItem iconList[] = { { LPGEN("Protocol icon"), "main", IDI_ICON }, @@ -41,24 +39,3 @@ void InitIcons(void) { g_plugin.registerIcon(MODULENAME, iconList, MODULENAME); } - -HICON LoadIconEx(const char* name, bool big) -{ - char szSettingName[100]; - mir_snprintf(szSettingName, "%s_%s", MODULENAME, name); - return IcoLib_GetIcon(szSettingName, big); -} - -HANDLE GetIconHandle(const char* name) -{ - for (auto &it : iconList) - if (mir_strcmp(it.szName, name) == 0) - return it.hIcolib; - - return nullptr; -} - -void ReleaseIconEx(HICON hIcon) -{ - IcoLib_ReleaseIcon(hIcon); -} |