diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-16 21:10:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-16 21:10:14 +0300 |
commit | 61b9b52fcc31ff4c0a533100c15f8d4fa7b2b93a (patch) | |
tree | bf06978de54d091be2b71ce5140ea69028dc8f3e /plugins/WebView/src/webview.cpp | |
parent | 12225716d38830a23477b97a6979b6414faeec7b (diff) |
class renaming, part II
Diffstat (limited to 'plugins/WebView/src/webview.cpp')
-rw-r--r-- | plugins/WebView/src/webview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/WebView/src/webview.cpp b/plugins/WebView/src/webview.cpp index f15977bb1d..bd83ccab8b 100644 --- a/plugins/WebView/src/webview.cpp +++ b/plugins/WebView/src/webview.cpp @@ -94,7 +94,7 @@ void FillFontListThread(void *param) /*****************************************************************************/
void TxtclrLoop()
{
- for (auto &hContact : contact_iter(MODULENAME)) {
+ for (auto &hContact : Contacts(MODULENAME)) {
HWND hwndDlg = WindowList_Find(hWindowList, hContact);
SetDlgItemText(hwndDlg, IDC_DATA, L"");
InvalidateRect(hwndDlg, nullptr, 1);
@@ -104,7 +104,7 @@ void TxtclrLoop() /*****************************************************************************/
void BGclrLoop()
{
- for (auto &hContact : contact_iter(MODULENAME)) {
+ for (auto &hContact : Contacts(MODULENAME)) {
HWND hwndDlg = (WindowList_Find(hWindowList, hContact));
SetDlgItemText(hwndDlg, IDC_DATA, L"");
SendDlgItemMessage(hwndDlg, IDC_DATA, EM_SETBKGNDCOLOR, 0, BackgoundClr);
@@ -118,7 +118,7 @@ void StartUpdate(void*) StartUpDelay = 1;
Sleep(((db_get_dw(NULL, MODULENAME, START_DELAY_KEY, 0)) * SECOND));
- for (auto &hContact : contact_iter(MODULENAME))
+ for (auto &hContact : Contacts(MODULENAME))
GetData((void*)hContact);
StartUpDelay = 0;
@@ -128,7 +128,7 @@ void StartUpdate(void*) void ContactLoop(void*)
{
if (StartUpDelay == 0) {
- for (auto &hContact : contact_iter(MODULENAME)) {
+ for (auto &hContact : Contacts(MODULENAME)) {
GetData((void*)hContact);
Sleep(10); // avoid 100% CPU
}
|