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 --- plugins/Alarms/src/icons.cpp | 10 +++++----- plugins/Alarms/src/options.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/Alarms') diff --git a/plugins/Alarms/src/icons.cpp b/plugins/Alarms/src/icons.cpp index df812194ad..8d2bdd51c3 100644 --- a/plugins/Alarms/src/icons.cpp +++ b/plugins/Alarms/src/icons.cpp @@ -14,11 +14,11 @@ static IconItem iconList[] = int ReloadIcons(WPARAM, LPARAM) { - hIconMenuSet = Skin_GetIcon("alarms_menu_set"); - hIconList1 = Skin_GetIcon("alarms_list1"); - hIconList2 = Skin_GetIcon("alarms_list2"); + hIconMenuSet = IcoLib_GetIcon("alarms_menu_set"); + hIconList1 = IcoLib_GetIcon("alarms_list1"); + hIconList2 = IcoLib_GetIcon("alarms_list2"); if ( !ServiceExists(MS_CLIST_FRAMES_ADDFRAME)) - hIconMenuShowHide = Skin_GetIcon("alarms_menu_showhide"); + hIconMenuShowHide = IcoLib_GetIcon("alarms_menu_showhide"); RefreshReminderFrame(); return 0; @@ -29,7 +29,7 @@ void InitIcons() Icon_Register(hInst, "Alarms", iconList, SIZEOF(iconList)); if ( !ServiceExists(MS_CLIST_FRAMES_ADDFRAME)) - hIconMenuShowHide = Skin_GetIcon("alarms_menu_showhide"); + hIconMenuShowHide = IcoLib_GetIcon("alarms_menu_showhide"); ReloadIcons(0, 0); HookEvent(ME_SKIN2_ICONSCHANGED, ReloadIcons); diff --git a/plugins/Alarms/src/options.cpp b/plugins/Alarms/src/options.cpp index ec040a3833..853c54b285 100644 --- a/plugins/Alarms/src/options.cpp +++ b/plugins/Alarms/src/options.cpp @@ -694,7 +694,7 @@ void AddMenuItem() CLISTMENUITEM mi = { sizeof(mi) }; mi.flags = CMIM_ALL; - mi.icolibItem = Skin_GetIconHandle("alarms_menu_set"); + mi.icolibItem = IcoLib_GetIconHandle("alarms_menu_set"); mi.pszName = "Set alarm"; mi.pszService = MODULE "/NewAlarm"; mi.position = 500010000; -- cgit v1.2.3