| 34 | #include <Uxtheme.h> |
| 35 | |
| 36 | SimpleSettingsTab::SimpleSettingsTab(SettingsDialog &parent, const Settings &settings, NppInterface &npp) |
| 37 | : m_npp(npp), m_settings(settings), m_parent(parent) { |
| 38 | m_h_ux_theme = ::LoadLibrary(TEXT("uxtheme.dll")); |
| 39 | if (m_h_ux_theme != nullptr) |
| 40 | m_open_theme_data = reinterpret_cast<OtdProc>(::GetProcAddress(m_h_ux_theme, "OpenThemeData")); |
| 41 | } |
| 42 | |
| 43 | void SimpleSettingsTab::disable_language_combo(bool disable) { |
| 44 | auto enable = disable ? FALSE : TRUE; |
nothing calls this directly
no outgoing calls
no test coverage detected