MCPcopy Create free account
hub / github.com/cmauri/eviacam / ReadProfileData

Method ReadProfileData

src/clickwindowcontroller.cpp:462–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460}
461
462void CClickWindowController::ReadProfileData(wxConfigBase* pConfObj)
463{
464 pConfObj->SetPath (_T("clickWindow"));
465
466 long design, location;
467 bool warnBarOverlap= true;
468
469 pConfObj->Read(_T("fastMode"), &m_fastMode);
470 if (pConfObj->Read(_T("design"), &design))
471 SetDesign ((CClickWindowController::EDesign) design);
472 if (pConfObj->Read(_T("location"), &location))
473 SetLocation (static_cast<ELocation>(location));
474 pConfObj->Read(_T("autohide"), &m_autohide);
475 SetAutohide(m_autohide);
476 pConfObj->Read(_T("warnBarOverlap"), &warnBarOverlap);
477 m_pWindow->SetWarnBarOverlap(warnBarOverlap);
478
479 pConfObj->SetPath (_T(".."));
480}
481
482const bool CClickWindowController::IsShown () const
483{

Callers

nothing calls this directly

Calls 1

SetWarnBarOverlapMethod · 0.45

Tested by

no test coverage detected