summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/images.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-03 09:58:59 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-03 09:58:59 +0000
commit645809725d48605f0fa0d3a5f909667324be326a (patch)
treef89fa1f13406a3f2b539fba6bed18904d2886714 /plugins/Toaster/src/images.h
parent9c39d74383197c1848a47b81831b08326c8f0884 (diff)
Toaster: classes support part 2 (icons)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15163 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/images.h')
-rw-r--r--plugins/Toaster/src/images.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Toaster/src/images.h b/plugins/Toaster/src/images.h
new file mode 100644
index 0000000000..ff8c2e3d1f
--- /dev/null
+++ b/plugins/Toaster/src/images.h
@@ -0,0 +1,5 @@
+wchar_t* SaveBitmap(HBITMAP bmp, const char *szId);
+wchar_t* SaveHIcon(HICON hIcon, const char *szId);
+__forceinline wchar_t* ProtoIcon(const char *szProto)
+{ return SaveHIcon(Skin_LoadProtoIcon(szProto, ID_STATUS_ONLINE, 1), szProto);
+}