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/mRadio/rframeapi.pas | |
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/mRadio/rframeapi.pas')
-rw-r--r-- | plugins/mRadio/rframeapi.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mRadio/rframeapi.pas b/plugins/mRadio/rframeapi.pas index b00cab0e52..b875ab7ca9 100644 --- a/plugins/mRadio/rframeapi.pas +++ b/plugins/mRadio/rframeapi.pas @@ -124,7 +124,7 @@ begin IDC_RADIO_OPEN: begin
result:=1;
DrawIconEx(PDRAWITEMSTRUCT(lParam)^.hDC,0,0,
- CallService(MS_SKIN2_GETICON,0,TLPARAM(IcoBtnOpen)),
+ IcoLib_GetIcon(IcoBtnOpen,0),
16,16,0,hbr,DI_NORMAL);
end;
@@ -135,7 +135,7 @@ begin else
tmp:=IcoBtnOn;
DrawIconEx(PDRAWITEMSTRUCT(lParam)^.hDC,0,0,
- CallService(MS_SKIN2_GETICON,0,TLPARAM(tmp)),
+ IcoLib_GetIcon(tmp,0),
16,16,0,hbr,DI_NORMAL);
end;
end;
@@ -232,7 +232,7 @@ begin begin
cbSize :=SizeOf(Frame);
hWnd :=FrameWnd;
- hIcon :=CallService(MS_SKIN2_GETICON,0,lparam(IcoBtnSettings));
+ hIcon :=IcoLib_GetIcon(IcoBtnSettings,0);
align :=alTop;
height :=tr.bottom-tr.top+2;
Flags :=F_VISIBLE or F_NOBORDER or F_UNICODE;
|