| 460 | } |
| 461 | |
| 462 | void 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 | |
| 482 | const bool CClickWindowController::IsShown () const |
| 483 | { |
nothing calls this directly
no test coverage detected