diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-02 18:00:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-02 18:00:02 +0300 |
commit | 8bd43ae4f790fcefecbcf1950ef4f36d1c4a6d20 (patch) | |
tree | 74fbfb11012ca3044806c48877c7677979baf884 /plugins/UserInfoEx/src/ex_import | |
parent | 2daa10fc6e063ab3e4824dc22820bbe7d3ce733f (diff) |
UInfoEx: advanced options dialog -> UI classes
Diffstat (limited to 'plugins/UserInfoEx/src/ex_import')
-rw-r--r-- | plugins/UserInfoEx/src/ex_import/dlg_ExImModules.cpp | 2 | ||||
-rw-r--r-- | plugins/UserInfoEx/src/ex_import/dlg_ExImProgress.cpp | 2 | ||||
-rw-r--r-- | plugins/UserInfoEx/src/ex_import/svc_ExImXML.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/ex_import/dlg_ExImModules.cpp b/plugins/UserInfoEx/src/ex_import/dlg_ExImModules.cpp index 773edbab63..8fba18e0b7 100644 --- a/plugins/UserInfoEx/src/ex_import/dlg_ExImModules.cpp +++ b/plugins/UserInfoEx/src/ex_import/dlg_ExImModules.cpp @@ -165,7 +165,7 @@ INT_PTR CALLBACK SelectModulesToExport_DlgProc(HWND hDlg, UINT uMsg, WPARAM wPar { IDI_EXPORT, BM_SETIMAGE, IDOK },
{ IDI_BTN_CLOSE, BM_SETIMAGE, IDCANCEL }
};
- const int numIconsToSet = g_plugin.getByte(SET_ICONS_BUTTONS, 1) ? _countof(idIcon) : 2;
+ const int numIconsToSet = g_plugin.bButtonIcons ? _countof(idIcon) : 2;
IcoLib_SetCtrlIcons(hDlg, idIcon, numIconsToSet);
// create imagelist for treeview
diff --git a/plugins/UserInfoEx/src/ex_import/dlg_ExImProgress.cpp b/plugins/UserInfoEx/src/ex_import/dlg_ExImProgress.cpp index f16f5048e5..5a49125c94 100644 --- a/plugins/UserInfoEx/src/ex_import/dlg_ExImProgress.cpp +++ b/plugins/UserInfoEx/src/ex_import/dlg_ExImProgress.cpp @@ -42,7 +42,7 @@ INT_PTR CALLBACK DlgProcProgress(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lPar {
switch (msg) {
case WM_INITDIALOG:
- IcoLib_SetCtrlIcons(hDlg, idIcon, g_plugin.getByte(SET_ICONS_BUTTONS, 1) ? _countof(idIcon) : 2);
+ IcoLib_SetCtrlIcons(hDlg, idIcon, g_plugin.bButtonIcons ? _countof(idIcon) : 2);
TranslateDialogDefault(hDlg);
SendDlgItemMessage(hDlg, IDCANCEL, BUTTONTRANSLATE, NULL, NULL);
diff --git a/plugins/UserInfoEx/src/ex_import/svc_ExImXML.cpp b/plugins/UserInfoEx/src/ex_import/svc_ExImXML.cpp index f4ea0a1e10..366ab181db 100644 --- a/plugins/UserInfoEx/src/ex_import/svc_ExImXML.cpp +++ b/plugins/UserInfoEx/src/ex_import/svc_ExImXML.cpp @@ -35,7 +35,7 @@ INT_PTR CALLBACK DlgProc_DataHistory(HWND hDlg, UINT msg, WPARAM wParam, LPARAM { IDI_EXPORT, BM_SETIMAGE, IDOK },
{ IDI_BTN_CLOSE, BM_SETIMAGE, IDCANCEL }
};
- const int numIconsToSet = g_plugin.getByte(SET_ICONS_BUTTONS, 1) ? _countof(idIcon) : 2;
+ const int numIconsToSet = g_plugin.bButtonIcons ? _countof(idIcon) : 2;
IcoLib_SetCtrlIcons(hDlg, idIcon, numIconsToSet);
SendDlgItemMessage(hDlg, IDOK, BUTTONTRANSLATE, NULL, NULL);
|