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/MyDetails/src | |
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/MyDetails/src')
-rw-r--r-- | plugins/MyDetails/src/frame.cpp | 14 | ||||
-rw-r--r-- | plugins/MyDetails/src/mydetails.cpp | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/plugins/MyDetails/src/frame.cpp b/plugins/MyDetails/src/frame.cpp index 29284ae3f9..04db33bed2 100644 --- a/plugins/MyDetails/src/frame.cpp +++ b/plugins/MyDetails/src/frame.cpp @@ -1181,11 +1181,11 @@ void Draw(HWND hwnd, HDC hdc_orig) HRGN rgn = CreateRectRgnIndirect(&rc);
SelectClipRgn(hdc, rgn);
- HICON icon = Skin_GetIcon("MYDETAILS_NEXT_PROTOCOL");
+ HICON icon = IcoLib_GetIcon("MYDETAILS_NEXT_PROTOCOL");
if (icon == NULL)
icon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_RIGHT_ARROW));
DrawIconEx(hdc, data->next_proto_rect.left, data->next_proto_rect.top, icon, ICON_SIZE, ICON_SIZE, 0, NULL, DI_NORMAL);
- Skin_ReleaseIcon(icon);
+ IcoLib_ReleaseIcon(icon);
SelectClipRgn(hdc, NULL);
DeleteObject(rgn);
@@ -1194,11 +1194,11 @@ void Draw(HWND hwnd, HDC hdc_orig) rgn = CreateRectRgnIndirect(&rc);
SelectClipRgn(hdc, rgn);
- icon = Skin_GetIcon("MYDETAILS_PREV_PROTOCOL");
+ icon = IcoLib_GetIcon("MYDETAILS_PREV_PROTOCOL");
if (icon == NULL)
icon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_RIGHT_ARROW));
DrawIconEx(hdc, data->prev_proto_rect.left, data->prev_proto_rect.top, icon, ICON_SIZE, ICON_SIZE, 0, NULL, DI_NORMAL);
- Skin_ReleaseIcon(icon);
+ IcoLib_ReleaseIcon(icon);
SelectClipRgn(hdc, NULL);
DeleteObject(rgn);
@@ -1250,7 +1250,7 @@ void Draw(HWND hwnd, HDC hdc_orig) if (status_icon != NULL) {
DrawIconEx(hdc, data->status_icon_rect.left, data->status_icon_rect.top, status_icon, ICON_SIZE, ICON_SIZE, 0, NULL, DI_NORMAL);
- Skin_ReleaseIcon(status_icon);
+ IcoLib_ReleaseIcon(status_icon);
}
SelectClipRgn(hdc, NULL);
@@ -1318,11 +1318,11 @@ void Draw(HWND hwnd, HDC hdc_orig) HRGN rgn = CreateRectRgnIndirect(&rc);
SelectClipRgn(hdc, rgn);
- HICON icon = Skin_GetIcon("LISTENING_TO_ICON");
+ HICON icon = IcoLib_GetIcon("LISTENING_TO_ICON");
if (icon == NULL)
icon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_LISTENINGTO));
DrawIconEx(hdc, data->listening_to_icon_rect.left, data->listening_to_icon_rect.top, icon, ICON_SIZE, ICON_SIZE, 0, NULL, DI_NORMAL);
- Skin_ReleaseIcon(icon);
+ IcoLib_ReleaseIcon(icon);
SelectClipRgn(hdc, NULL);
DeleteObject(rgn);
diff --git a/plugins/MyDetails/src/mydetails.cpp b/plugins/MyDetails/src/mydetails.cpp index 1bfb2b5c85..b731e71603 100644 --- a/plugins/MyDetails/src/mydetails.cpp +++ b/plugins/MyDetails/src/mydetails.cpp @@ -147,7 +147,7 @@ extern "C" __declspec(dllexport) int Load() // Options
InitOptions();
- if (Skin_GetIcon("LISTENING_TO_ICON") == NULL)
+ if (IcoLib_GetIcon("LISTENING_TO_ICON") == NULL)
Icon_Register(hInst, LPGEN("Contact list"), iconList, 1);
Icon_Register(hInst, LPGEN("My details"), iconList + 1, SIZEOF(iconList) - 1);
|