summaryrefslogtreecommitdiff
path: root/plugins/WhenWasIt/src/icons.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WhenWasIt/src/icons.h')
-rw-r--r--plugins/WhenWasIt/src/icons.h29
1 files changed, 13 insertions, 16 deletions
diff --git a/plugins/WhenWasIt/src/icons.h b/plugins/WhenWasIt/src/icons.h
index d3f312fe46..d5c3320926 100644
--- a/plugins/WhenWasIt/src/icons.h
+++ b/plugins/WhenWasIt/src/icons.h
@@ -21,28 +21,25 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef M_WWI_ICONS_H
#define M_WWI_ICONS_H
-extern HICON hiMainMenu;
-extern HICON hiCheckMenu;
-extern HICON hiListMenu;
-extern HICON hiAddBirthdayContact;
-extern HICON hiRefreshUserDetails;
+extern HANDLE hCheckMenu;
+extern HANDLE hListMenu;
+extern HANDLE hAddBirthdayContact;
+extern HANDLE hRefreshUserDetails;
-extern HICON hiImportBirthdays;
-extern HICON hiExportBirthdays;
+extern HANDLE hImportBirthdays;
+extern HANDLE hExportBirthdays;
-extern HICON hiDTB[];
-extern HICON hiDTBMore;
-
-extern HANDLE hClistImages[];
+extern HANDLE hDTB[];
+extern HANDLE hDTBMore;
extern HANDLE hWWIExtraIcons;
-int LoadIcons();
int AddIcons();
-int GetIcons();
-HICON GetDTBIcon(int dtb);
-HICON GetDABIcon(int dtb);
-HANDLE GetClistIcon(int dtb);
+HANDLE GetDTBIconHandle(int dtb);
+
+__forceinline HICON GetDTBIcon(int dtb)
+{ return Skin_GetIconByHandle( GetDTBIconHandle(dtb));
+}
#endif //M_WWI_ICONS_H \ No newline at end of file