summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/icons.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-10-06 01:05:46 +0300
committeraunsane <aunsane@gmail.com>2018-10-06 01:05:46 +0300
commit74d0eac304a0ea26a7c28b26452f373b2dce0fea (patch)
tree4820dbbb96f8552f98e29c7dd403a1b8ff2fadb6 /plugins/NewStory/src/icons.h
parent520a255f25c64b2fb89d2f3559449b2e308c1175 (diff)
NewStory: porting to ng (not complete)
Diffstat (limited to 'plugins/NewStory/src/icons.h')
-rw-r--r--plugins/NewStory/src/icons.h21
1 files changed, 6 insertions, 15 deletions
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