diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-14 13:17:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-14 13:17:26 +0000 |
commit | 02ed4455c23e3562d71bfc80a0e2c4fede8708f1 (patch) | |
tree | 115a3d24e4a3877cd28bd4ff2d9d4011b790cc5f /plugins/CSList/src | |
parent | c72584d6b934b37dbd18d5f15ffb24a140e1e3f2 (diff) |
- all icolib services removed;
- IcoLib_* functions are bound directly to the code
git-svn-id: http://svn.miranda-ng.org/main/trunk@14161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CSList/src')
-rw-r--r-- | plugins/CSList/src/cslist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp index 9b9c5f7ecd..f445d8de7e 100644 --- a/plugins/CSList/src/cslist.cpp +++ b/plugins/CSList/src/cslist.cpp @@ -127,7 +127,7 @@ extern "C" __declspec(dllexport) int Load() TCHAR tszFile[MAX_PATH]; GetModuleFileName(g_hInst, tszFile, MAX_PATH); - SKINICONDESC sid = { 0 };
+ SKINICONDESC sid = { 0 }; sid.defaultFile.t = tszFile; sid.flags = SIDF_ALL_TCHAR; sid.cx = sid.cy = 16; @@ -140,7 +140,7 @@ extern "C" __declspec(dllexport) int Load() sid.pszName = szSettingName; sid.description.t = forms[i].ptszDescr; sid.iDefaultIndex = -forms[i].iconNoIcoLib; - forms[i].hIcoLibItem = Skin_AddIcon(&sid); + forms[i].hIcoLibItem = IcoLib_AddIcon(&sid); } HookEvent(ME_OPT_INITIALISE, OnInitOptions); @@ -365,7 +365,7 @@ void CSWindow::initButtons() if (forms[i].idc < 0) continue; - SendDlgItemMessage(m_handle, forms[i].idc, BM_SETIMAGE, IMAGE_ICON, (LPARAM)Skin_GetIconByHandle(forms[i].hIcoLibItem)); + SendDlgItemMessage(m_handle, forms[i].idc, BM_SETIMAGE, IMAGE_ICON, (LPARAM)IcoLib_GetIconByHandle(forms[i].hIcoLibItem)); SendDlgItemMessage(m_handle, forms[i].idc, BUTTONSETASFLATBTN, TRUE, 0); //maybe set as BUTTONSETDEFAULT? SendDlgItemMessage(m_handle, forms[i].idc, BUTTONADDTOOLTIP, (WPARAM)TranslateTS(forms[i].ptszTitle), BATF_TCHAR); } |