MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / SimpleSettingsTab

Method SimpleSettingsTab

src/ui/SettingsDialog.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34#include <Uxtheme.h>
35
36SimpleSettingsTab::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
43void SimpleSettingsTab::disable_language_combo(bool disable) {
44 auto enable = disable ? FALSE : TRUE;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected