summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/images.h
diff options
context:
space:
mode:
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);
+}