diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-17 12:37:21 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-17 12:37:21 +0000 |
commit | 3c0233134bc5a8e42e3a621f0a5eef2aaf487474 (patch) | |
tree | 30e49d3065aa387392028a54ef3c1ee7294b9e1e /yamn/include/IcoLib.h | |
parent | 9139772a56e38f15e08f1a4a3215cfd402f85dde (diff) |
adding from berlios: dbx_tree, lastseen-mod, nudge, yamn
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@173 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'yamn/include/IcoLib.h')
-rw-r--r-- | yamn/include/IcoLib.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/yamn/include/IcoLib.h b/yamn/include/IcoLib.h new file mode 100644 index 0000000..a911ba5 --- /dev/null +++ b/yamn/include/IcoLib.h @@ -0,0 +1,26 @@ +typedef struct {
+ int cbSize;
+ char *pszSection; //section name used to group icons
+ char *pszDescription; //description for options dialog
+ char *pszName; //name to refer to icon when playing and in db
+ char *pszDefaultFile; //default icon file to use
+ int iDefaultIndex;
+} SKINICONDESC;
+
+//
+// Add a icon into options UI
+// NB! pszName should be unique, e.g.: clistmw_apply, tabsrmm_history
+//
+// wParam = (WPARAM)0
+// lParam = (LPARAM)(SKINICONDESC*)sid;
+//
+#define MS_SKIN2_ADDICON "Skin2/Icons/AddIcon"
+//
+// Retrieve HICON with name specified in lParam
+// Returned HICON SHOULDN'T be destroyed, it managed by IcoLib
+//
+#define MS_SKIN2_GETICON "Skin2/Icons/GetIcon"
+//
+// Icons change notification
+//
+#define ME_SKIN2_ICONSCHANGED "Skin2/IconsChanged"
|