diff options
author | George Hazan <george.hazan@gmail.com> | 2024-03-23 13:29:36 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-03-23 13:29:36 +0300 |
commit | eb52c8c6cd9992133ee232335affba4425f29cf9 (patch) | |
tree | 0c43a53bc2a9b5bccbc9c7e9401d3c5a88b054c3 | |
parent | 7ab8f789430afd1f937a47fb5f76c20b4d67412a (diff) |
code cleaning
-rw-r--r-- | plugins/ExternalAPI/m_NewStory.h | 2 | ||||
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 12 |
2 files changed, 0 insertions, 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);
|