From 007b4c7301f0d26a72f89f74e9929f42e24eb3e6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 5 Apr 2013 22:27:16 +0000 Subject: - rest of menus cleared; - old database macroses wiped out from all plugins (left in m_database.h for compatibility) git-svn-id: http://svn.miranda-ng.org/main/trunk@4324 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_mw/src/cluiservices.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Clist_mw/src/cluiservices.cpp') diff --git a/plugins/Clist_mw/src/cluiservices.cpp b/plugins/Clist_mw/src/cluiservices.cpp index d57ae77741..095576878c 100644 --- a/plugins/Clist_mw/src/cluiservices.cpp +++ b/plugins/Clist_mw/src/cluiservices.cpp @@ -53,7 +53,7 @@ void CluiProtocolStatusChanged(int parStatus, const char* szProto) if ( pcli->hwndStatus == 0 ) return; - FirstIconOffset = DBGetContactSettingDword(NULL,"CLUI","FirstIconOffset",0); + FirstIconOffset = db_get_dw(NULL,"CLUI","FirstIconOffset",0); ProtoEnumAccounts( &protoCount, &accs ); if ( protoCount == 0 ) @@ -65,7 +65,7 @@ void CluiProtocolStatusChanged(int parStatus, const char* szProto) SendMessage(pcli->hwndStatus,SB_GETBORDERS,0,(LPARAM)&borders); - SendMessage(pcli->hwndStatus,SB_SETBKCOLOR,0,DBGetContactSettingDword(0,"CLUI","SBarBKColor",CLR_DEFAULT)); + SendMessage(pcli->hwndStatus,SB_SETBKCOLOR,0,db_get_dw(0,"CLUI","SBarBKColor",CLR_DEFAULT)); partWidths = (int*)alloca((protoCount+1)*sizeof(int)); //partWidths[0] = FirstIconOffset; if ( db_get_b(NULL,"CLUI","UseOwnerDrawStatusBar",0)||db_get_b(NULL,"CLUI","EqualSections",1)) @@ -105,8 +105,8 @@ void CluiProtocolStatusChanged(int parStatus, const char* szProto) HDC hdc; SIZE textSize; BYTE showOpts = db_get_b(NULL,"CLUI","SBarShow",5); - DWORD extraspace = DBGetContactSettingDword(NULL,"StatusBar","BkExtraSpace",0); - DWORD startoffset = DBGetContactSettingDword(NULL,"StatusBar","FirstIconOffset",0); + DWORD extraspace = db_get_dw(NULL,"StatusBar","BkExtraSpace",0); + DWORD startoffset = db_get_dw(NULL,"StatusBar","FirstIconOffset",0); int x; hdc = GetDC(pcli->hwndStatus); -- cgit v1.2.3