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 --- include/m_skin.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/m_skin.h') diff --git a/include/m_skin.h b/include/m_skin.h index 2dfa5db917..7537e4a918 100644 --- a/include/m_skin.h +++ b/include/m_skin.h @@ -26,6 +26,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern int hLangpack; +#ifndef M_CORE_H__ +#include +#endif + //loads an icon from the user's custom skin library, or from the exe if there //isn't one of them //wParam = id of icon to load - see below @@ -39,6 +43,13 @@ __forceinline HANDLE LoadSkinnedIconHandle(int id) { return (HANDLE)CallService( __forceinline HICON LoadSkinnedIconBig(int id) { return (HICON) CallService(MS_SKIN_LOADICON, id, 2); } __forceinline LPCSTR LoadSkinnedIconName(int id) { return (LPCSTR)CallService(MS_SKIN_LOADICON, id, 3); } +/////////////////////////////////////////////////////////////////////////////// +// Miranda skin + +MIR_APP_DLL(HICON) LoadSkinProtoIcon(const char *szProto, int status, bool big = false); +MIR_APP_DLL(HICON) LoadSkinIcon(int idx, bool big = false); +MIR_APP_DLL(HANDLE) GetSkinIconHandle(int idx); + // event icons #define SKINICON_EVENT_MESSAGE 100 #define SKINICON_EVENT_URL 101 -- cgit v1.2.3