From 74d0eac304a0ea26a7c28b26452f373b2dce0fea Mon Sep 17 00:00:00 2001 From: aunsane Date: Sat, 6 Oct 2018 01:05:46 +0300 Subject: NewStory: porting to ng (not complete) --- plugins/NewStory/src/icons.h | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'plugins/NewStory/src/icons.h') diff --git a/plugins/NewStory/src/icons.h b/plugins/NewStory/src/icons.h index e041c648e5..635ece3f7a 100644 --- a/plugins/NewStory/src/icons.h +++ b/plugins/NewStory/src/icons.h @@ -1,14 +1,3 @@ -struct MyIconDesriptor -{ - DWORD dwIndex; - - LPSTR szId; - LPSTR szGroup; - LPSTR szTitle; - - HICON hIcon; -}; - enum { ICO_NEWSTORY, // 0 @@ -40,8 +29,10 @@ enum ICO_COUNT // 26 }; -extern MyIconDesriptor icons[]; -extern int iconCount; +//extern IconItem icons[]; +//extern int iconCount; + +HICON GetIcon(int iconId); -void InitIcons(MyIconDesriptor *icons, LPSTR szFilename, int count); -void RefreshIcons(MyIconDesriptor *icons, int count); \ No newline at end of file +void InitIcons(LPSTR szFilename, int count); +void RefreshIcons(IconItem *icons, int count); \ No newline at end of file -- cgit v1.2.3