summaryrefslogtreecommitdiff
path: root/delphi/Awkward/include/m_icolib.inc
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-05-15 15:36:29 +0000
committerwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-05-15 15:36:29 +0000
commit9e0ca10baba2700d19bd3a3b81500b73bd4013d0 (patch)
tree50ed9f5aee315b18f713eaa578fd4873e753e659 /delphi/Awkward/include/m_icolib.inc
parent6f8f9d1405f64ca8218a6b83b83e01e3ece3c9ea (diff)
unneeded delphi folder removed
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@107 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'delphi/Awkward/include/m_icolib.inc')
-rw-r--r--delphi/Awkward/include/m_icolib.inc112
1 files changed, 0 insertions, 112 deletions
diff --git a/delphi/Awkward/include/m_icolib.inc b/delphi/Awkward/include/m_icolib.inc
deleted file mode 100644
index 62225cc..0000000
--- a/delphi/Awkward/include/m_icolib.inc
+++ /dev/null
@@ -1,112 +0,0 @@
-{$IFNDEF ICOLIB}
-{$DEFINE ICOLIB}
-
-type
-// WARNING: do not use Translate(TS) for p(t)szSection or p(t)szDescription as they
-// are translated by the core, which may lead to double translation.
-// Use LPGEN instead which are just dummy wrappers/markers for "lpgen.pl".
- PSKINICONDESC = ^TSKINICONDESC;
- TSKINICONDESC = record
- cbSize :int;
- szSection :TChar; // [TRANSLATED-BY-CORE] section name used to group icons
- szDescription :TChar; // [TRANSLATED-BY-CORE] description for options dialog
- pszName :PAnsiChar; // name to refer to icon when playing and in db
- // this name is miranda-wide. so use prefixes of
- // your plugin: "isee_connect", "clist_delete", etc
- pszDefaultFile :TChar; // default icon file to use
- iDefaultIndex :int; // index of icon in default file
- // V2
- hDefaultIcon :HICON; // handle to default icon
- // V3
- cx, cy :int; // dimensions of icon (if 0 then standard size icon (big and small options available)
- // new
- flags :int;
- end;
-
-const
- SKINICONDESC_SIZE = SizeOf(TSKINICONDESC);
- SKINICONDESC_SIZE_V1 = $18;
- SKINICONDESC_SIZE_V2 = $1C;
- SKINICONDESC_SIZE_V3 = $24;
-
-const
- SIDF_SORTED = 1; // Icons in section are sorted by name
- SIDF_UNICODE = $100; // Section and Description are in UCS-2
- SIDF_PATH_UNICODE = $200; // Default File is in UCS-2
- SIDF_ALL_UNICODE = SIDF_PATH_UNICODE or SIDF_UNICODE;
-
-const
-{
- Add a icon into options UI
-
- wParam = 0
- lParam = PSKINICONDESC
- returns a handle to the newly added item
-}
- MS_SKIN2_ADDICON:PAnsiChar = 'Skin2/Icons/AddIcon';
-
-{
- Remove a icon from options UI
-
- wParam = 0
- lParam = pszName
- WARNING: This will invalidate all HICONs retrieved for specified pszName
-}
- MS_SKIN2_REMOVEICON:PAnsiChar = 'Skin2/Icons/RemoveIcon';
-{
- Retrieve HICON with name specified in lParam
- Returned HICON SHOULDN'T be destroyed, it managed by IcoLib
-
- wParam = 0 - small 1 - big
- lParam = pszName
-}
- MS_SKIN2_GETICON :PAnsiChar = 'Skin2/Icons/GetIcon';
-
-{
- Retrieve an icolib handle for icon by name specified in lParam
-
- wParam = 0
- lParam = (LPARAM)(char*)pszName
-}
- MS_SKIN2_GETICONHANDLE:PAnsiChar = 'Skin2/Icons/GetIconHandle';
-
-{
- Retrieve HICON with HANDLE specified in lParam
- Returned HICON SHOULDN'T be destroyed, it is managed by IcoLib
-
- wParam = (WPARAM)0 - small 1 - big
- lParam = (HANDLE)hIcoLibIcon
-}
- MS_SKIN2_GETICONBYHANDLE:PAnsiChar = 'Skin2/Icons/GetIconByHandle';
-
-{
- Add reference to HICON
-
- wParam = (WPARAM)HICON
- lParam = 0 - small 1 - big
-}
- MS_SKIN2_ADDREFICON:PAnsiChar = 'Skin2/Icons/AddRef';
-
-{
- Retrieved HICON is not needed anymore (this helps optimize GDI usage)
-
- wParam = HICON (optional)
- lParam = pszName (optional) // at least one needs to be specified
-}
- MS_SKIN2_RELEASEICON :PAnsiChar = 'Skin2/Icons/ReleaseIcon';
- MS_SKIN2_RELEASEICONBIG:PAnsiChar = 'Skin2/Icons/ReleaseIconBig';
-
-{
- Check whether HICON is managed by IcoLib
-
- wParam = (WPARAM)HICON
- lParam = 0
-}
- MS_SKIN2_ISMANAGEDICON:PAnsiChar = 'Skin2/Icons/IsManaged';
-
-{
- Icons change notification
-}
- ME_SKIN2_ICONSCHANGED:PAnsiChar = 'Skin2/IconsChanged';
-
-{$ENDIF}