diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-17 09:52:42 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-17 09:52:42 +0000 |
commit | b84ed6e7c85a8a59379aedae5501074fcfc9b161 (patch) | |
tree | 040fcfe3885d053d849b5dc2915d667682589f82 /plugins/Dropbox/src/dropbox_icons.cpp | |
parent | b9e3d0d154f994e77091e250a412415a2c454140 (diff) |
dropbox: small improvments
git-svn-id: http://svn.miranda-ng.org/main/trunk@12880 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_icons.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox_icons.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/Dropbox/src/dropbox_icons.cpp b/plugins/Dropbox/src/dropbox_icons.cpp index 5684fc9ed4..d3bded41f7 100644 --- a/plugins/Dropbox/src/dropbox_icons.cpp +++ b/plugins/Dropbox/src/dropbox_icons.cpp @@ -30,4 +30,11 @@ void CDropbox::InitializeIcons() sid.ptszDescription = LPGENT("Protocol icon");
sid.iDefaultIndex = -IDI_DROPBOX;
/*HANDLE hIcon = */Skin_AddIcon(&sid);
-}
\ No newline at end of file +}
+
+HICON CDropbox::LoadIconEx(const char *name, bool big)
+{
+ char szSettingName[100];
+ mir_snprintf(szSettingName, SIZEOF(szSettingName), "%s_%s", MODULE, name);
+ return Skin_GetIcon(szSettingName, big);
+}
|