summaryrefslogtreecommitdiff
path: root/include/m_skin.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-27 11:59:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-27 11:59:50 +0000
commit6a52ba7c0566911d27468e748910bd87f0035c6a (patch)
treefcc714ea23136e219ad6a7975a450caaf511492c /include/m_skin.h
parent18f6faf592c21341463e835599b61fa811d3e1a0 (diff)
all perversions will "core_main_*" icon names removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@3302 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_skin.h')
-rw-r--r--include/m_skin.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/m_skin.h b/include/m_skin.h
index 4363478fab..0da463463d 100644
--- a/include/m_skin.h
+++ b/include/m_skin.h
@@ -33,9 +33,10 @@ extern int hLangpack;
//returns NULL if id is invalid, but will always succeed for a valid id
#define MS_SKIN_LOADICON "Skin/Icons/Load"
//nice function to wrap this:
-__forceinline HICON LoadSkinnedIcon(int id) {return (HICON)CallService(MS_SKIN_LOADICON, id, 0);}
-__forceinline HANDLE LoadSkinnedIconHandle(int id) {return (HANDLE)CallService(MS_SKIN_LOADICON, id, 1);}
-__forceinline HICON LoadSkinnedIconBig(int id) {return (HICON)CallService(MS_SKIN_LOADICON, id, 2);}
+__forceinline HICON LoadSkinnedIcon(int id) { return (HICON) CallService(MS_SKIN_LOADICON, id, 0); }
+__forceinline HANDLE LoadSkinnedIconHandle(int id) { return (HANDLE)CallService(MS_SKIN_LOADICON, id, 1); }
+__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); }
//event icons
#define SKINICON_EVENT_MESSAGE 100