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 /plugins/Alarms | |
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 'plugins/Alarms')
-rw-r--r-- | plugins/Alarms/src/icons.cpp | 10 | ||||
-rw-r--r-- | plugins/Alarms/src/options.cpp | 2 |
2 files changed, 6 insertions, 6 deletions
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;
|