From eb52c8c6cd9992133ee232335affba4425f29cf9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 23 Mar 2024 13:29:36 +0300 Subject: code cleaning --- plugins/ExternalAPI/m_NewStory.h | 2 -- plugins/NewStory/src/history_control.cpp | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/plugins/ExternalAPI/m_NewStory.h b/plugins/ExternalAPI/m_NewStory.h index c2690e313b..00bf7b6e44 100644 --- a/plugins/ExternalAPI/m_NewStory.h +++ b/plugins/ExternalAPI/m_NewStory.h @@ -23,8 +23,6 @@ enum // NSM_SET_OPTIONS, // options were changed - NSM_IMAGE_LOADED, - NSM_LAST }; diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 1a0296f22b..3c1ffd9e4c 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -1170,18 +1170,6 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM InvalidateRect(hwnd, 0, FALSE); break; - case NSM_IMAGE_LOADED: - /* { - int eventCount = data->totalCount; - for (int i = 0; i < eventCount; i++) { - auto *p = data->GetItem(i); - if (p->m_doc) - p->m_doc->render(data->cachedWindowWidth); - } - } - InvalidateRect(hwnd, 0, FALSE);*/ - break; - case UM_ADDEVENT: if (data->pMsgDlg == nullptr) data->AddEvent(wParam, lParam, 1); -- cgit v1.2.3