From 3f9882178018afbe9aaaba1f4461f3fc75493260 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 15 Jun 2015 14:23:02 +0000 Subject: MS_SKIN_LOADICON & MS_SKIN_LOADPROTOICON replaced with direct function calls git-svn-id: http://svn.miranda-ng.org/main/trunk@14176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_helpers.inc | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'include/delphi/m_helpers.inc') diff --git a/include/delphi/m_helpers.inc b/include/delphi/m_helpers.inc index 9fbd21c671..86bee1a2d6 100644 --- a/include/delphi/m_helpers.inc +++ b/include/delphi/m_helpers.inc @@ -53,12 +53,6 @@ procedure Srmm_RemoveIcon(sid: PStatusIconData); procedure Srmm_ModifyIcon(hContact:TMCONTACT; sid:PStatusIconData); function Srmm_GetNthIcon(hContact:TMCONTACT; index:int):pStatusIconData; -function LoadSkinnedIcon (id: int): HICON; -function LoadSkinnedIconHandle(id: int): THANDLE; -function LoadSkinnedIconBig (id: int): HICON; -function LoadSkinnedIconName (id: int): PAnsiChar; - -function LoadSkinnedProtoIcon(const szProto: PAnsiChar; status: int): THANDLE; function SkinAddNewSound(const name, description, defaultFile: PAnsiChar): int_ptr; function SkinPlaySound (const name: PAnsiChar): int_ptr; @@ -400,36 +394,6 @@ begin result:=PStatusIconData(CallService(MS_MSG_GETNTHICON, hContact, index)); end; -function LoadSkinnedIcon(id: int): HICON; - {$IFDEF AllowInline}inline;{$ENDIF} -begin - Result := HICON(CallService(MS_SKIN_LOADICON, id, 0)); -end; - -function LoadSkinnedIconHandle(id: int): THANDLE; - {$IFDEF AllowInline}inline;{$ENDIF} -begin - Result := THANDLE(CallService(MS_SKIN_LOADICON, id, 1)); -end; - -function LoadSkinnedIconBig(id: int): HICON; - {$IFDEF AllowInline}inline;{$ENDIF} -begin - Result := HICON(CallService(MS_SKIN_LOADICON, id, 2)); -end; - -function LoadSkinnedIconName(id: int): PAnsiChar; - {$IFDEF AllowInline}inline;{$ENDIF} -begin - Result := PAnsiChar(CallService(MS_SKIN_LOADICON, id, 3)); -end; - -function LoadSkinnedProtoIcon(const szProto: PAnsiChar; status: int): THANDLE; - {$IFDEF AllowInline}inline;{$ENDIF} -begin - Result := CallService(MS_SKIN_LOADPROTOICON, wParam(szProto), status); -end; - function SkinAddNewSound(const name, description, defaultFile: PAnsiChar): int_ptr; var ssd: TSKINSOUNDDESCEX; -- cgit v1.2.3