MCPcopy Create free account
hub / github.com/WinMerge/winmerge / SetItemBooleanValue

Method SetItemBooleanValue

Src/SubeditList.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void CSubeditList::SetItemBooleanValue(int nItem, int nSubItem, bool value)
44{
45 if (IsWin7_OrGreater())
46 SetItemText(nItem, nSubItem, value ? _T("\u2611") : _T("\u2610"));
47 else
48 SetItemText(nItem, nSubItem, value ? _T("true") : _T("false"));
49}
50
51bool CSubeditList::GetItemBooleanValue(int nItem, int nSubItem) const
52{

Callers 3

DoDataExchangeMethod · 0.80
InitListMethod · 0.80
OnBnClickedAddBtnMethod · 0.80

Calls 1

IsWin7_OrGreaterFunction · 0.85

Tested by

no test coverage detected