summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
commite5cb033463036b182fb6e5e3eed50a14987f5300 (patch)
treec1e0c20c1fb1808f658f4aadf624a57474576eb4 /include
parente2d81fead804c1d7dd557af5d3082ba0399a38c1 (diff)
SKINICONDESC -> MAllStrings
git-svn-id: http://svn.miranda-ng.org/main/trunk@14054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_icolib.inc1
-rw-r--r--include/m_icolib.h29
2 files changed, 8 insertions, 22 deletions
diff --git a/include/delphi/m_icolib.inc b/include/delphi/m_icolib.inc
index cb033101d0..f20a919b17 100644
--- a/include/delphi/m_icolib.inc
+++ b/include/delphi/m_icolib.inc
@@ -7,7 +7,6 @@ type
// 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
diff --git a/include/m_icolib.h b/include/m_icolib.h
index a684e53336..de1c388b53 100644
--- a/include/m_icolib.h
+++ b/include/m_icolib.h
@@ -33,27 +33,14 @@ extern int hLangpack;
// Use LPGEN instead which are just dummy wrappers/markers for "lpgen.pl".
typedef struct {
- size_t cbSize;
- union {
- char *pszSection; // section name used to group icons
- TCHAR *ptszSection; // [TRANSLATED-BY-CORE]
- WCHAR *pwszSection;
- };
- union {
- char *pszDescription; // description for options dialog
- TCHAR *ptszDescription; // [TRANSLATED-BY-CORE]
- WCHAR *pwszDescription;
- };
- char *pszName; // name to refer to icon when playing and in db
- union {
- char *pszDefaultFile; // default icon file to use
- TCHAR *ptszDefaultFile;
- WCHAR *pwszDefaultFile;
- };
- int iDefaultIndex; // index of icon in default file
- HICON hDefaultIcon; // handle to default icon
- int cx,cy; // dimensions of icon (if 0 then standard size icon (big and small options available)
- int flags; // combination of SIDF_*
+ MAllStrings section; // section name used to group icons
+ MAllStrings description; // description for options dialog
+ char *pszName; // name to refer to icon when playing and in db
+ MAllStrings defaultFile; // default icon file to use
+ int iDefaultIndex; // index of icon in default file
+ HICON hDefaultIcon; // handle to default icon
+ int cx,cy; // dimensions of icon (if 0 then standard size icon (big and small options available)
+ int flags; // combination of SIDF_*
} SKINICONDESC;
#define SIDF_SORTED 0x01 // Icons in section are sorted by name